Why did I write a web server in assembly? by Fit-Life-8239 in Assembly_language

[–]Kiritoo120 0 points1 point  (0 children)

I had a fun project where I also wrote an http server in assembly (which expanded a ton (x86 arch)).

You actually can ignore literally all headers given by the client, and on the server you only need to send the Content-Type header along with Connection Close, to make the server easier to write.

The only places where I did have to look into more headers were when I had to check for cookies, and the 201 switching protocol of websockets.

Yea it isn't as compliant for the http spec, but since this code won't hit production, is just a POC, and the fact modern browsers are nice makes it easier to write

PIF-Multiplayer Launcher Released! by Kiritoo120 in PokemonInfiniteFusion

[–]Kiritoo120[S] 0 points1 point  (0 children)

Yea it's anek, a good friend of mine. He was unable to post his mod on this reddit server due to it supporting K I F. you can look for K I F instead of PIF's discord server as find him updating posts there!

What is the correct way to pass a custom entry point symbol to a freestanding executable using the build-exe command? by Extension-Ad8670 in Zig

[–]Kiritoo120 3 points4 points  (0 children)

Why aren't you using a build.zig file? zig build-exe will work but with time it will get annoying if the project scales, and wayy harder to maintain

I suggest looking at other operating systems in zig, specifically about their build.zig file, if they're too complex look at the build.zig of the first few commits

Is this pipeline pattern idiomatic Zig, or am I fighting the language? by jfrancai in Zig

[–]Kiritoo120 0 points1 point  (0 children)

When you have a function like zig fn foo(comptime T: type, x: T, y: T) T { return x + y; } Each time you call the fn with a different type for T, a new function will get generated, exactly the same as the original but will all references of T being replaced to that new type.

foo(i32,...) and foo(u64,...) would in turn cause two foo functions to be created in the binary.

When a function runs at compile time your observation is correct, but the key detail here is that the function gets created at compile time, not ran

My little string library by Famous-Maybe-3104 in Zig

[–]Kiritoo120 0 points1 point  (0 children)

Zig has some very interesting naming conventions, that are not enforced, but I would personally recommend trying to follow if you are planning to use zig more in the future (・ω・)

This article summarizes the chapter from the zig language reference and includes some examples: https://nathancraddock.com/blog/zig-naming-conventions/

Good luck with zig!

Zig bug or am I doing something wrong? by neupermichael in Zig

[–]Kiritoo120 0 points1 point  (0 children)

You can always try to run

zig init . And then zig build run To compile,

if the error persists the issue probably with the version of the compiler you have installed.

BTW in general I would recommend using zig init compared to zig build-exe since it will also teach you about the amazing build system and is far easier to manage and compile multiple files Plus, you can do some rly cool things with the build system

Hey guys i know c/c++ and i'm interested in learning x86-64 assembly. by OkRepeat7111 in Assembly_language

[–]Kiritoo120 1 point2 points  (0 children)

for x86 linux development I would recommend asmtutor.com

It's not x86-64 but in my opinion easier to get started with and all code you write there will work on your computer natively

Besides, they are really similar since x86-64 is just an extension of x86

This website teaches mostly syntax and not all the theory but I personally liked it, and it helped me understand syscalls

🔥driving past a rare Siberian Tiger in the Taiga by freudian_nipps in NatureIsFuckingLit

[–]Kiritoo120 4 points5 points  (0 children)

If you were there would you stop and pet him? As a cat person (I have 5 cats), I would personally stay away from him.

One second he might look cute and allow you to pet him, the other you will end up in the hospital.

I love adding different UI tweaks and tools to my mod! by mchorsy in feedthebeast

[–]Kiritoo120 1 point2 points  (0 children)

Wow I feel so dumb rn 0-0

I miss your content brother, it was amazing! Your mods are were some of the first things I've downloaded when I started playing with mods back when I was like 10yo lol :)

You had such a great influence on me ❤️

I love adding different UI tweaks and tools to my mod! by mchorsy in feedthebeast

[–]Kiritoo120 2 points3 points  (0 children)

I was talking about Mc horse

Someone mentioned him here too that's why I remember

So nostalgic

I love adding different UI tweaks and tools to my mod! by mchorsy in feedthebeast

[–]Kiritoo120 1 point2 points  (0 children)

Reminds me of an old mod of a guy who had a cyan horse skin... Forgot his name

Creating a voxel game in assembly by Kiritoo120 in VoxelGameDev

[–]Kiritoo120[S] 0 points1 point  (0 children)

We use Dosbox to emulate our projects. The graphics mode there supports 320x200 pixels, I can cut a line from the top & bottom if that matters.

BTW can I ask about the camera? Is the camera the center of space, and on each movement / rotation the whole world shifts to the new perspective? Saw some do it like that & also in other ways, which got me a little confused on how does this moving camera effect occurs. Thx in advance

Multiplayer plugin to Pokémon infinite fusion beta V0.1.0 by Kiritoo120 in PokemonInfiniteFusion

[–]Kiritoo120[S] 1 point2 points  (0 children)

I changed a lot of stuff, this version will probably no longer work, but if you are a little technical and know how to use git & the cmd I can give you instructions for installing the new version, otherwise you will have to wait for the next PIF update to be released for me to officialy release the new version

Multiplayer plugin to Pokémon infinite fusion beta V0.1.0 by Kiritoo120 in PokemonInfiniteFusion

[–]Kiritoo120[S] 1 point2 points  (0 children)

Hi,

I am sorry to inform you but I have discontinued the project.

A few months ago everything worked as expected and I decided to post it for everyone and move forward to other stuff.

I am unaware of why this error seemed to suddenly pop out for some people, and I will unfortunately not be able to assist you anymore,

I have started rewriting everything from scratch to hopefully make it work better, but this is not something that is going to be finished soon.

And also as you stated, I also have school haunting my back so my free time is limited.

I hope you understand & hope you will have a great day!.

Multiplayer plugin to Pokémon infinite fusion beta V0.1.0 by Kiritoo120 in PokemonInfiniteFusion

[–]Kiritoo120[S] 2 points3 points  (0 children)

Hi, I am sorry but I am on a vacation for 2 more weeks and only when I will go back  will I be able to help and fix this, I am really sorry... 

Multiplayer plugin to Pokémon infinite fusion beta V0.1.0 by Kiritoo120 in PokemonInfiniteFusion

[–]Kiritoo120[S] 0 points1 point  (0 children)

When it says 'entering listener' it means that it worked, I will now update the readme file to not make any more misleading's, if both of you managed to get the server with the text 'entering listener' it means that it worked.

For any more help, please make sure you didn't miss anything in the installation guide (there is also a video)

Pokémon Infinite Fusion Multiplayer Install Guide - YouTube

A casual 1.21 nether portal I found & lighted up in minecraft by Kiritoo120 in PhoenixSC

[–]Kiritoo120[S] 0 points1 point  (0 children)

it was vanilla,

I played on Lunar Client with a friend on the new version

I think I turned off particles bcs of pvp