m0wer's avatar
m0wer
m0wer@sgn.space
npub1w3va...4c5c
JoinMarket NG
m0wer's avatar
m0wer 4 days ago
Stablecoins are winning. We can use this as an opportunity. Slides from @Kilian image
m0wer's avatar
m0wer 4 days ago
complexipy: Code complexity analyzer Blazingly fast cognitive complexity analysis for Python, written in Rust. > Cognitive complexity measures how hard code is to understand by humans, not machines. Unlike traditional metrics like cyclomatic complexity, cognitive complexity accounts for nesting depth and control flow patterns that affect human comprehension. Inspired by [G. Ann Campbell's research](https://www.sonarsource.com/resources/cognitive-complexity/) at SonarSource, complexipy provides a fast, accurate implementation for Python. **Key benefits:** * **Human-focused** - Penalizes nesting, flow breaks, and human-unfriendly logic * **Actionable insights** - Identifies genuinely hard-to-maintain code * **Different from cyclomatic** - Measures readability while cyclomatic measures structural, testing, and branch density Try it with: ```shell pip install complexipy complexipy . --failed --suggest-refactors # in a python project ``` Example output for JoinMarket NG: ``` joinmarket-ng/tumbler/src/tumbler/runner.py TumbleRunner::_run_taker_phase 19 ❌ FAILED Refactor plans: 1. Extract complex block into helper function, lines 351-405 estimated: 19 -> 7 (-12) steps: - move the selected block into a private helper - pass required values as parameters - return the result/status needed by the caller TumbleRunner::_run_maker_phase 24 ❌ FAILED Refactor plans: 1. Extract complex block into helper function, lines 496-523 estimated: 24 -> 6 (-18) steps: - move the selected block into a private helper - pass required values as parameters - return the result/status needed by the caller 2. Flatten loop body with continue guards, lines 500-521 estimated: 24 -> 14 (-10) steps: - add negative condition checks at the top of the loop - use continue for skipped items - keep the main processing path unindented 3. Flatten nested condition block with guard clauses, lines 505-506 estimated: 24 -> 22 (-2) steps: - invert the outer condition - return early when the condition fails - move the main success path one indentation level left - repeat for inner nested conditions where safe ```
m0wer's avatar
m0wer 5 days ago
What if Bitcoin already had all it needs to scale and do so with decent privacy? I want my friends&family Bitcoin services to be as good as my Jellyfin+Ombi setup. People *ask* for an account, it's not me pushing it to them. Because it's better than Netflix, easy to use, and it just works. Now, I want to improve my cashu mint setup. Find a nice mobile wallet to recommend (looks like minibits for now), and have a fast and robust LN node underneath so that payments work and settle fast. Will share the final setup once it proves to work for my users. View article →
m0wer's avatar
m0wer 6 days ago
DeepSWE: Measuring frontier coding agents on original, long-horizon tasks ![benchmark](https://m.stacker.news/144105) > Today's leading public coding benchmarks are starting to saturate at the frontier: top models cluster within a narrow score band where adjacent configurations often overlap on confidence intervals. DeepSWE is a long-horizon software engineering benchmark built to separate them. It delivers four advances over existing public benchmarks: > **Contamination free**: Tasks are written from scratch, not adapted from existing commits or PRs, so no model has seen the solution during pretraining. > **High diversity**: Tasks span a broad pool of 91 repositories across 5 languages. > **Real-world complexity**: Prompts are ~half the length of SWE-bench Pro's, yet solutions require 5.5x more code and \~2x more output tokens. > **Reliable verification**: Verifiers are hand-written to test software behavior rather than implementation details. > The result is a benchmark that reflects how today's frontier coding agents actually perform in software engineering work.
m0wer's avatar
m0wer 1 week ago
The Economics of Protocol Design: Proposing Lightning over Ark‬ - YouTube René Pickhardt at BTC++ conference. Description: Venture Capital Money has a surprising influence over protocol design. Not rarely technical sound solutions won't find consensus due to market sentiment and selfish interests of participants. We investigate this with the example of the debate about ark vs. lighting network as the future payment system for Bitcoin. Paper: [https://arxiv.org/abs/2601.04835](https://arxiv.org/abs/2601.04835)
m0wer's avatar
m0wer 1 week ago
We're now co-signing JoinMarket NG releases! @/dev/fd0 has reviewed up to 0.30.0 and that's the first co-signed release. He also fixed a docker image reproducibility issue. Still looking for more eyes. If you can review the code and want to co-sign with us, please reach out.
m0wer's avatar
m0wer 1 week ago
I have a problem. I only like Primal for its UX but I'm getting tired of "mentioned event not found". Did not come to nostr for censorship but for censorship resistance. Any Nostr client recommendations? Have tried Iris and wisp already and was not convinced :(
m0wer's avatar
m0wer 1 week ago