Better HN
topnewbestaskshowjobs
Log inSign up

Sankra

46 karma · joined Jul 30, 2012 (14y ago) · 16 submissions

https://hjerpbakk.com

[ my public key: https://keybase.io/hjerpbakk; my proof: https://keybase.io/hjerpbakk/sigs/ent0T4UG2yyrIhr4S2hzahX9YpiCh7t4JFge1JtFUOc ]

Submissions

comment 1w ago · link · parent

Analyzed my Claude Code usage in October and until now in November to see where I could have saved on tokens. Some findings:

- Across two months of Claude Code logs, 97.4% of 14.9 billion tokens were cache reads. Each new token was read another 44 times on average. - RTK saved an estimated $122, mostly by trimming output from ls, grep, and file reads. Claude Code would have shortened some of that output on its own. - context-mode saved an estimated $36 by keeping large tool results searchable outside the conversation. A few reads were blocked and had to be retried another way because of this.

The dollar figures use API prices, while I spent the tokens on a team plan. Main token hugger was subagents on Opus instead of a lesser model where that would have made sense.

comment 3mo ago · link · parent

I'm happy that Claude Code now ships with concise mode, but still it's a shame that the default is so poor (for Opus 5 at least).

3.

Two ways to make Opus 5 concise(hjerpbakk.com ↗)

2 points · by Sankra · 3mo ago · 1 comment

comment 4mo ago · link · parent

Tweaking a self-hosted Umami instance to support apps too

5.

Using self-hosted Umami for iOS app analytics(hjerpbakk.com ↗)

66 points · by Sankra · 4mo ago · 10 comments

6.

Self-Hosting Umami with Cloudflare, Fly, and Supabase(hjerpbakk.com ↗)

2 points · by Sankra · 4mo ago · discuss

comment 4y ago · link · parent

Not with that exact number, but on my last job change my demand was equally precise. Although we reached an agreement, my new boss said that this was "an oddly specific number" and she'd never experienced that before.

8.

Immutable C#(functional.christmas ↗)

4 points · by Sankra · 5y ago · discuss

comment 6y ago · link · parent

http://hjerpbakk.com I try to write an article every time Google search fails to help me solve a problem. I also write about my personal projects and what I've learned as a leader and software engineer.

comment 6y ago · link · parent

Mono is still used on mobile, but a unification will occur in the future when .Net Framework is sunset and all there is is .Net 5. .Net will target Windows, Linux, macOS, iOS, Android, tvOS, watchOS and WebAssembly ++

comment 6y ago · link · parent

I've used Xamarin Forms privately since beta when it was just a little experiment, through now when it's an integral part of Microsoft's strategy. I've also used it professionally, with good results.

The difference from 3 years ago is night and day.

The kinks are worked out, the framework is performant, the devex glorious and you can freely mix Forms and native creating any mobile experience. The libraries are stable and XAML together with simple patterns makes you really productive, really fast. A perfect match for dotnet-heavy shops, great for everyone else too, but maybe not the right match if you live and breathe JS.

comment 6y ago · link · parent

If you enable linking, stripping away unused code, the overhead on Android is minimum 2.9MB compared to your app itself.

Thus a minimum app is perhaps around 10-11MB, but in practice a little bigger since the app actually needs to do something. Similarly on iOS.

13.

Why Software Sucks(hjerpbakk.com ↗)

40 points · by Sankra · 7y ago · 8 comments

14.

The little test that could ... not(hjerpbakk.com ↗)

1 points · by Sankra · 13y ago · discuss

15.

Six years of WPF; what's changed?(paulstovell.com ↗)

3 points · by Sankra · 14y ago · discuss