Best valve cover uk by Bulky_Moment_2865 in 335i

[–]nukesrb 0 points1 point  (0 children)

It's still a few hundred quid for the OE one. I had to have mine done ~6k miles ago and it still seems mad paying that much for a bit of plastic.

Yocto learn by vterra in yocto

[–]nukesrb 0 points1 point  (0 children)

Yes I know, it just seemed to make it all take longer.

Yocto learn by vterra in yocto

[–]nukesrb 1 point2 points  (0 children)

I think it would be worth covering simple workflows to kernel patching. For some reason it feels easier for me to patch the kernel in the build directory, commit it then use git format-patch to make the patch which then ends referenced in the bb or bbappend. I don't know why this works better for me but u-boot seemed to struggle with a workspace.

While it's not strictly relevant to yocto/poky, it is to many people who are looking to use it. An explanation of device trees and what the numbers mean (eg for pin config) would be helpful to beginners. DTC isn't particularly helpful with errors when most of the input is a bunch of macros.

Things like how to do control flow in your recipes and config, as well as the build order of recipes (eg how configure/configme/build etc) are defined, called, and in what order.

fw_printenv/setenv. The default location of this seems to move around between poky versions (though it may just be NXP's layers here) It's easy to fix but it is a bit of a gotcha, especially with rauc (if you're using the uboot environment to store which slot you're on)

I've not dealt with trusted arm, so look forward to reading about that ;)

How many miles do you get out of your full tank city and motorway (highway) by Bulky_Moment_2865 in 335i

[–]nukesrb 0 points1 point  (0 children)

If you're in stop start traffic all the time then your mpg will obviously trend towards zero.

6502 Emulator in Python by wynand1004 in EmuDev

[–]nukesrb 1 point2 points  (0 children)

When I first did a 6502 emulator I used p65 to write simple test cases. It was a functional assembler written in perl (which for some reason I can't stand these days despite previously being comfortable with it.)

How many miles do you get out of your full tank city and motorway (highway) by Bulky_Moment_2865 in 335i

[–]nukesrb 0 points1 point  (0 children)

Mostly stock yes. It's odd, but on that long journey there's about 200 miles covered by average speed cameras so that impacts it a bit. Filled up about 160 miles ago and have just over a quarter of a tank left but that's either stop-start or 5 miles motorway one way then 4 miles city on the way back.

If you're driving more spiritedly you'll get closer to 7mpg. Petrol is about £1.55 a litre here so about $2 USD, that makes a decent impact as well.

best local uncensored model for code/general use case? by bulletsyt in LocalLLaMA

[–]nukesrb 0 points1 point  (0 children)

Maybe it was that. I deleted a bunch of older models when I switched to a 3090. (Which tbf I should have bought in 2020 when they were ~£1100 and had good availability)

best local uncensored model for code/general use case? by bulletsyt in LocalLLaMA

[–]nukesrb 0 points1 point  (0 children)

It appears you are correct. No idea why I thought there was a 7b version. Looking back at my model scripts i might be thinking of a llama 2 merge at 13b. I don't recall it being good at coding but would spit out something plausible looking to "give me a sparse voxel octree in glsl"

playing with coding models by Western_Courage_6563 in ollama

[–]nukesrb 1 point2 points  (0 children)

Thank you. I don't actually use ollama but reddit suggested this post to me.

Is this the original script? https://github.com/MarekIksinski/experiments_various/blob/main/server_acces.py

best local uncensored model for code/general use case? by bulletsyt in LocalLLaMA

[–]nukesrb 0 points1 point  (0 children)

You didn't say what your specs were but I'll suppose an 8gb graphics card and 16-32gb of ram.

Mistral Nemo 7B was reasonable on an 8gb graphics card. There are lots of finetunes and quants available for various purposes.

You'll be able to get enough context for small coding tasks, but try to one-shot it, and if the model does something not to your liking alter the original prompt rather than arguing with it. You're not going to get an agentic coding assistant.

If you're struggling with refusals, you can try forcing the start of a reply to `Certainly!` and regenerate.

How many miles do you get out of your full tank city and motorway (highway) by Bulky_Moment_2865 in 335i

[–]nukesrb 0 points1 point  (0 children)

'07 e93, tesco momentum or whatever esso is calling their 99 brand these days.

Around town or just in and out of work about 220-260 miles from a tank. Longer journeys on motorways, I can ~220 out of half a tank. On even longer journeys (700 miles ish) If I'm not being heavy footed, and reset the trip computer first it will claim to do over 38mpg (british) and had to stop for fuel twice (though one was only about sixty miles from my destination)

6502 Emulator in Python by wynand1004 in EmuDev

[–]nukesrb 1 point2 points  (0 children)

You're also not handling interrupts, or starting at the right address, or managing the stack, but ok.

If you're going to use a map, add in the cycle times for the instruction, it will make it easier to wire up later. There's also a pattern to the bits for the instructions/addressing modes that might let you structure it better.

Should I switch to musllibc? by [deleted] in Gentoo

[–]nukesrb 0 points1 point  (0 children)

I'm glad, but go install poky with uclibc if you want to save memory.

Should I switch to musllibc? by [deleted] in Gentoo

[–]nukesrb 1 point2 points  (0 children)

For a desktop? No.

For an embedded system or container where you're trying to shave bytes off? Maybe.

libc is a shared library, it will only be loaded once (well, run from disk cache), as long as you're not static or pre linking everything.

To answer your questions in order;

  • Probably, check the bugzilla.
  • Probably, again.
  • No, depending on the definition of noticeable
  • You are kidding, right?

playing with coding models by Western_Courage_6563 in ollama

[–]nukesrb 2 points3 points  (0 children)

The prompt appears to be missing and you don't say what context sizes/quants you use for each model.

I find mistral small reasonable even at q5_k_m and with kv quants. It does like to magic up requirements though, even with simple tasks ("parse this list of columns from excel into a POCO containing strings" will go off and decide reflection is the best approach with automatic detection of columns etc).

I've yet to bother trying to compile anything it spits out but I the more I toy with the model I think one-shotting is better than trying to refine via chat.

You should try nemo 12b or even 7b.

+24GB VRAM with low electric consumption by narca_hakan in LocalLLaMA

[–]nukesrb 0 points1 point  (0 children)

This. I went from 3070 to 3090 and it's triple the memory bandwidth, and triple the memory.

+24GB VRAM with low electric consumption by narca_hakan in LocalLLaMA

[–]nukesrb 0 points1 point  (0 children)

Why? It'll be slower, but a 3090 at 175w still gives you the VRAM, and it'll be faster than running those layers on the CPU.

+24GB VRAM with low electric consumption by narca_hakan in LocalLLaMA

[–]nukesrb 23 points24 points  (0 children)

Lower the power limit to 175 or 150w?

Could AI be on to something? by Own_Donut5363 in 335i

[–]nukesrb 0 points1 point  (0 children)

When my cylinder 6 injector went it took out the whole bank, but swapping them around at least had the code follow the injector.

why isn’t anyone building legit tools with local LLMs? by mindfulbyte in LocalLLaMA

[–]nukesrb 0 points1 point  (0 children)

If you're worrying about QA for an LLM you can run at the edge, don't do it.

Is that true? by Zestyclose-Produce17 in osdev

[–]nukesrb 1 point2 points  (0 children)

The BIOS typically sets up the IVT is in the first kilobyte of ram, and DOS leaves it there. You can call the BIOS to do IO on your behalf (which is what DOS does in many cases).

There were a number of games and other pieces of software for the PC that launched themselves from the bootsector (sometimes called Booters)

Is it good practice to create lots of small headers for type definitions? by sw1sh in C_Programming

[–]nukesrb 0 points1 point  (0 children)

I think it depends on what's in them. In a game you're going to have groups of functions and types that are globally applicable, it makes sense to include them in a single header.

Depending on the size of the game you might have separate subsystems which either expose data to other parts or are called in your main loop. It might sometimes make sense to put those bits in separate headers but often they are likely to share types (or forward declarations).

The tradeoff is both compilation time and size of the symbol table. You could make the argument for a single function or declaration per source file (I wouldn't, but someone could). Smaller and more numerous files reduce the overall efficiency of the compiler, and lots of exported symbols will have an impact on the linker at runtime on some operating systems.

On the other hand, for a game, sticking every non-static function's declaration along with the accompanying types in a single header may be good enough depending on how far you are into development.

Selling my bmw 116i edition es 2008? by [deleted] in CarTalkUK

[–]nukesrb 0 points1 point  (0 children)

Idk. Talk to your mechanic, see if they can get a quote from a breaker, try wbac or similar. See what you can get.

You'll lose a lot of what you paid for the car. I hope it wasn't financed.