#⌨coders-cave

1 messages · Page 21 of 1

wet girder
#

The company I work for is considering starting a huge operation to remove Moq from all projects we have and replacing it with some alternative

#

Lots of unnecessary work because some idiot didn't think his development decisions through

#

text version of it

quartz pumice
#

damn

#

moq fucked up bad

#

its also now illegal in europe because of that

next lotus
#

LMFAO the author is on some shit

#

damn, library authors can be evil too now huh...ill start implementing my shit from scratch

quartz pumice
orchid frigate
vapid prairie
#

Uhh you good bro

wooden current
#

Not the chat to be writing this in 💀

quartz pumice
#

lol

#

bro sent his thesis

old mural
#

whats moq use fors

rose pawn
#

What is moq

next lotus
#

its for

#

downloading libraries, on runtime and using said libraries on runtime

#

imagine npm that works on runtime

quartz pumice
wet girder
barren shale
#

no

#

moq is for mocking

#

used for unit testing as jupe said

wet girder
#

We're replacing Moq with something else at work. Literally tens of thousands of code need to be changed

barren shale
#

nsubstitute i would assume

#

its better anyway

#

i would not repalce Moq tbh xzibit

#

its too hard for them to do the samething again that people have caught them one time xzibit

wet girder
#

One of my coworkers is doing a study on which is the best replacement for it but I did recommend nsubsitute

wet girder
#

It was CEOs orders

barren shale
#

why would your clients worry

#

it just scans the git file when you build

#

only the devs should worry xzibit

wet girder
#

Our clients are mostly software development companies so they don't really like us having it because if the creator did thiswhat else would they hide in it

barren shale
#

ig true

#

and even if they are not

#

if someone read about it in a blog or something and they didnt know anything about programming

#

they would worry

wet girder
#

Yeah exactly

#

It's just not worth it for us if we can find a good replacement

#

We're currently using 4.18 and so we're not rushing the change

#

It was allowed for us to take our time as long as Moq doesn't get updated

torpid gazelle
#

print ("Hello World!")

next shell
#

Someone should print “hello world” using assembly

#

Or whatever the fuck Lovelace was using

jaunty latch
#

Not too hard, you just gotta sequence it

next shell
#

Sequence deez nuts

jaunty latch
#

SECTION .data

Msg: db “hello world”,10
MsgLength:equ $ - Msg

SECTION .text

global start
start: 
push dword MsgLength
push dword Msg
push dword 1
sub esp, 4
mov eax, 4
int 80H
add esp, 16

; exit
push dword 0
sub esp, 4
mov eax, 1
int 80H
jaunty latch
jaunty latch
orchid frigate
#

I mean I know it's interrupt dependant but at the same time it just seems like a burden

jaunty latch
#

Yeah fair enough, but I’m not really an expert on assembly code, so I just did it the only way I could think of at the time

orchid frigate
#

What's int80 is it an os dependant thing or an x86 thing

jaunty latch
#

Yeah system call

orchid frigate
#

Oh

#

Yea idk them

jaunty latch
#

Sub esp is for os as well

jaunty latch
orchid frigate
#

I know what interrupts are bit

jaunty latch
#

Oh?

orchid frigate
#

But*

#

I don't know syscalls

#

I do non os assembly

jaunty latch
#

So that makes sense

orchid frigate
#

In x16 for example interrupts are solely bios functions

#

So I was wondering if it was something similar

jaunty latch
#

Yeah

#

Anyways

#

Imma sleep now

#

It’s quite late

#

Cya

orchid frigate
#

Good night

jaunty latch
#

Night

old mural
quartz pumice
#

syscall just jumps rings then fucks with stack and shit I think

#

So it's int but without being customizable

orchid frigate
#

Damn it jumps rings?!?

#

Insane

lofty pewter
rose pawn
#

Joders jave

barren shale
#

jhut ja juck jp

#

jou joob

obsidian pier
#

jow jo Jake jeople jngry

rose pawn
#

I was gonna say rizz in my south with j's but auto mod didnt allow it

quartz pumice
prime kiln
#

hello cave dwellers

#

how are you today

rose pawn
#

God

jaunty latch
#

Fox

radiant agate
wet girder
#

This is what people who learn regex think they're

distant wraith
#

Convenience

white plover
prime kiln
barren shale
#

there's literally no reason to learn regex

#

there are regex generators

#

maybe learn the basics

distant wraith
#

Regex is just symbols and letters, it's not that hard anyway

barren shale
#

programming is just symbols and letters

#

its not that hard anyway

#

japanese is just symbols should be easier than regex right?

distant wraith
#

Exactly wbcursed

next lotus
wet girder
#

I hate .NET

#

why can't I throw an error inside try catch and catch the error

#

It just decided to fucking crash instead of getting caught in the catch

#

why

barren shale
#

you can rethrow expections

#

other than that you shouldnt be throwing expections inside a catch

