HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Firfi

no profile record

Submissions

Model-Based Testing for Dungeons & Dragons

loskutoff.com
109 points·by Firfi·3 เดือนที่ผ่านมา·76 comments

Vibe code isn't meant to be reviewed

monadical.com
19 points·by Firfi·ปีที่แล้ว·26 comments

Mindfulness in TypeScript code branching, or how to if/else

monadical.com
6 points·by Firfi·2 ปีที่แล้ว·1 comments

TypeScript Validators Feature Comparison

typescript-validators.com
8 points·by Firfi·2 ปีที่แล้ว·1 comments

Building a Ticketing System with Solana Mobile and Metaplex Foundation Umi

monadical.com
5 points·by Firfi·2 ปีที่แล้ว·1 comments

Kraken the Code: How to Build a Talking Avatar

monadical.com
2 points·by Firfi·2 ปีที่แล้ว·1 comments

Integrating AI Models into Zulip Chatbots Using FastAPI: Part 2

monadical.com
2 points·by Firfi·3 ปีที่แล้ว·1 comments

comments

Firfi
·3 เดือนที่ผ่านมา·discuss
That's a great idea, in fact. I'll try it out next time. Maybe even a mix, because I do sometimes want to be very specific about some expressions and experiment with wordplay
Firfi
·3 เดือนที่ผ่านมา·discuss
In my view, the edge cases like so (I think peasant railgun even mentioned in dm handbook) are more of a community problem than the game's. If it can be called a problem, of course - some tables enjoy those shenanigans, some don't.

