//g/
File: CZK3HG3UEAAHqbD.jpg (186.4 KB)
186.4 KB
What are you working on, /g/?

Previous: >>108912856
Showing all 68 replies.
>>
File: 1780045670243690.png (229.9 KB)
229.9 KB
I've got some cleaning up to do ie the 3 syscalls but I now have feature parity.
>>
File: 1780046079675820.png (11.7 KB)
11.7 KB
>>108932464
The newline is because I resized the terminal not the program fucking up.
>>
File: happy-pepe.png (685.4 KB)
685.4 KB
>>108932455
>What are you working on, /g/?
Today I created a pull request on github.
Only adjusted some example sketch to use a different toolchain (because the vendor toolchain is deprecated), but feels good. Tfw real open source contributor now.
>>
>>108932455
Are any of those books worth reading?
>>
>>108932761
Read catcher in the rye instead
>>
>>108932768
What about A Wrinkle in Time?
>>
File: 1772895264310781.jpg (3.6 MB)
3.6 MB
I am working on JavaScript, am doing some functional programming today, had OOP yesterday and learned that JS has real private since ES2022 with "#", they used "_" before but it wasn't real private
>>
File: 1765768921023430.png (459.7 KB)
459.7 KB
>>108932547
>Tfw real open source contributor now.
I haven't done it yet because I feel too dumb and don't want to get laughed at or shit or screw something up lol.
but I'm happy for you anon
>>
>>108932796
>Son schinken für JS
Mein Beileid
>>
>>108932902
liest sich aber echt gut, habe nur den jquery teil überflogen aber ansonsten echt gut.
>>
>>108932902
>>108932913
Friendly reminder this is an English Image Board
>>
>>108932999
good trips
>>
>>108932999
okay boss
>>
>>108932811
Jeets are flooding open source projects into oblivion with their ai generated slop so they update their shitty resumes.
You'll be fine.
>>
>>108933105
but they only do python and javascript. These languages are irrelevant
>>
Assembly has been fun but it is a real head fuck after a while.
I am sticking with my beloved C.
>>
>>108933152
You haven't even *begun* to actually explore it - i.e. do where compilers fail spectacularly. All you did was trim some foreign fat while introducing your own.
>>
>>108933249
I've begun enough to see it's not something I am going to pursue and I am going to use fwrite and fread()
>>
>>108933284
>I've begun enough to see it's not something I am going to pursue
Then you've just wasted your time. What's the point in never being better than the compiler?
>>
File: Zminok06.png (254.7 KB)
254.7 KB
>>108933249
>>
File: 1780061280298222.png (168.9 KB)
168.9 KB
>>108933249
>>108933320
>>
>>108933584
>uses c++
>wonders why the assembly output is trash.

THERE'S YOUR FUCKING PROBLEM SCHIZO.
>>
>>108933584
>>"you'd be healthier if you just lost 30 pounds"
>*points at 600 lbs person* "I'M HEALTHY COMPARED TO THEM!!!"
I mean ... that's not hard.
>>
>>108933584
>>
>>108933320
>What's the point in never being better than the compiler?
Fun, have you heard about it?
>>
Making "bad" blocks on a PS2 memory card is as easy as writing incorrect ECC bytes in one of the first two pages of a block.
When formatting the card it doesn't erase all the blocks and check that the blocks erase properly, so any blocks that haven't been erased (~erase bits in the unused page area where ECC bytes are stored) it will load the first two pages and make sure the data checks out with the ECC bytes.
Any that don't will be flagged as a bad block, which the filesystem will then work around. But it only supports up to 32 bad blocks, so that doesn't give you a lot of potentially "hidden" space if you wanted to section off some space to stuff some data into.
So what you could do is write the "hidden" data you want somewhere on the card after the first block (that'll be where the superblock is) ensuring that you write incorrect ECC bytes (or not caring about them) and then erase the superblock. Then when you boot into the OSD you open the card in Browser and it'll say it is unformated and let you format it, which will flag the "bad" blocks and then write the new superblock and FAT table.

Of course, the "bad" blocks can be restored by erasing those blocks and then reformatting (erase the superblock and format).
>>
>>108933676
So being third-class is fun to you?
>>
>>108933689
Mate.

Own BIOS.
>>
>>108933693
Yes, you're mom is happy with a third-class cock
>>
>>108933708
Only as meat supplement for her pea soups.
Which is appropriate because y'all use UNIX anyway.
>>
>>108933708
Not sure about his mom having low standards has to do with anything.
>>
>>108933756
Me neither, that's why I will try to execute binaries from sdcard now.
1) find file
2) copy file to specific ram location
3) jump there
4) ????
5) profit

find file first, just iterate over all entries of root dir
# =============================================================================
# in: a0 contains pointer to filename (zero terminated string)
# out: a0 returns pointer to directory entry, 0 if file not found
.globl _fat12_find_file
_fat12_get_find_file:
addi sp, sp, -16
sw ra, 0(sp)
sw s0, 4(sp)
sw s1, 8(sp)
sw s2, 12(sp)

mv s0, a0
call _fat12_get_dir_entry_count

# TODO: suck my cock here