wet girder
#

I meant try part

#

Not in catch

#

I refactored some code and I didn't need to do it anymore

barren shale
#

you should be able to chain try catches

next shell
#

you should be able to chain try catches

barren shale
#

yeah but not in the catch part xzibit

next lotus
#

just change it in settings

#

itll catch the exception and continue the execution

#

or better yet

#

use dotnet rider

wet girder
#

🤮

#

I have visual studio 2022 professional license for work

#

I'll never change from it

next lotus
#

is not

#

that different from vs community

#

and vs is bloated af

wet girder
#

Well yes but I feel professional attractive

wet girder
next lotus
#

ive tried

#

vs runs the most useless background processes

#

youre better of with a jetbrains ide like rider

#

but Disgusted

#

rider

#

is

#

made

#

in

#

java

#

but all you have to do is dont mind it

#

c# is still c#

wet girder
#

All my coworkers use vs and we use vs specific tools so not possible for me

next lotus
#

youre writing in a java ide

jolly field
granite bear
#

Ok

knotty terrace
jolly field
dreamy vortex
#

here’s some medicine, get well soon

wet girder
old mural
quartz pumice
lapis flint
rose pawn
#

WHAT

livid basin
#

coding talk

#

alright bois what we working on

#

good chat

orchid frigate
#

Currently I'm making a bootloader again

#

Got inspired by a random blog post on a forum that hasn't been active for 12 years

lapis flint
old mural
#

whats a bootloader

quartz pumice
livid basin
#

ayy congrats all

#

im currently making an Idle Clicker Game atm

barren shale
quartz pumice
orchid frigate
#

Calmest c++ enjoyer

orchid frigate
#

Basically the second program to run when you boot the computer

lofty pewter
#

why not the bios firmware bro

old mural
#

thought so

final pendant
junior shard
#

Anyone knows how to code in brainfuck?

dreamy vortex
junior shard
#

Search it up

wet girder
# dreamy vortex Wtf is brainfuck

Brainfuck is an esoteric programming language created in 1993 by Urban Müller.Notable for its extreme minimalism, the language consists of only eight simple commands, a data pointer and an instruction pointer. While it is fully Turing complete, it is not intended for practical use, but to challenge and amuse programmers. Brainfuck requires one t...

dreamy vortex
#

Oh I see

#

👁️

static solar
orchid frigate
#

malbogle beats brainfuck any dya

knotty root
shut hare
idle grove
next lotus
quartz pumice
#

Absolute Chad

rose pawn
# next lotus

I devolved from chad to virgin after the of the website added an API 😪😪😪😪

rose pawn
# next lotus

"data is 10 minutes behind" this is so true lol, it was actually the opposite way at first but then they added 1 min cooldown for each request

#

chad: can store all the data he wants

trail wind
#

Hi

lapis flint
quartz pumice
#

pov: your building a project without a .gitignore

dreamy vortex
#

Goodnight coders

rose pawn
#

Its 10 am

quartz pumice
dreamy vortex
#

goodnight coders

dreamy vortex
wet girder
#

I'd not want to be the lost children

jolly field
wet girder
dreamy vortex
#

Gn coders

barren shale
#

It’s 1 pm

orchid frigate
#

This entire chat is just vienen having a different time zone and memes

spare mirage
#

Any C++ coders here?

toxic charm
#

Can some one code some races for me

#

Or give me some instructions

orchid frigate
#

I'm mainly C

spare mirage
#

Nice

orchid frigate
#

Low level C

#

But I know some c++

spare mirage
orchid frigate
#

Why you need any help?

spare mirage
#

nah, just wanted to know if there are fellow c++ coders here

orchid frigate
#

There are a couple

#

I think one or two

#

But I prefer C

toxic charm
#

what is that

quartz pumice
wet girder
wet girder
#

I haven't started any new projects with it in ages but I use it to maintain @bitter sedge code vase

#

~ping

#

Fuck

barren shale
#

that's why you dont use python

wet girder
#

Ok it's fine. Discord api was just being weird

#

~ping

#

Is it fine?

barren shale
#

just rewrite it in typescript or C# if you want a headache

#

i would recommend typescript

wet girder
#

Oh it doesn't have perms to talk in this channel

wet girder
rose pawn
#

Leave python alone

barren shale
#

how many commands does it have

wet girder
#

Like 50-70 maybe

#

Most are pretty simple tho

rose pawn
#

What are the vairables in wyr command

wet girder
#

But I'd want to remake the logic for many of them which would make it take more tome

wet girder
rose pawn
#

Whyyy

#

So thats why it never lets you send it

wet girder
#

I should fix it but that also takes time

rose pawn
#

But when it worked what were the attribute and request things

barren shale
#

rewrite it with slashcommands xzibit

#

1 command everyday

wet girder
barren shale
#

done in 2 months

wet girder
#

