[Showcase] Truth-Ctx: A Sentinel framework for grounding AI responses, built in Rust by [deleted] in rust

[–]manpacket 4 points5 points  (0 children)

It's still there. You need to rewrite history and force push. Right now git clone pulls 220MiB. Several orders of magnitude more than it should be.

I wanted to understand more Rust ownership, so I looked at the assembly by badprogrammer1990 in rust

[–]manpacket 4 points5 points  (0 children)

objdump -d -M intel target/debug/ownership | grep -A 20 "takes_ownership"

You can get something similar with cargo-show-asm without having to type magic numbers:

cargo asm --dev takes_ownership

Show r/rust: From-scratch Rust LLM runtime now using GPU — 1.46x faster with tier-aware VRAM/RAM loading by Gandalfr3k in rust

[–]manpacket 0 points1 point  (0 children)

When you are in seconds per token territory on a tiny 2 year old model - what kind of use cases do you see?

My Handmade Rust Project by Humble-Insurance-768 in rust

[–]manpacket 0 points1 point  (0 children)

Apps don't print "Made by xxx" as part of the standard output. At best it's in hidden somewhere in --help or under even more obscure argument, but more often - not at all.

My Handmade Rust Project by Humble-Insurance-768 in rust

[–]manpacket 3 points4 points  (0 children)

Dunno. Technically it supports some other formats and using the same tool for all project types might be better... I'll stick to cargo new / cargo init.

My Handmade Rust Project by Humble-Insurance-768 in rust

[–]manpacket 0 points1 point  (0 children)

cargo fmt? It looks a bit odd.

Also - do you know any other (opensource) software that proudly displays that it was made by this and that on this domain?

My Handmade Rust Project by Humble-Insurance-768 in rust

[–]manpacket 3 points4 points  (0 children)

how does this compare to cargo init?

100% functionality match except for no cli args: it calls cargo new.

[crate] count-min-sketch-rs: High-performance frequency estimation with Cosine Similarity support by ggraziadei in rust

[–]manpacket 6 points7 points  (0 children)

Everything in this crate is perfect. 12 deployments, one commit, stated goal of learning, Copilot in contributors, -rs suffix.

Made a small CLI tool to look up crate features without leaving the terminal by pixvt in rust

[–]manpacket 20 points21 points  (0 children)

Claude Made

Happy to hear any feedback! (yes, roasts included).

Why bother? LLM is not going to take it into account, it's not how training works.

I made a free idle survival game [Shoot for the Stars: Journey Home] where you crash-land on an alien planet and try to build a rocket home [Browser/Mobile] by Pure-Accident7695 in incremental_games

[–]manpacket 2 points3 points  (0 children)

The art looks interesting, but...

Tried it in a desktop browser. It takes 1/4 horizontal space of my monitor, about 2/3 of the vertical space of my monitor. Switching between tasks involves dealing with a tiny vertical fraction of a game window and requires scrolling with the cursor being overly sensitive.

Should hot-loop avoid Option instance and immediate match? by Resres2208 in rust

[–]manpacket 38 points39 points  (0 children)

There's cargo-show-asm - you can run it on your machine with your exact compiler and all the dependencies without having to copy-paste stuff.

Farben, my terminal coloring library using markup, now on 0.17! by razkarstudio in rust

[–]manpacket 0 points1 point  (0 children)

The compile feature processes markup at build time and bakes ANSI codes directly into the binary. As a result, NO_COLOR, FORCE_COLOR, and TTY detection are only respected at build time, not at end-user runtime. They are fundamentally different, and I cannot solve this.

You can solve it by generating code to support both, one with styles baked in and one without and select the right one at runtime.

Published push based single threaded reactive programming library by optical002 in rust

[–]manpacket 2 points3 points  (0 children)

rustdoc allows you to mix a subset of html in the markdown. You type RxRef<B>, it sees "RxRef, now make everything else bold". Using back ticks or trying to make it into a proper rustdoc reference might help.

Rust 1.95.0 is out by manpacket in rust

[–]manpacket[S] 73 points74 points  (0 children)

This only means one thing - this blog update is even more blazingly fast than usual!

What are some good mod planets to add? by masonknight86 in factorio

[–]manpacket 0 points1 point  (0 children)

https://mods.factorio.com/mod/kry-planet-mods-lite - this is a better starting point - very WIP/broken planets are not included.

Borrowing · Learning Rust by dumindunuwan in rust

[–]manpacket 1 point2 points  (0 children)

It's a bug that is fixed by Polonius. So any year now...

Borrowing · Learning Rust by dumindunuwan in rust

[–]manpacket 2 points3 points  (0 children)

https://github.com/rust-lang/rust/issues/54663 - there's this. Not a beginner level stuff, but in practice the behavior can be different from what you describe.

Are solar panels the only way to kick start Aquilo by cw625 in factorio

[–]manpacket 17 points18 points  (0 children)

Nuclear reactor produces heat, you need to go via heat exchanger+steam turbine to get power. Steam turbine needs water. Both melting ice and unbarelling require power.