SteelPh0enix's Avatar

SteelPh0enix

@steelph0enix.dev

mostly low-level dev doing random stuff, posting about random things currently working on https://gitlab.com/n7space/canopen/ and github.com/SteelPh0enix/unreasonable-llama

81
Followers
172
Following
115
Posts
18.10.2024
Joined
Posts Following

Latest posts by SteelPh0enix @steelph0enix.dev

Post image

what the fuck?

11.03.2025 08:11 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
A trap is a vectored transfer of control to the supervisor through a special trap
table that contains the first 4 instructions of each trap handler. The base address
of the table is established by the supervisor, by writing the Trap Base Address
(TBA) field of an IU state register called the Trap Base Register (TBR). The dis-
placement within the table is determined by the type of trap. Half of the table is
reserved for hardware traps, and the other half is reserved for software traps as
generated by software trap (Ticc) instructions.

A trap is a vectored transfer of control to the supervisor through a special trap table that contains the first 4 instructions of each trap handler. The base address of the table is established by the supervisor, by writing the Trap Base Address (TBA) field of an IU state register called the Trap Base Register (TBR). The dis- placement within the table is determined by the type of trap. Half of the table is reserved for hardware traps, and the other half is reserved for software traps as generated by software trap (Ticc) instructions.

11.03.2025 08:10 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
A clinically depressed newscaster with Disco Elysium music
A clinically depressed newscaster with Disco Elysium music YouTube video by AILLBREAKFAST

Perfect encapsulation of this month's mood: youtu.be/sjco86ekIlQ

17.02.2025 15:48 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Input/output library - cppreference.com

read about std::print/println: en.cppreference.com/w/cpp/io

10.02.2025 13:11 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Terminal logs from my work in progress Wii emulator, with a few hardware register writes, then a message saying "Handled interrupt 3 at PC to vector".
A few messages after are: "Okay so the emulator wont stop even though i'm telling it to stop. Go go gadget null pointer dereference" and then a segmentation fault

Terminal logs from my work in progress Wii emulator, with a few hardware register writes, then a message saying "Handled interrupt 3 at PC to vector". A few messages after are: "Okay so the emulator wont stop even though i'm telling it to stop. Go go gadget null pointer dereference" and then a segmentation fault

24.01.2025 21:32 ๐Ÿ‘ 131 ๐Ÿ” 37 ๐Ÿ’ฌ 3 ๐Ÿ“Œ 0
Post image

In the end, i told him explicitly where to look for, and he found the proper code. Only the /props/change endpoint was hallucinated.

Pretty OK results i'd say, next up: trying to fetch the whole API schema from that file!

24.01.2025 21:33 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

Two-shot went better, it produced pretty long CoT and was able to find more endpoints without explicitly specifying how they are defined. No hallucinations yet.

24.01.2025 21:31 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

One-shot went pretty bad, listed only few ones. This is most likely due to the fact that the list of endpoints is at the very end of the source file. HOWEVER, it did find some endpoints defined internally (specifically, /slot ones)

24.01.2025 21:30 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
list of llama.cpp endpoints

list of llama.cpp endpoints

Trying out Deepseek-R1 Llama3.1 8B distill for some C++ "code searching" - i've gave him llama.cpp server source, and told him to list all the endpoints.

This is how they are defined in source code; note - these are not *all* endpoints, some are defined inside the handlers

24.01.2025 21:29 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

you see Jeremy Soule in credits and you know it has a banger OST

23.01.2025 22:23 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Despite the TOS/3rd party ecosystem controversy, it's a pretty good hardware. Hopefully they won't lock it down, considering they got their private keys leaked in less than day after announcing the changes lmao

23.01.2025 08:07 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

yeah i bet it's the Reddit's reaction, even "non-political" boards are banning links to twitter

23.01.2025 07:48 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

new handle, new me

also; fuck twitter

23.01.2025 07:44 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

eternal $50 temperance

22.01.2025 19:42 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Fudo Yusei???

11.12.2024 11:05 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

The Justice Department has filed a lawsuit against approximately two dogs.

10.12.2024 20:50 ๐Ÿ‘ 3349 ๐Ÿ” 602 ๐Ÿ’ฌ 208 ๐Ÿ“Œ 404

oh no..... french........

03.12.2024 20:48 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

CRAB PEOPLE

03.12.2024 15:48 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Do Not Buy NZXT | Predatory, Evil Rental Computer Scam Investigated
Do Not Buy NZXT | Predatory, Evil Rental Computer Scam Investigated YouTube video by Gamers Nexus

This story - what NZXT has done - is utterly disgusting. They're running a con - PC rentals at extortionate rates *worse than pay day loans*, lying about the parts inside, constantly increasing prices, false advertising, preying on the poor and children

youtu.be/0pomC1CfpC0?...

01.12.2024 04:49 ๐Ÿ‘ 823 ๐Ÿ” 197 ๐Ÿ’ฌ 34 ๐Ÿ“Œ 10

>blocked
:((

01.12.2024 21:02 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

this also lets you complete the AoC using anything you'd like. You don't even have to use a *real* programming language, you can calculate everything manually if you want, it's a good approach IMO.

01.12.2024 20:47 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

yeah, every task consists of some data to process, instruction, and input box where you put your results.

Parsing input data correctly is part of the challenge in some tasks, it's by no means "annoying", you just need to think a bit :D

01.12.2024 20:45 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

are you 1st timer?
I think it works like that every year

01.12.2024 20:01 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

santa looks very chill this year

01.12.2024 19:59 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

idea shamelessly stolen from bsky.app/profile/invo...

01.12.2024 19:43 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

If someone asks "how can i convert an .mp4 file to .mkv" or some shit like that, the correct answer for every question of this kind is "change the extension"

it's not my fault that you believe in things made up by Microsoft.

01.12.2024 19:43 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
hacker news main page, with my article in yesterday's top 10 in 3rd place

hacker news main page, with my article in yesterday's top 10 in 3rd place

what the fuck, top 3?

wow, thanks, i need to do the fixups for this post ASAP
news.ycombinator.com/item?id=4227...

30.11.2024 07:36 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

be glad you aren't forced to compile software on Windows

29.11.2024 12:22 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

dank magick

29.11.2024 12:22 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

i have NOT proof-read it, so if you notice anything strange just tell me (or better yet, make a PR)

29.11.2024 00:19 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0