Not possible for me. I have like 3-4 days a week I can code and 2-3 of them are like 1-2.5h hours of time

barren shale
#

oh you have school right?

wet girder
#

Work + hobbies

rose pawn
#

Do you live in finland?

wet girder
#

Ye

rose pawn
#

So you are the admin that takes care of coding and bot stuff

#

Should have got that a long time ago

#

Ur always here

wet girder
# wet girder Work + hobbies

Wouldn't be a problem tho if I lived on my own. I live at my parents and the house is crammed so I don't have a room at all. I sleep in my little brother's room and have my desk in the other little brother's room and I have 1 hour bus drive so my workdays take 10-11 hours including trips and preparing for work plus 30 minutes of sitting on the couch thinking about nothing recovering enough from the day to be able to do basic human functions

#

It's hell really

#

I can't get myself to do anything because there're so many unnecessary distractions and other bullshit

wet girder
#

Plus I look after mods obviously

#

I don't moderate anymore tho

rose pawn
rose pawn
wet girder
wet girder
dreamy vortex
#

goofnight Cody

rose pawn
#

That would be your mother

next lotus
#

vb usecase

#

please

#

so i can roast you

#

if you wont, im going to send a very generic VB slander

wet girder
#

I just maintain legacy code

next lotus
#

mmm

#

the only use case for the likes of java and vb

barren shale
next lotus
#

i hope they get well soon

wintry crescent
wet girder
#

It has similarities to c++ but imo is bit easier to understand

#

It has more OOP stuff tho

next lotus
#

but with naming conventions

#

and

#

no pointers

wet girder
#

Basically yeah

quartz pumice
#

randomly typed jmp rip

#

I wonder how that would work hmm

orchid frigate
quartz pumice
#

idk

orchid frigate
#

I think thats just an infinite loop

quartz pumice
#

im gonna retry in protected mode

quartz pumice
orchid frigate
#

I dont really know how rip gets incremented tho

quartz pumice
#

I think it just gets incremented after an instruction

orchid frigate
#

so maybe it goes to the next command regardless?

quartz pumice
#

but It might be different when using jmp

#

because it s setting rip instead of incrementing

orchid frigate
#

right

quartz pumice
#
  mov rax, 0xB8000

  mov byte [rax], 'h'
  mov byte [rax+1], 7
  jmp rip
  mov byte [rax+2], 'i'
  mov byte [rax+3], 7```
orchid frigate
#

but isnt that an instruction by itself

#

so it should jump to rip rip gets incremented

quartz pumice
#

src/boot.asm:192: error: symbol `rip' not defined

orchid frigate
#

then it jumps to rip again this time rip being...ah fuck idk

quartz pumice
orchid frigate
orchid frigate
quartz pumice
#

protected mode

#

I dont think it can jump with registers in real mode

orchid frigate
#

what are you working on

quartz pumice
#

bootloader

#

I restart my os thing

orchid frigate
#

did you make the filesystem part

quartz pumice
#

no im about to do that rn

orchid frigate
#

didnt you make one yourself at some point

#

either way fat16 sucks to set up

#

but its worth it in the long run

quartz pumice
#

its fun

orchid frigate
#

how

quartz pumice
#

until I haved to implement it

orchid frigate
#

yea thats the part that sucks I mean designing one is fun

slim raven
#

i had a power outage during a git commit revert, all the files are now corrupted. Nice

orchid frigate
#

but then you have to like

#

make the logic behind it work

slim raven
#

They're still on github tho so whatever

quartz pumice
#

isnt that what happens with like making shit normally

orchid frigate
#

can you show some code

#

I wanna see how it works

#

or atleast explain the basics

quartz pumice
#

I havent

#

yhet

orchid frigate
#

I dont wanna have to deal with fat

quartz pumice
#

😭

quartz pumice
#

just copy paste whatever you want from fat

#

and make sure to glue it together

orchid frigate
#

no

quartz pumice
#

and keep it in a readme somewhere

#

then implement

orchid frigate
#

I have to like

#

make a driver in the future after the bootloader

#

so I gotta understand it

#

I know how it works

#

but it sucks to implement

quartz pumice
#

fr

orchid frigate
#

as a full driver

#

and thats only the first part of the bootloader

#

then I have to move to long mode and deal with paging

#

paging sucks ass I dont understand it

#

os dev sucks I love it

quartz pumice
#

lol

quartz pumice
#

"pretend" your paging

#

until you figure out how to page

#

lol

orchid frigate
#

Yea I do that with every feature

#

and then I end up with an os that can pretend to do shit

#

but in reality it doesnt do shit

quartz pumice
#

it seems as if you have too much foresight

static solar
barren shale
#

Macs are really good these days

quartz pumice
#

is what they said back in the day

#

dont succumb to the apple propoganda.

#

even big brother came saying he was fighting for no evil

dreamy chasm
#

What is coder cave about? I'm new

quasi wagon
knotty root
#

