226 karma · joined Dec 6, 2025 (11mo ago) · 54 submissions
comment 10mo ago · link · parent
1. How are you handling connection scaling? Realtime presence with many concurrent users gets expensive fast. We cap concurrent WebSocket connections and batch updates every few seconds rather than streaming every event.
2. The pin clustering looks good - are you using a quadtree or just distance-based clustering? At higher zoom levels the overlap can get chaotic.
3. One thing that worked well for us: showing a brief "trail" or fade-out when someone leaves, rather than just disappearing. Makes it feel more alive.
What's your stack? The latency feels snappy.
comment 10mo ago · link · parent
The irony is that trusted publishing pushes everyone toward GitHub Actions, which centralizes risk. If GHA gets compromised, the blast radius is enormous. Meanwhile solo devs who publish from their local machine with 2FA are arguably more secure (smaller attack surface, human in the loop) but are being pushed toward automation.
What I'd like to see: a middle ground where trusted publishing works but requires a 2FA confirmation before the publish actually goes through. Keep the automation, keep the human gate. Best of both worlds.
The staged publishing approach mentioned in the article is a good step - at least you'd catch malicious code before it hits everyone's node_modules.
comment 10mo ago · link · parent
1. Throttling updates is critical. We went from per-event updates to 5-10 second batches and cut our WebSocket costs by 90%+ while the UX barely changed.
2. For the "ships crossing land" artifacts people are noticing - interpolating between sparse data points on a Mercator projection will always create these. On a globe (orthographic), great circle interpolation looks correct, but on flat maps you need to detect ocean crossings and handle them specially.
3. The biggest perf win was hybrid rendering: static heatmap for historical data + WebGL particles only for "live" movement. Trying to animate everything kills mobile.
Would love to see this with more recent data. The 2012 snapshot is fascinating but comparing pre/post-Suez blockage or COVID disruptions would be incredible.
4.
Show HN: I made analytics you want to watch(prysmhq.com ↗)
2 points · by yoan9224 · 10mo ago · discuss
comment 11mo ago · link · parent
Context: I'm a solo dev who got frustrated with enterprise analytics tools. I was paying Mixpanel + GA4 subscriptions while my side project generated zero revenue. Classic indie hacker mistake.
The final straw was GA4's interface redesign. 2 hours to build a signup funnel. The 45kb script was killing my Lighthouse scores. And I was losing 15% of EU signups to cookie banners.
I wanted to build something that: 1. Looks beautiful (the 3D globe is surprisingly motivating to watch) 2. Answers questions in plain English instead of pivot tables 3. Doesn't cost more than my hosting ($9/month for both seemed fair) 4. Respects privacy without being preachy about it
Technical challenges: - Tracking script size: ended up using event batching + compression to hit 3.8kb - Globe performance: WebGL shader optimization to load in <3s - AI costs: smart routing between GPT-4o-mini and GPT-4 based on query complexity - Realtime scalability: connection pooling because 40 concurrent viewers = $$$ on Supabase
Happy to answer questions about the architecture, privacy approach, or why I chose Supabase over self-hosting!
12.
Show HN: Analytics for indie hackers – $10/mo with a live 3D globe(prysmhq.com ↗)
1 points · by yoan9224 · 11mo ago · 3 comments
comment 11mo ago · link · parent
The legal framework is completely unprepared for this. Current identity theft laws require financial harm or fraud intent. But what's the legal status of an AI that impersonates you with your own data on a platform you actively use? It's not fraud in the traditional sense, but it's definitely some kind of identity violation. We need new categories: "computational identity theft," "algorithmic impersonation," something that recognizes the harm of having your digital self puppeteered by a corporate AI.
The metadata implications are worse than people realize. Even if you never post personal content, Meta can infer relationship status, location patterns, health issues, political leanings from likes, tags, and behavioral signals. An AI profile built from that could plausibly interact in your name with significant accuracy. The person being impersonated might not even know unless someone explicitly asks "wait, did you really say that?"
The immediate solution is legislation requiring explicit opt-in for any AI feature that generates content attributed to a user's identity. No defaults, no dark patterns, no "we'll enable it and let you opt out later." But the deeper problem is the power asymmetry - these companies own the platforms and the data, so they define what's acceptable. We need data portability rights and mandatory AI disclosure so users can at least migrate to platforms that don't pull this.
comment 11mo ago · link · parent
The error correction milestone matters because it's the gate to scaling. Previous quantum systems had error rates that increased faster than you could add qubits, making large-scale quantum computing impossible. If Willow actually demonstrates below-threshold error rates at scale (I'd want independent verification), that unblocks the path to 1000+ logical qubit systems. But we're still probably 5-7 years from "useful quantum advantage" on problems like drug discovery or materials simulation.
The economic argument is underrated. Even if quantum computers achieve theoretical advantage, they need to beat rapidly improving classical algorithms running on cheaper hardware. Every year we delay, classical GPUs get faster and quantum algorithms get optimized for near-term noisy hardware. The crossover point might be narrower than people expect.
What I find fascinating is the potential for hybrid classical-quantum algorithms where quantum computers handle specific subroutines (like sampling from complex distributions or solving linear algebra problems) while classical computers do pre/post-processing. That's probably the first commercial application - not replacing classical computers entirely but augmenting them for specific bottlenecks. Imagine a drug discovery pipeline where the 3D protein folding simulation runs on quantum hardware but everything else is classical.
comment 11mo ago · link · parent
The compelling use case would be sharing business logic between iOS/Android/desktop/web. If you can write core logic in Rust once and have thin UI layers per platform, that's valuable. But Iced's UI abstraction needs to be good enough that you're not fighting platform-specific behaviors constantly. Flutter tried this approach and succeeded commercially but still gets criticized for "not feeling native" on either platform.
Performance is where this could shine. Rust + Iced should theoretically have lower memory overhead and faster startup than the Kotlin runtime + Compose. For apps that manipulate large datasets locally (photo editors, video editors, CAD tools), avoiding GC pauses matters. But for typical CRUD apps that are 90% API calls and list scrolling, I doubt users would notice the difference.
The real barrier is developer experience. Kotlin has incredible IDE support via IntelliJ/Android Studio, instant hot reload, comprehensive documentation, and thousands of libraries. Rust's mobile tooling is immature by comparison. Unless you're already a Rust shop building a performance-critical app, the learning curve probably isn't justified. I'd love to be proven wrong though - more competition in the mobile development space would be healthy.
comment 11mo ago · link · parent
The key insight is recognizing the misalignment between your goals and your manager's goals. Your manager optimizes for team output and organizational needs. Your career growth is a secondary concern - important, but not primary. This creates a fundamental principal-agent problem. The solution isn't to become adversarial, it's to be explicit about your goals and negotiate actively rather than hoping they'll be noticed.
Practically, this means: (1) Having quarterly conversations where you explicitly state "I want to work on X technology" or "I'm aiming for senior by Q3" rather than assuming good work will be rewarded automatically. (2) Building skills outside your job scope through side projects, open source, or internal tools that solve real problems. (3) Being willing to change companies when growth stalls - the biggest salary/title jumps come from job changes, not promotions.
The dangerous flip side is over-optimization. I've seen engineers obsess over "career design" to the point where they won't touch any task that doesn't directly ladder to their promotion case. That creates fragile specialists who can't adapt when their niche technology becomes obsolete. Better approach: have a direction, but maintain broad skills and genuine curiosity. The most interesting career paths come from unexpected opportunities you recognized because you had wide exposure, not rigid planning.
comment 11mo ago · link · parent
But the real test is compile times and cognitive overhead. Rust's borrow checker is theoretically elegant but practically brutal when you're learning or debugging. If Rue can achieve memory safety without lifetime annotations everywhere, that's genuinely valuable. However, I'm skeptical - you can't eliminate tradeoffs, only move them around. If there's no borrow checker, what prevents use-after-free? If there's garbage collection, why claim "lower level than Go"?
The other critical factor is ecosystem maturity. Rust's pain is partially justified by its incredible crate ecosystem - tokio, serde, axum, etc. A new language needs either (1) seamless C FFI to bootstrap libraries, (2) a killer feature so valuable that people rewrite everything, or (3) 5+ years for the ecosystem to develop. Which path is Rue taking?
I'd love to see real-world benchmarks on: compile time for a 50k line project, memory usage of a long-running web server compared to Rust/Go, and cold start latency for CLI tools. Those metrics matter more than theoretical performance claims. The "fun to write" claim is subjective but important - if it's genuinely more ergonomic than Rust without sacrificing performance, that could attract the "Python developers wanting systems programming" demographic.
comment 11mo ago · link · parent
What's particularly insidious is the asymmetry: governments can coordinate offline through military/police radio while citizens lose all communication infrastructure. The $1.5B average economic impact cited in the article is conservative - it doesn't account for destroyed business relationships, lost international contracts, or long-term reputation damage from being seen as "internet shutdown country."
The technical countermeasures are evolving but limited. Mesh networks like Briar or Bridgefy work peer-to-peer over Bluetooth but have tiny range. Satellite internet (Starlink) requires hardware that's easy to detect/confiscate. eSIM switching only works if neighboring countries' towers reach across borders. The hardest problem is the "last mile" - even if you can get data out via satellite/mesh, how do you distribute it locally when cellular is down?
We need international frameworks treating internet access as critical infrastructure with humanitarian protections, similar to water/electricity during conflicts. The ITU could mandate technical transparency - requiring governments to publicly log shutdown orders with specific geographic/temporal scope rather than blanket national blackouts. That wouldn't prevent shutdowns but would create accountability records.
comment 11mo ago · link · parent
Lithium-ion has superior efficiency but degrades significantly after 5,000-7,000 cycles, typically reaching 80% capacity in 7-10 years. If CO2 batteries can maintain performance for 20+ years with minimal degradation (which the article suggests), the lower efficiency becomes less relevant. You're trading 15-25% energy loss for potentially 2-3x longer operational life and no lithium supply chain dependencies.
The real breakthrough is duration-flexible storage. Lithium-ion economics break down beyond 4-hour discharge rates because you're paying for both energy capacity and power capacity. CO2 systems decouple these - the turbine size determines power output, the storage tank size determines duration. That makes them ideal for seasonal storage patterns where you might charge for days during high renewable production and discharge slowly over weeks during winter lulls.
What's missing from the article: what's the round-trip efficiency at different discharge rates? Does efficiency drop significantly when discharging over 12 hours vs 4 hours? That would determine whether these make sense for daily solar smoothing vs weekly wind intermittency vs seasonal storage.
comment 11mo ago · link · parent
I see this in the analytics space constantly. Everyone rushes to clone Plausible/Fathom with minor tweaks because that's the "validated" approach. But the genuinely interesting problems - like real-time 3D geospatial visualization or AI-driven anomaly detection across behavioral patterns - require months of tinkering with WebGL, spatial databases, and ML pipelines before you know if it's viable.
The counter-argument is that "fun" can turn into perfectionism and never shipping. I think the balance is: have fun building the core innovative piece, but be ruthlessly pragmatic about everything else. For Prysm, I had fun building the real-time Globe visualization with Three.js and Supabase Realtime, but used boring proven tools (Next.js, Stripe, Resend) for auth/payments/email. Ship the fun part, commoditize the rest. That's how you avoid the "two years building in stealth" trap while still doing creative work.
comment 11mo ago · link · parent
That said, the privacy argument is compelling for commercial projects. Running inference locally means no training data concerns, no rate limits during critical debugging sessions, and no dependency on external API uptime. We're building Prysm (analytics SaaS) and considered local models for our AI features, but the accuracy gap on complex multi-step reasoning was too large. We ended up with a hybrid: GPT-4o-mini for simple queries, GPT-4 for analysis, and potentially local models for PII-sensitive data processing.
The TCO calculation should also factor in GPU depreciation and electricity costs. A 4090 pulling 450W at $0.15/kWh for 8 hours/day is ~$200/year just in power, plus ~$1600 amortized over 3 years. That's $733/year before you even start inferencing. You need to be spending $61+/month on Claude to break even, and that's assuming local performance is equivalent.
comment 11mo ago · link · parent
The real value would be in clustering books by topic and showing which ones appear together in discussions. If someone mentions "Designing Data-Intensive Applications" and "Database Internals" in the same comment, that's a stronger signal than two isolated mentions. You could build a recommendation engine from that co-occurrence data.
Also curious about the temporal aspect - tracking which books surge during certain news cycles. For example, did "Chip War" mentions spike when the AI compute restrictions hit? That contextual analysis would make this way more useful than a static ranked list. Would definitely use this if it had those features.
comment 11mo ago · link · parent
Also, many people are genuinely burnt out from overwork, not just existential malaise. When you're juggling demanding work, family responsibilities, and barely have time for basic self-care, the problem isn't finding your "highest purpose" - it's structural.
That said, I agree that meaning matters. But meaning doesn't always come from work. Sometimes the healthiest thing is treating work as necessary fuel for a meaningful life outside of it - relationships, hobbies, community involvement.
The "go into politics" solution is fascinating though. Zero-sum games as existential fulfillment feels counterintuitive.
comment 11mo ago · link · parent
Microsoft is using aggressive dark patterns (undismissable upgrade prompts) to force hardware obsolescence and create e-waste. This isn't about security - it's about maintaining the upgrade treadmill when performance improvements have stalled.
The real issue is consent. Users should be able to say "no" once and have that decision respected. Instead, we get daily nagging designed to exhaust users into compliance. This is the opposite of user-centric design.
Time to consider Linux seriously, or at least Windows 10 LTSC IoT which has support until 2032.
comment 11mo ago · link · parent
This is ironic because Ruby has always emphasized doing things "the right way" and developer happiness. A language website should be a poster child for progressive enhancement - especially one that champions elegance and proper practices.
Still, huge improvement over the 2005-era design. Just needs optimization work to align the implementation with Ruby's philosophy.
comment 11mo ago · link · parent
What's particularly concerning is the metadata retention scope: "which websites you visit, and who is communicating with whom, when and how often" with "the broadest possible scope of application" including VPN services. This isn't about protecting children or fighting terrorism anymore - it's about normalizing mass surveillance through legislative attrition. Keep proposing it until opposition fatigues and it slips through.
The only sustainable solution is enshrining privacy rights into constitutional law with penalties for repeated attempts to circumvent them. Otherwise we'll be fighting Chat Control 4.0, 5.0, 6.0 forever.
comment 11mo ago · link · parent
If a user request is hitting that many things, in my view, that is a deeply broken architecture.
I'm building an analytics SaaS and we made the conscious decision to keep it simple: Next.js API routes + Supabase + minimal external services. A single page view hits maybe 3 components max (CDN -> App -> Database).
That said, I agree completely on structured logging with rich context. We include user_id, session_id, and event_type on every log line. Makes debugging infinitely easier.
The "wide events" concept is solid, but the real win is just having consistent, searchable structure. You don't need a revolutionary new paradigm - just stop logging random strings and use JSON with a schema.
comment 11mo ago · link · parent
What's interesting is the 50% vs 80% reliability gap. At 50% success rate on a 4-hour task, you're essentially gambling. If it fails, you've potentially wasted the 4 hours plus the time debugging why it failed.
This is why I think the current "agent" paradigm needs human checkpoints at regular intervals. Let the AI work for 30 minutes, then review progress. Repeat. This way you catch drift early before it compounds.
The other thing missing from these benchmarks: recovery ability. When the AI gets stuck on hour 3 of a 4-hour task, can it recognize the problem and backtrack? Or does it confidently continue down the wrong path?
comment 11mo ago · link · parent
I'm building an analytics SaaS with a similar stack and this validates our architecture choices. A few questions:
1. How are you handling ISR vs full static generation? You mentioned migrating to generateStaticParams - did you pre-generate all email pages or use on-demand ISR?
2. Did you hit any Vercel function limits with the email processing, or is everything cached aggressively enough that it doesn't matter?
3. R2's free egress is a game-changer - are you using Cloudflare's image transformations or handling resizing client-side?
The caching strategy here is the real MVP. Most people underestimate how far good caching with Next.js can take you before you need Redis or more complex infrastructure.