What players and DMs are forgetting more often than not is the wording somewhere in the start of dm book: dm can overrule any rule. [to facilitate the game mood and direction that the table has agreed upon] [and a larger overarching problem is probably that there's often no such agreement before the game]
Firfi
·3 เดือนที่ผ่านมา·discuss
That's the plan! D&D combat can be a slog sometimes, and when it is, that kills a lot of fun for me as a story-first approach adept. I'd really just ask about that or that rule from a chatbot, or have a list of weighted actions presented to me at my turn. That's where I'm moving towards - a good spec is hopefully what should enable that direction. Hopefully...
Firfi
·3 เดือนที่ผ่านมา·discuss
Sorry for that, everyone. I did use the AI to help me with structure and English. I thought I'd proofread and edited that enough to be readable, but apparently it still smells. I'll update the wording soon.
Firfi
·3 เดือนที่ผ่านมา·discuss
Right. Quint is not used in runtime and is not supposed to be. It's a strong testing layer. But there's much more to it. My bigger idea is that I would generate whatever implementation from it, hopefully, with an agentic loop - the MBT test is a natural feedback harness to leave coding overnight. So dnd-rust at some point, maybe? If someone develops a game, they would be able to generate a core logic in rust for bevy, in c# for unity, in (whatever it's used there) for godot. That's in an ideal world.
Firfi
·3 เดือนที่ผ่านมา·discuss
Dungeons & Dragons rules are a spec spanning thousands of pages, not formalized, but thoroughly tested by the community. Moving them to a formal specification language (Quint) was an obvious next step. It worked and proved to also be a great LLM self-checker.
Firfi
·ปีที่แล้ว·discuss
Thank you (twice!) for reading it. The idea wrapped in a scandalous topic indeed, but the PR process ambiguity was also what was the last straw for me to write it.
Firfi
·ปีที่แล้ว·discuss
That's one of my biggest frustrations - I wasted a lot of time on reprompting. I was making myself stick to 100% LLM approach for a while, in order to learn.

I can't say for everyone, but for me it's hit-and-miss: if LLM starts with "Oh, sorry, you're right" that's a STRONG signal I have to take over right now or rethink the approach, or I get into the doom spiral of reprompting and waste half a day on something I could've done myself by that point, with only difference that after half a day with a coding agent I discovered no important domain or technical knowledge.

So, "how much" to me depends so very much on seemingly random factors, including the time of the day when Antropic decides to serve their quantised version instead of a normal one. On non-random too, like how difficult the domain area is, how well you described it in the prompt, and how well you crafted your system queries. And I hate it very much! At this point, I'm trigger-happy to take over the control and write the stuff that LLM can't in the "controlling package" and tell it to use it as an example / safety check.
Firfi
·ปีที่แล้ว·discuss
It seems to me we have to find out how to figure out "what matters" to have the benefits that 10x vibe coder bros promise. I think we still have to review (despite my clickbait title), it's just different things that we are looking for in slop, and different type/amount of mental strain required. For more important libs, I guess we can "overshoot" a bit and put more time into vetting vibe code (and making it the guardrail code). While in the "next revolutionary React Todo App" the balance could be much farther towards vibe...
Firfi
·ปีที่แล้ว·discuss
I actually do recommend reviewing manually - it's just very convenient to see when a person wrote something (then much more scrutiny can be applied) vs. when the work was outsourced to AI. I feel like there is another application though, but didn't mention it for it's not that clear to me yet: you can yet again estimate whether a new programmer can actually code or if they 10x YOLO their way slowly bringing codebase maintainability down.
Firfi
·ปีที่แล้ว·discuss
Just feeling and experience, really. For me, if I spent time with the vibe code snippet and improved it until I can say "yes I would've written this" it's not slop anymore, even if it was written by Claude initially.

On the contrary, if I glanced over the code and could say "ok it doesn't look terrible, no obvious `rm -rf` and all", even if I changed a couple obvious mistakes, I still consider it vibe.
Firfi
·ปีที่แล้ว·discuss
After some vibe coding frustrations, ups and downs, I found that splitting the code explicitly into well-curated, domain-heavy guidance code and code marked “slop” can solve a lot of frustration and inefficiency.

We can be honest in our PR, “yes, this is slop,” while being technical and picky about code that actually matters.

The “guidance” code is not only great for preserving knowledge and aiding the discovery process, but it is very strong at creating a system of “checks and balances” for your AI slops to conform to, which greatly boosts vibe quality.

Helps me both technically (at least I feel so) with guiding claude code to do exactly what I want (or what we agreed to!) and psychologically because there's no detachment from the knowledge of the system anymore.
Firfi
·2 ปีที่แล้ว·discuss
Hey folks, sometimes on PRs, I find that people aren't well-versed in the intricacies of code branching. So, I wrote a short article to educate fellow engineers and point to it sometimes so I don't have to explain things over and over.

Specifically, many people apparently don't know yet about exhaustiveness and the statement/expression dichotomy and how TS type system can help with it.
Firfi
·2 ปีที่แล้ว·discuss
An app with typescript validators features tests. The test case is based on real use cases but is kept generic. Tests more advanced stuff like algebraic data types, template literals, nominal types, and recursive types. It's not a performance/size benchmark; there's a really nice performance benchmark app that exists already (I linked it there).
Firfi
·2 ปีที่แล้ว·discuss
Hey, sharing my colleague's @juanArias8 article on Solana Mobile here. He'll answer questions/comments in this thread if any popup.
Firfi
·2 ปีที่แล้ว·discuss
We joked with my colleague that this post about real-time text-to-speech lipsync of his was either born too late because Sora is here to rule the industry or too early because his solution is tailored better than Sora for the specific task. Anyway, it's an ironic coincidence that he finished writing it before OpenAI released their video monster
Firfi
·3 ปีที่แล้ว·discuss
They use N-tier architecture and FastAPI to build a scalable Zulip bot that can retrieve messages, links, and images from Zulip
Firfi
·3 ปีที่แล้ว·discuss
Author here! I've added it to my TODO list and will update the article at some point coming week or two. Love how the library looks like - thank you for the link!
Firfi
·5 ปีที่แล้ว·discuss
Can you offer them to pay with your unused connects thought? They seem to regard them very high!
Firfi
·5 ปีที่แล้ว·discuss