Will there be zubats here?

rose pawn
#

whats that

wooden kiln
#

tutel!

static solar
#

This meme decreased my will to live immensely

ivory trail
#

print “hello world”

static solar
rose pawn
#

Google search memes coders will like

orchid frigate
#

He could have written a compiler for all you know

#

a flexer

#

the full thing

static solar
#

Fully possible

#

But why send it here?

orchid frigate
#

The fact this is only partially right makes me want to commit war crimes in arma again

orchid frigate
orchid frigate
static solar
orchid frigate
#

are you playing multiplayer

#

I recently got into it its like 1000 times better than singleplayer

static solar
#

I haven‘t played it yet, set aside this weekend to get into it

orchid frigate
#

I found this cool server

#

Its so fucking good

static solar
#

Which one?

orchid frigate
#

maybe best game I have played

orchid frigate
#

its really fun

static solar
#

Alright, thanks

wintry crescent
orchid frigate
#

Dont listen to me over him but I think c++ is easier overall

wintry crescent
# quartz pumice \

It's more like you lay down and try to sleep but the computer is right there and you want to try again

orchid frigate
#

he works in the field and is more experienced

#

but my personal opinion is c# is very very complicated because I hate OOP with a pssion

#

I prefer simpler languages like C

wintry crescent
wintry crescent
orchid frigate
#

c++ is only complicated if you want it to be

#

I dont like the language because it tried to modernize a language by brining oop

#

but its badly executed

#

so it sucks in comparison to c#

wintry crescent
#

Certain things are certainly easier to script than others

orchid frigate
#

and tbh if you need oop that much

#

idk

#

I started with c# its good

#

but Im sticking to C

#

if you want you could look into rust

#

its a really good modern multi purpose language

#

my favourite language tbh

wintry crescent
orchid frigate
#

its the second last language I learned I think

#

its hard

#

its different

#

but its really fucking good

wintry crescent
#

Oh

orchid frigate
#

Once you learn it its super enjoyable

wintry crescent
#

Other than when your doing something really repetitive

orchid frigate
#

eh a language is as fun as you make it

#

For instance everyone hates on assembly

#

I like it

#

its weird

#

but its...weirdly enjoyable to understand

#

but until you understand its like banging your head against a rock trying to understand something cant even get the base of

wintry crescent
wintry crescent
quartz pumice
#

roblox's docs are so fucking good too

#

just need to learn lua on your own

#

roblox isnt even simple either, if anything its more complicated to use

wintry crescent
wintry crescent
#

I watched videos

#

But after learning enough just practice

wintry crescent
#

Nothing to simple

#

But nothing overly complicated

quartz pumice
#

as all things should be

wintry crescent
lapis flint
feral bramble
untold grail
fresh imp
#

I hate lua

orchid frigate
#

Noone likes lua

#

Those that do are like people with childhood trauma

#

They don't know any better

barren shale
#

time to see what this shit is really about

vagrant aurora
#

and who tf thinks: man, im going to make a roblox game

quartz pumice
#

kept getting segfaults

#

that was literally a few days after it was announced though

#

and before you could download it

static solar
vagrant aurora
lofty phoenix
#

teardown is lua, cool game

barren shale
#

it will probably be faster than rust since i can run it in parallel

jaunty latch
#

Factorio is if you have heard of that

#

So is angry birds I believe

#

Now that I think about it

#

I’m pretty sure World of Warcraft is too

quartz pumice
jaunty latch
#

Oh

#

Built in lua

#

Lol

barren shale
#

wow is not built in lua xzibit

#

they use lua for scripting

#

and im sure factorio is c++

#

lua is a scripting language do not make games in lua

#

or apps

#

its super slow

orchid frigate
#

dont make anything in lua in general

#

you cant trust a language which chooses to begin its indexes at 1

wet girder
still bramble
#

Hello

#

Why do you desperately need coders?

orchid frigate
#

because the chat is dead and I cant flex on anyone that I can make useless things

still bramble
#

I’m at a family event I can’t hear you flex sorry

#

Maybey next time

rose pawn
#

Image unrelated

#

Actually ima delete it

orchid frigate
#

The thing is I used to I began using linux with arch because I thought it was custimizable

#

problem is 1) I had no idea what im doing 2) I put all disk memory on home instead on root

static solar
#

I am happy with my Debian, thank you

orchid frigate
#

because I thought home was the main folder I was gonna use

#

turns out

#

im a fucking idiot

quartz pumice
orchid frigate
#

but its not

#

not good

static solar
#

I am happy with it

#

Don’t plan to switch

orchid frigate
quartz pumice
#

Lol

orchid frigate
#

like really buggy

static solar
orchid frigate
#

I like kali the most tbh

quartz pumice
static solar
#

But it is really really solid

orchid frigate
#

kali is lightweight enough to not be a burden but to also not be empty and its quite stable

#

