Three questions before buying any AI tool:
→ Can I export what I build?
→ Where is my data stored?
→ What happens to my workflows if you shut the product down?
Self-hosting a model makes no sense if you spend under 5k a month on AI.
Below that, the API is cheaper than the person who keeps the server running.
Above it, or with data that can't leave the building, the math flips.
@Brunobuildsai 79% on monitoring and 25% on inference code matches what I see, watching and reporting hands over easily, writing the thing that actually runs doesnt
@niklaslenz_ai the median time per question is what I would weigh against those 10 points, 272 seconds is fine for a benchmark and a lot for a user waiting
@ivanfioravanti@christopherowen what context length is that fast at, the tok/s with a long session already loaded is the number that tells you if 3 boxes would do
Day 25 of 30
One leetcode problem a day or I pay a follower $500. No AI. No autocomplete. No copilot
Problem of the day : 657. Robot Return to Origin
Two counters beat four. One counter is wrong. That gap is the entire problem.
A robot walks a string of U, D, L, R. Did it come home?
Write the final position as a sum of unit vectors and the sequence stops mattering. Addition commutes, so "UDLR" and "RRLLUUDD" land on the same square. The input is a multiset wearing a string costume.
Then the axes split. R and L touch only x, U and D touch only y. So it is not one 2D condition, it is two independent 1D balance checks. Four counters compared in pairs is the literal reading. Two signed counters says the same thing with half the state.
Here is where it goes wrong. Having noticed that two beat four, you try one. Check x + y == 0. It passes both examples.
"RD" ends at (1, -1). Two characters and the whole thing falls over.
→ compression is good until it merges things that never interacted
→ every collapse you make needs the counterexample that stops the next one
Independence of the axes means independence of the checks.
Day 25 of 30
One leetcode problem a day or I pay a follower $500. No AI. No autocomplete. No copilot
Problem of the day : 2091. Removing Minimum and Maximum From Array
This looked like a search over move sequences. It was three additions.
You delete elements one at a time, front or back, until both the minimum and the maximum are gone. Reads like you have to plan an order.
You do not. A front deletion and a back deletion touch disjoint ends, so they commute. Any interleaving of p front pops and s back pops removes the same set. The order is free information.
A strategy is not a sequence. It is a pair.
Once the state space is pairs, only two positions matter. Four assignments, two of them dominated because the later index subsumes the earlier one. Three candidates survive and the answer is their minimum.
I did not trust the case analysis on inspection, so the brute force is a BFS over literal windows that never assumes a strategy is a pair at all. Every permutation of 1 through n up to n = 8. 46,233 arrays. All matched.
→ when your moves commute, stop searching over orderings
→ prove the dominated cases, do not eyeball them
Most simulations are counting problems in a costume.
First version of a voice agent should connect to nothing.
Answer the common questions. Log every call.
The log tells you which integration to build next.