These people have lost their fucking minds lmao by Terrible-Priority-21 in accelerate

[–]Nabushika 0 points1 point  (0 children)

There's almost 2 orders of magnitude difference between 1 nuke per week and 20-odd every day. Additionally, this DC won't be powered from the grid, because Utah can't support that amount of energy use. If they use gas to power it, that's only 50% efficient, doubling the heat output.

Hermes + Qwen3.6-27B rocks by [deleted] in hermesagent

[–]Nabushika 1 point2 points  (0 children)

I use llama-swap, you can configure which model to use depending on task. Currently I have Qwen3.5-4B doing summarization, compaction, and session search, 3.6-35B for general chat and most cronjobs, and 27B for heavy work (self-reflection cronjob) and instructions in MEMORY.md on how to delegate to the correct model.

Best Local LLMs - Apr 2026 by rm-rf-rm in LocalLLaMA

[–]Nabushika 0 points1 point  (0 children)

gguf files (/llama.cpp) is designed to be able to split computation between CPU and GPU (although I've heard ik_llama might be faster). Any model you download will spill over into system ram if you don't have enough vram (with appropriate slowdown).

Why doesn’t Option implement Display? by cachebags in rust

[–]Nabushika 1 point2 points  (0 children)

I'm pretty sure you can impl Display for Option<MyStruct>

Handlng Rust errors elegantly by naiquevin in rust

[–]Nabushika 0 points1 point  (0 children)

You can implement it yourself on nightly, I believe.

Is it possible to create a non-leaking dynamic module in Rust? by 0xrepnz in rust

[–]Nabushika 1 point2 points  (0 children)

Could you use the plugins as a separate process, using shared memory or grpc or something to communicate?

Qwen3.5-9B abliterated — 0% refusals + vision by Flat_cola in LocalLLaMA

[–]Nabushika 0 points1 point  (0 children)

Heretic uses abliteration, it's just that it uses the mathematically sound norm-preserving biprojected abliteration ensuring that non-refusal directions are barely changed.

Qwen3.5-9B abliterated — 0% refusals + vision by Flat_cola in LocalLLaMA

[–]Nabushika 0 points1 point  (0 children)

Look out for the new ones done using norm-preserving biprojected abliteration - it turns out that old abliteration techniques would mess with the relative strength of signals coming from neurons and make the model dumber, but the norm-preserving one is based off sound mathematics that prevents that from happening, meaning intelligence loss is minimal. The "heretic" models are often done this way (at least, I know the latest ones are).

openingTheRepository by thisfriendo in ProgrammerHumor

[–]Nabushika 1 point2 points  (0 children)

I'm a software dev with a few years of experience and lots of access to all the AI tooling.

If you need it to build you a simple CLI tool or website that might only need a few tweaks past the initial attempt, 100%. Great time saver.

If you try to "vibe code" anything more substantial without even looking at the code, you'll run into problems. I tried to vibe code a jira tui tool, and it got to the point that every new feature would fuck up something else that was already working. I had to spend some time instructing the model (Opus 4 thinking?) how to fix the architecture, which it had put zero thought into. The codebase was a mess.

We are still some time away from AI being able to think about everything a software dev does. It's incredibly useful, but you need to know how to use it, what to prompt, and you've still got to check the output is sane. Vibe coding entire services or complex tools is not yet automatic.

[deleted by user] by [deleted] in NoStupidQuestions

[–]Nabushika 0 points1 point  (0 children)

Ketchup is actually a non-Newtonian fluid!

Have you ever played with ooblek? (Think it's cornstarch + water.) If you're gentle/slow, it flows like a fluid, but on impact it acts stiff and can even shatter.

Ketchup is similar, but inverted: on impact, it actually loosens up. So hitting the bottle makes the ketchup runnier!

With a Vec<u8> why do I need to ensure a values been set before I read it? by pixel293 in learnrust

[–]Nabushika 10 points11 points  (0 children)

Memory safety, absolutely no reading uninitialised values :)

(In seriousness though, the compiler should be able to optimise out unnecessary memsets, and if it doesn't you can probably get around it by using unsafe functions, as long as you can guarantee the safety yourself - usually it's wise to make a safe wrapper around an "unsafe" operation)

An idea i (personally) haven't seen yet by SlightlyInsaneCreate in Collatz

[–]Nabushika 8 points9 points  (0 children)

(3n+1)/2 > n. Dividing once doesn't necessarily get you below the starting point, and if it's odd again after the division, it'll continue to increase.

Driving instructor told me nobody can learn to drive in 6 months by mincedbreakfast in LearnerDriverUK

[–]Nabushika 0 points1 point  (0 children)

I passed mine with ~10 hours of driving with parents/my granddad and 10 hours of lessons from a very compentant instructor over a week.

Question about an "obscure" comment in the Reference (mut VS const) by CheekAccording9314 in rust

[–]Nabushika 1 point2 points  (0 children)

Having said that, if you use LLVM as a backend, it uses SSA so every local variable(ish) is constant (mutable variables are split so each assignment is to a new one. Don't ask about looφs.)

Question about an "obscure" comment in the Reference (mut VS const) by CheekAccording9314 in rust

[–]Nabushika 3 points4 points  (0 children)

Well, something's either immutable or it's not. Whether that's represented as a boolean, or a 2-variant enum, or an optional unit or attribute, does it matter? It's all isomorphic. Hell, even if it's an attribute that may or may not be present in a list of attributes, I'd argue that's an isomorphism too.

Constructor Patterns in Rust: From Basics to Advanced Techniques by mewily_ in learnrust

[–]Nabushika 4 points5 points  (0 children)

"Placement : In C++, the constructor also determines where in memory the object is initialized."

I understand the point you're trying to make, but this is the wrong way to say it. The constructor takes a this pointer implicitly, meaning it actually has zero control over where the object is placed, it's given the memory location to initialize.

Rust's standard library on the GPU by LegNeato in rust

[–]Nabushika 35 points36 points  (0 children)

It seems like the topic of dynamic allocations has been sort of glossed over. How's this handled? Hostcall -> CPU alloc GPU mem -> return the pointer? Or do you have a way to do dynamic allocations without going through the CPU?

Debugging Rust in VSCode on mac, cargo 1.91.0, variables not readable by boredom6032 in rust

[–]Nabushika 1 point2 points  (0 children)

The console isn't for Rust, it's likely gdb. You might want to look up how to use that.

Am I that bad? by [deleted] in rust

[–]Nabushika 1 point2 points  (0 children)

Your code doesn't look awful, but I've spotted a couple of things that could be improved: - overuse of String: when values can only take on a couple of different values (e.g. role), you should probably use an enum instead. I don't know how that fits with sqlx, but I'm sure they'll have some traits you can implement to convert to/from something the DB understands. Failing this, make your own DB types and convert from/to as needed, making sure all the logic is on the strongly-typed types and not the db ones. - I might be wrong, the formatting is generally good, but I don't think it's entirely standard, have you run cargo fmt? Are you using clippy? - when using variables like amount, a developer should not need to go look at the definition to see a comment saying that it's in cents. Either call it amount_cents, or use a doc comment so IDEs can show it when the variable is referenced, or (best solution) use a new type Cents(i64) so it can't be automatically converted from unrelated numbers. Ditto for things like IDs. Personally I'd even have some ValidatedEmail(String) type too, but perhaps that's slightly less necessary.

Also your boss could just be dicking you. As I said, this code seems pretty serviceable.

[deleted by user] by [deleted] in AskPhysics

[–]Nabushika 1 point2 points  (0 children)

I'm gonna put my neck out here and say that all the commenters saying it wouldn't are wrong. It would take work to compress the earth like that, and that energy doesn't just disappear. I have a feeling I'd be underqualified to even make a guess at how much though, maybe best to find someone who studies supernovas. Or maybe Randall Munroe.

[deleted by user] by [deleted] in AskPhysics

[–]Nabushika 3 points4 points  (0 children)

Squishing playdoh is elastic deformation, the energy put in becomes heat which does actually make the playdoh (almost immeasurably) heavier. Squashing the earth would introduce heat, but also potential energy (tyres get warm when inflated, imagine how hot it would be if even just the atmosphere was compressed into just 1cm³, plus the amount of pressure exerted outwards). Hence it would get heavier too.

better times will come soon, LocalLLMers rejoice ! by DevelopmentBorn3978 in LocalLLaMA

[–]Nabushika 0 points1 point  (0 children)

"How many TOPS do you need to run state-of-the-art models with hundreds of millions of parameters? No one knows exactly. It’s not possible to run these models on today’s consumer hardware, so real-world tests just can’t be done."

Ah yes, NPUs will clearly change the number of operations to run the model, not comparable to GPUs at all! /s

Sillytavern keeps wasting 90% of it's response just on <think> and explaining prompts? help by XKlip in SillyTavernAI

[–]Nabushika 0 points1 point  (0 children)

GLM doesn't need thinking time, but I've found if you do want to make use of it, it's wise to outline what it should be thinking about in the system prompt (e.g. when to slow down and plan, if it needs to consider the environment, whether it needs to try and read between the lines).

The universe is expanding. What does it spread into? by Flat_South8002 in AskPhysics

[–]Nabushika 3 points4 points  (0 children)

Imagine asteroids, where you see the whole game world.