I tried dark arch or whatever its called but it also sucked

#

I have tried alot of distros most for like a night

#

most were buggy

quartz pumice
#

imagine a raw distro that has a package manager that downloads from any package manager

#

a shit ton of helpful features, includes every library needed for popular project

#

something as easy as windows but linux

orchid frigate
#

if linux became more popular and more mainstream this could be a reality

#

but right now the only people that use linux are programmers and its only for programming purposes so its not needed

quartz pumice
#

imagine a future where most software used is open source

orchid frigate
#

and most are on wsl

quartz pumice
#

anything microsoft makes for programmers is a godsend from heaven

orchid frigate
#

actually no

quartz pumice
#

frfr

orchid frigate
#

it would be destroyed

#

every major corporation will collapse

#

in a day

quartz pumice
#

lol

#

btw windows kernel is actually on github

#

a microsoft employee sent out the link accidentally

#

its ofc private

#

but all it would take is a rogue employee to public it for a few seconds

#

for windows to become open source

orchid frigate
#

people will start making windows distros

quartz pumice
#

frfr

orchid frigate
#

tbh could be fun

#

they could make like a mini windows that is open source

#

so that people can expend on it

#

but they wouldnt make any money

#

so they wouldnt do that

quartz pumice
#

hmm yeaha

#

Im sure just the kernel being open sourced wouldnt end that bad for them

#

but there would be alot of media backlash because "open source" = bad to anyone not experienced

orchid frigate
#

open source can be bad

#

all it takes is like one accidental leak

#

to make billions of dollars worth of damage

#

so thats probably why they never would

quartz pumice
#

my dumbass cant find out what damage would happen 😭

orchid frigate
#

You see how the system operates so you have more insight on how it works

#

you see vulnerablities you couldnt before

quartz pumice
#

thats what everyone thinks

orchid frigate
#

so viruses will basically get steroids

quartz pumice
#

but windows is battle tested for like 30 years now?

orchid frigate
#

they cant control all of it

quartz pumice
#

ofc

#

but its been battle tested for 30 years

orchid frigate
#

in defence the more secrecy the better

orchid frigate
#

if it was open source

#

there probably would have been problems

quartz pumice
#

linux is open source but its not easy to find vulnerabilities

#

and if your really talking about that, why not look through the windows asm source to find vulnerabilities?

orchid frigate
orchid frigate
#

its entire system is one giant vulnerability because it wasnt made for corporations to use

quartz pumice
#

battle tested for 30 years

orchid frigate
#

if you really want to break into a system you could

quartz pumice
#

thats the same for every project though

#

I cant believe that open sourcing would be a security issue

#

I just cant believe it

orchid frigate
#

Idk I'm not an expert in security in fact I don't know almost anything

#

It just seems like it

#

You can ask jupe I'm sure he knows

quartz pumice
#

am making gdt now

quartz pumice
#

well im trying

#

it wont stop triple faulting in the bios interrupt 😭

orchid frigate
quartz pumice
#

no I said that wrong 😭

orchid frigate
#

I have never spent more than like 10.minutes making a gdt

quartz pumice
#

this ```x86asm
GDT64: ; 64 bit gdt
.Null: equ $ - GDT64
dq 0
.Code: equ $ - GDT64
dd 0xFFFF ; Limit & Base (low, bits 0-15)
db 0 ; Base (mid, bits 16-23)
db PRESENT | NOT_SYS | EXEC | RW ; Access
db GRAN_4K | LONG_MODE | 0xF ; Flags & Limit (high, bits 16-19)
db 0 ; Base (high, bits 24-31)
.Data: equ $ - GDT64
dd 0xFFFF ; Limit & Base (low, bits 0-15)
db 0 ; Base (mid, bits 16-23)
db PRESENT | NOT_SYS | RW ; Access
db GRAN_4K | SZ_32 | 0xF ; Flags & Limit (high, bits 16-19)
db 0 ; Base (high, bits 24-31)
.TSS: equ $ - GDT64
dd 0x00000068
dd 0x00CF8900
.Pointer:
dw $ - GDT64 - 1
dq GDT64

orchid frigate
#

Usually copy pasted

quartz pumice
#

yeah

orchid frigate
#

Ah so you are making a tss too

quartz pumice
#

no idea what a tss is lol

#
  mov di, 0x8004          ; Set di to 0x8004. Otherwise this code will get stuck in `int 0x15` after some entries are fetched 
    xor ebx, ebx        ; ebx must be 0 to start
    xor bp, bp        ; keep an entry count in bp
    mov edx, 0x0534D4150    ; Place "SMAP" into edx
    mov eax, 0xe820
    mov [es:di + 20], dword 1    ; force a valid ACPI 3.X entry
    mov ecx, 24        ; ask for 24 bytes

    int 0x15``` im trying to get a memory map then im gonna fill every type 1 from it in the gdt but this ^ triple faults