lw s2, 12(sp)
lw s1, 8(sp)
lw s0, 4(sp)
lw ra, 0(sp)
addi sp, sp, 16
ret
>>
>decades of computing and few years of LLMs
>still tcl/tk is the only reliable GUI library
>>
>>108933864
And it'll stay that way.
>>
>>108933918
what a time to be alive
>>
>>108933773
Ok file can be found.
Now just memcopy the blocks to ram and then hopefully just jump there.

I might switch to C or write my own fucking compiler when I have this done.
I think I know now what I want and how this shit works. The kernel itself doesn't even need that much stuff, I can just extract all of the cool stuff into user applications. Then write a compiler and editor for the userland and then bootstrap everything from there
>>
>>108934540
>Now just memcopy the blocks to ram
Doesn't that imply the blocks are already in RAM?
>>
>>108934776
yes. I typed trash. I just meant copying the files from sdcard to RAM and then jumping there.
But on the other hand it's all memory, just different kinds.
>>
>>108932455
>coding manually
Ngmi you will be replaced
>>
File: 1750078459842318.png (1.2 MB)
1.2 MB
>>108934848
>>
>>108934852
Snailcat cope image. VibeGODS won and Luddites will be left jobless
>>
>>108934835
Well, and different busses.
>>
https://github.com/kamalfarahani/katharos
>monads in Python
Your favourite language WILL become Haskell
>>
>>108934848
>fast is good
just stop believing your zoomer PM. That's his job to make you believe that.
>>
>>108935112
Fast == good, but fast development != fast execution.
>>
I made the very first /dpt/ :3 just checked in to see it’s still going, good work /g/! I’m proud of you
>>
>>108934848
>>108934866
Know your place and hang yourself, you subhuman, ban-evading, falseflagging troon
>>
>>108932811
I have a bunch of open-source things out there already and none of them have gotten laughed at
some have gotten stars by other people
and if you screw something up you can fix it
>>
>>108935558
>and if you screw something up Claude (TM) can fix it
FTFY
>>
>>108935564
Or not: https://mastodon.gamedev.place/@JeremiahFieldhaven/116654345332213390
t. >>>/g/vcg/ habitué
>>
>>108933584
All that bloat is to align emojis and other unicode fag shit.
>>
reading the environment section for Vscode is so boring. Can't remember anything anyway.
>>
>>108933120
Those tards are flooding repositories with Java, C#, and jeeted C++ code that is easy to spot because it looks like Java mixed with C and filled with memory bugs despite abusing smart pointers.
>>
>>108935532
Not true at all. Im not ban evading, your seethe tells me that you’re trans and codetrans. VibeGODS won
>>
I just spent two hours tard-wrangling Gemini to output two lines of Lua code, and it failed miserably. We should turn the dumbasses who promote LLMs into tasty, tasty food.

No, it's not cannibalism. Pretty much like autists they were never human to begin with.
>>
>>108932455
i'm trying to learn c++ and the win32 api since i'm only decent at c#
>>
>>108936247
Poor decision. You should look into the NTAPI.
>why
Learn how root directory handles work with NtCreateFile, and then wonder why CreateFile doesn't support them.
>>
>>108936247
Use C instead of C++. Designated initializers and inline structs make filling out Win32 parameters so much easier.
>>
>>108936297
I'm working on a particular GUI application I've wanted to make so I don't think NTAPI will be much help here.
>>108936436
Doesn't C++20 have designed initializers? Or do you consider them inferior just by the nature of them being more restrictive.
>>
>>108934848
Enjoy your increasing token costs, slopster.
>>
File: win32u_dll.png (31.0 KB)
31.0 KB
>>108936483
>he doesn't know how to into win32u.dll
>>
>>108936483
Can't do this in C++20, but it's valid C99.
some_function(&(struct foo){
.bar = 5,
.baz = 10,
});
>>
>>108936553
I just said I'm learning the Win32, how would I know any of this shit? I'm writing basic CreateWindowExW calls nigga.
>>
File: günther.jpg (11.4 KB)
11.4 KB
public static void main(String[] args) {
learn2Code();
}

public static void learn2Code() {
char[] string = { 73, 102, 32, 121, 111, 117, 32, 100, 111, 110, 39, 116, 32, 114, 101, 112, 108, 121, 32, 116,
111, 32, 116, 104, 105, 115, 32, 112, 111, 115, 116, 32, 121, 111, 117, 114, 32, 109, 111, 116, 104,
101, 114, 32, 119, 105, 108, 108, 32, 100, 105, 101, 32, 105, 110, 32, 104, 101, 114, 32, 115, 108, 101,
101, 112, 32, 116, 111, 110, 105, 103, 104, 116, 33 };

System.out.println(string);
}
>>
>>108936597
I'm not telling you where to stop, I'm telling you where to start.
>>
>>108936613
thank you then
>>
File: 1775379423193913.jpg (292.7 KB)
292.7 KB
>>108934852
>an LLM will delete a vibe coder's entire production database, but only
Nah, they do that aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaall on their own.
>>
>>108936575
wat(({
Wat x{1, 2};
&x;
}));

Reply to Thread #108932455


Supported: JPG, PNG, GIF, WebP, WebM, MP4, MP3 (max 4MB)