orchid frigate
#

Last time I did it it basically switches the stack on stack overflow I think

rose pawn
#

What are you doing higabana?

quartz pumice
orchid frigate
#

Make an idt first

rose pawn
#

Osdev

#

Let me google that

quartz pumice
orchid frigate
#

Also why the fuck are you making it in assembly

#

Why are you making it in real mode

quartz pumice
#

because elf wants me to be in a setup protected mode

quartz pumice
quartz pumice
orchid frigate
#

I feelike you are making this more.difficult than it has to be

quartz pumice
#

yeah

orchid frigate
#

Why are you in compatibility mode

quartz pumice
#

because int 0x15 only works in compatibility mode right?

orchid frigate
#

Ah?

quartz pumice
#

my confusion is what happens when you trust osdev wiki in the slightest

orchid frigate
#

Like ah= what

orchid frigate
#

Oh wow

#

So what is the end goal here

#

I don't know compatibility mode

quartz pumice
quartz pumice
orchid frigate
#

I have so many questions

#

Why not just go

#

Real -> protected -> long

quartz pumice
#

well it goes from

#

Real -> protected -> long -> compat -> trying to call int 0x15

orchid frigate
#

Ok

#

So

#

When in long mode

#

Can you make an idt

#

Without it interfering with compat mode

quartz pumice
#

I think so

orchid frigate
#

Because you need it it's better to never have triple faults

orchid frigate
#

Maybe

quartz pumice
#

I think theres 2 idt registers for long mode and protected mode

orchid frigate
#

Ok wait

#

Do you want to setup a general gdt

#

That doesn't do anything fancy

#

Nor has a tss

#

Basically ignoring gdt for as long as possible

quartz pumice
#

I have allready

#

I think what im trying to do is read the memory map and make a new gdt that expresses that

#

am I supposed to make a fancy gdt before or after running kernel

rose pawn
#

@main brook how have you been rei

quartz pumice
#

@main brook are u adachi rei

orchid frigate
#

As you aren't working in assembly

#

Unless you have to

quartz pumice
#

fr ok

rose pawn
#

Damn reis last message was 4 months ago

quartz pumice
#

so ill go figure elf out

#

and deal with gdt later

orchid frigate
#

Yes

#

Anything complicated

rose pawn
#

I miss rei they are epic

orchid frigate
#

You avoid

#

And if you want to

#

Wait if you have elf

#

Did you make a fs driver

quartz pumice
#

oh shit I forgot to do that

orchid frigate
#

😭

#

How do you have elf then

#

And whh

quartz pumice
#

elf file

#

I think I just pasted it right after bootloader

#

if its even on the disc

orchid frigate
#

Yes why not just put a binary

#

Considering you don't even have a file system

quartz pumice
#

gcc can output binary?

orchid frigate
#

You can objcopy the binary from an elf

quartz pumice
#

well yeah but I can only think of like 20 ways that can break everything

orchid frigate
#

But I think it messes with linking

quartz pumice
#

I think gcc expects everything to be loaded into virtual addresses exactly how it wants it to be

orchid frigate
#

Still better to try than to write an elf reader

#

In assembly

quartz pumice
#

lol

#

it actually seems pretty easy

#

elf is very simple

orchid frigate
#

Last time I did it was while doing UEFI for the first and last time

#

UEFI sucka

quartz pumice
#

yeah uefi is.. 💀

orchid frigate
#

I try to read a filw

quartz pumice
#

windows uefi isnt even in spec thats how fucking bad it is

orchid frigate
#

Somehow the fucking emulator crashed

quartz pumice
#

we need intel or someone to make a new uefi thats really fucking simple

#

intel made the first uefi so I Dont think they can be trustable

#

microsoft isnt known for good practices

#

windows.h jumpscare

#

google idk

orchid frigate
#

Nah we just need one person to deal with UEFI once and make a proper bootloader in it

#

And noone ever to touch it again

quartz pumice
#

well yeah but people haved to make a uefi bios too

#

motherboard developers

orchid frigate
#

They can like touch electricity or whatever they do I don't care about them

#

Set the bits physically just right

quartz pumice
#

lol

#

oh have u ever proggrammed on a 1401

orchid frigate
#

No

#

I wanted to but I don't wanna buy one

quartz pumice
orchid frigate
#

Hmmm might try it

#

I did try to write on a programmable controller but I had no idea what I'm doing so I stopped

#

When J get bored messing with vulkan I will try

#

Which may be soon because vulkan is boring as fuck

quartz pumice
#

fr

quartz pumice
#

😭

#

its very laggy

orchid frigate
#

Nah mine is fine

#

Not streamer computer but not bad

#

It's the embodiment of mid

main brook
#

WHO

#

AWAKEN ME FROM MY SLUMBER

main brook
main brook
rose pawn
main brook
#

no

#

im not

rose pawn
#

who are you then

main brook
#

im just rei

#

im me

rose pawn
#

Whats rei

#

Seriously is thay like ur realy name or whay

main brook
#

R word
Entity
In life

rose pawn
#

Ok

main brook
#

its literally my name

rose pawn
#

Cool

main brook
#

if you'll excuse me im gonna finish my face routine ill be back in a bit

rose pawn
#

What's a face routine

main brook
#

skin care?

#

ig

rose pawn
#

Oh its skin care

#

Ye i googled

main brook
#

idk im stress out my new laptop having a broken windows 10

#

should i install Mint or Manjaro @rose pawn

#

or Ubuntu with cinnamon GUI

rose pawn
#

I DUNNO THOSE TERMS

rose pawn
main brook
#

mint has fixed update

#

and based on debian

#

also there's no chocolate chip on it

main brook
#

i like mint flavour

rose pawn
#

Then mint it is

patent storm
barren shale
#

More reliable

#

I’ve been using windows 11 for a year and I have 0 problems

#

I used Ubuntu for 2 years because I fried my old laptops GPU and windows refused to boot

#

Had a billion problems

#

Basics apps crashed a lot

#

Tried to delete an app but for some reason 5 different apps stopped working so I had to reinstall them

#

And a lot more

#

If you want to use Linux you can either WSL it or dual boot

#

Never daily drive Linux thank you

barren shale
#

But I ended up fixing windows in the last 6 months of my old laptop

#

So probably like 3 and a half years ago

wet girder
#

Ubuntu is fine for like basic stuff. It's reliable if you just use the browser like statistically most people do but when you start messing with stuff it starts to break if you don't know what you're doing

next lotus
#

the same linu s tech tips that sexyally harrassed their coworker???

#

the same linux te ch tips that cucked companies????

#

linus tech tips bad!!!!!!!!

barren shale
barren shale
wet girder
barren shale
#

If you don’t trust every single Linus video because he fucked 5 videos up idk what to tell you 😂

#

Everyone makes mistakes

wet girder
#

LTT has some quality issues and ongoing sexual harassment investigation but most of their videos are still fun to watch and somewhat informative

#

Plus the quality issues have been addressed to a great amount and are getting addressed continuously

#

Boycotting LTT makes no sense anymore. They owned up to their mistakes and fixed them

barren shale
#

Yeah having problems is common and not an issue

#

Ignoring problems is a problem

#

But they seem to be working on it so it’s all good

wet girder
#

The sexual harassment issue might be more problematic tho but currently there's no proof of anything and it's being investigated

barren shale
#

yeah but people are people

#

you cant really know if an employee is gonna be a problem before you hire them

wet girder
#

Plus it happened when Linus was CEO and Linus has said that he's not a good CEO and that's why there's a new CEO

main brook
#

unlocker

karmic sigil
obtuse trout
pseudo carbon
main brook
#

fr?

pseudo carbon
#

Yes

main brook
#

too late tho

pseudo carbon
#

I do my own it work

main brook
#

my laptop ssd is a piece of dog crap

#

windows did the bsod

#

when i restart

#

and now it wont boot windows

#

and I can't install linux because of something

#

the disk is behaving weirdly

#

frfr

#

like when i check it

#

its alright

#

but when i dod

#

fdisk -l /dev/sda

#

it shows

#

input/output error

#

when i do it again

#

/dev/sda doesn't exist apparently

#

its just poof

#

and im dmesg, the size became 0

#

for absolutely no reason

#

but it has 4 partition if list it

#

in /dev there's sda1-4

pseudo carbon
main brook
#

and its definitely not a RAID

#

but not AHCI

#

cause the only possible explanation is that

main brook
#

bro ive been fixing this from

#

16:00 till 21:40

#

and i have math exam tomorrow im gonna doe

#

die

#

why windows sucks ass

#

windows broken installation made my whole ssd unusable

pseudo carbon
#

I dont need go to school tommorow attractive

#

Cuz i sick

barren shale
#

just a random github link xzibit

#

i love how microsoft owns github but cant do any thing about people sharing windows activators there because its for "eductaional" purposes >:)

knotty root
hardy jay
#

1000101001010001011001010101010101010010101101001100110100110101011000101101010110100101010010101011101

knotty root
#

Agreed

royal dust
#

My discord bot said their first words

static solar
quartz pumice
#

Pycord, solves all your problems

silent root
#

fuck unity

rose pawn
#

Yes

#

Hellos to the magestic coders of #⌨coders-cave what is your opinion on new unity news

barren shale
#

especially when any glitch will be abused to its limits

static solar
rose pawn
#

I dont even know lol some ppl are mad

orchid frigate
#

I don't use unity but have used it

#

What are they doing

rose pawn
#

Oh i remembered

#

For those using the free version of unity they made it that each time their game is sold they need to pay unity or something

orchid frigate
#

Another reason to make your own engine tbh

#

Or roll without one

#

Out of the many others

#

Or use one of those smaller non graphic open source engines that are pretty much just renderers

static solar
#

After their game is sold over 200.000 times every unique download will cost 20 cents

#

The code is also easily to disable too, apparently

barren shale
#

not sold but downloaded

#

its complicated

#

they are charging based on installs

#

its stupid

static solar
#

Unique downloads, to be exact

static solar
barren shale
#

requires too much tracking

royal dust
knotty root
#

I Remember coding Part of Superhot, it was the particals 😦

#

😭

knotty root
barren shale
#

uhhh too busy

#

for now use properties when you want a public variable in a class

#

and use fields when you want private variables

#

properties give you the option to set different modifiers for the getter and the setter

#
public int Number { get; private set; }
#

yeah

#

yeah

#

its a different variable then if its a different file

#

go read about scopes

#

even within the same file you can have two variables with the same name but can be diffretent

#

you dont

#

you just have two

#

yeah

wet girder
#

level++ is a cleaner way to do that tho

#

no python bullshit

barren shale
#
var input = Console.ReadLine();
var number = int.Parse(input);
barren shale
#

well that's on you

#

you probably fed the console letters instead of numbers

#

oh wait what

orchid frigate
barren shale
#

you want to convert int to string not string to int

orchid frigate
#

Don't you need to like

#

Tell it the exact type

barren shale
#

so it casts it to an int

orchid frigate
#

Oh

#

Aren't there a few types of ints

barren shale
#

no?

orchid frigate
#

Like different bits

barren shale
#

yeah there is a long

#

which is double the int size

#

but then you do long.Parse

orchid frigate
#

So there isn't like

#

Int32 or

#

How do you use unsigned ints

barren shale
#

that's the name of the struct not the primitive

#

uint is unsighned

orchid frigate
#

Ulong?

barren shale
#
var number = 123;
var text = number.ToString();
barren shale
#

just add a u

orchid frigate
#

So it goes char->short->int->long?

barren shale
#

you mean byte

orchid frigate
#

Is there no char

#

Chars are 8bit

barren shale
#

char is for characters though

orchid frigate
#

Yes

barren shale
#

this turns the number in the variable to a string

orchid frigate
#

But in c++ you can use them for anything

#

8bit

barren shale
#

well you can too but there are two types so you can handle both properly

#

when you print a char it prints the actual character but when you print a byte it will print the number

orchid frigate
#

Are there valid strings in c=

#

C#

barren shale
#

Console.ReadLine does not read ints

orchid frigate
#

Or is it like

barren shale
#

it only reads string

orchid frigate
#

Const char

barren shale
#

so you dont need to convert

orchid frigate
#

Too

barren shale
#

what do you mean valid strings wat

#

that's just for safe parsing

#

same thing over all

#

bro you dont need to convert

#

its already a string

orchid frigate
#

In c++ without the std strings are just a constant pointer to a bunch of characters

barren shale
#

Console.ReadLine returns a string

orchid frigate
#

In c# it's probably the same

#

But does it have a structure

barren shale
#

well yeah a string is an array of characters

orchid frigate
#

To handle them easier

barren shale
#

you can use it like an array

#

that's turning a string into an int wbfacepalm

#

not int to a string

#
var text = Console.ReadLine();
var option = int.Parse(text);
orchid frigate
#

@knotty root this is like the fifth time you try to learn c#

wet girder
#

After you learn it well once you'll never forget it

#

I read and write C# code 7.5 hours a day 5 days a week so it's engrained pretty deep into my brain at this point

knotty root
barren shale
#

just use an lga motherboard xzibit

azure steppe
# knotty root

i personally find the salt from sea water cleans them pretty well

knotty root
knotty root
#

My only message here (I do not belong here)

#

Just thought would be revelant

static solar
#

Pretty old news + it doesn‘t even affect the average Unity user

olive helm
static solar
#

And are also not downloaded 200.000 times a month

olive helm
#

See I wouldn’t know lol

knotty root
#

However, we may lose some hidden gems too

quartz pumice
static solar
#

A hidden gem is not downloaded more than 200.000 times a month

quartz pumice
#

is anyone else getting 500 errors randomly using github?

royal dust
#

Wow I just heard unity did something terrible
they jacked up their prices
and devs are pissed
if unity stock is going down monday I wouldnt be suprised

feral bramble
#

here's the detail https://blog.unity.com/news/plan-pricing-and-packaging-updates
Only games that meet the following thresholds qualify for the Unity Runtime Fee:

  • Unity Personal and Unity Plus: Those that have made $200,000 USD or more in the last 12 months AND have at least 200,000 lifetime game installs.
  • Unity Pro and Unity Enterprise: Those that have made $1,000,000 USD or more in the last 12 months AND have at least 1,000,000 lifetime game installs.
royal dust
#

still pissy and pissess me off

#

Id rather use now

#

godu or unreal

feral bramble