HackerTrans
TopNewTrendsCommentsPastAskShowJobs

aranw

no profile record

Submissions

Jjw: A Workspace Manager for Jj

aran.dev
2 points·by aranw·قبل شهرين·0 comments

I built a reference Go project (and taught an AI agent to clone it)

aran.dev
1 points·by aranw·قبل شهرين·0 comments

Math Predicting the Death of Nations

youtube.com
1 points·by aranw·قبل 7 أشهر·0 comments

High Resolution Scrolling with Stabilised Walnut Dial [video]

youtube.com
2 points·by aranw·قبل 9 أشهر·0 comments

comments

aranw
·قبل 8 أيام·discuss
t once had to tell claude 3-4 times to stop assuming the state of a system was the way it kept iterating it was cause it was in it's memory. I repeatably told it to otherwise and it just never updated it's memory and instead kept referencing it's memory about the state of a particular system
aranw
·قبل شهرين·discuss
I really like Zed but it's most recent big changes to Git integration and Parallel Agents has forced me to disable both of those features as the way they work just didn't suit me and my workflow
aranw
·قبل 3 أشهر·discuss
The Parallel agents feature seems to be built around git worktrees or local projects. But I think local project mode defeats the point. In my day to day development workflow I've switched fully to jj and jj workspaces, so this isn't something I'll be using until Zed gets jj support. Also this change ended up with a reshuffled layout I didn't really expect and I can't really figure out how to revert it now
aranw
·قبل 5 أشهر·discuss
Really enjoyed that although my final two tiles were stacked and couldn't finish the game!
aranw
·قبل 5 أشهر·discuss
I asked claude to use this and create a ham salad sandwich with no onion for me https://gist.github.com/aranw/c2b59f42b20eb47e01bc66841233c2...

I'll email this over to my local bakery on Monday for my lunch order might need to make some modifications for there build environment
aranw
·قبل 5 أشهر·discuss
Was on an overnight bus and ended with game over
aranw
·قبل 6 أشهر·discuss
I've written to my MP several times about this. Each response just repeats the same talking points about safety whilst completely missing the underlying technical issues and consequences.
aranw
·قبل 6 أشهر·discuss
Which SQLite Go library do you use? My biggest pain with using SQLite in Go is often the libraries and the reliance of CGO which is what puts me off using Turso

Edit: Looking at the go mod file I noticed github.com/mattn/go-sqlite3 which I think is a C wrapper library so I'm assuming you rely on CGO for compiling
aranw
·قبل 7 أشهر·discuss
The problem with mocks is that they test your assumptions, not reality...

When you mock a CRM client to return one account, you're assuming it always returns one account, that IDs have a particular format, that there's no pagination, that all fields are populated. Each assumption is a place where production could behave differently whilst your tests stay green

Your contract tests use cached JSON fixtures. Salesforce changes a field type, your contract test still passes (old fixture), your mocks return the wrong type, production breaks. You've now got three test layers (contract, mock scenarios, E2E) where two can lie to you. All your contract and mock tests won't save you. Production will still go down

I have zero confidence in these types of tests. Integration tests and E2E tests against real infrastructure give me actual confidence. They're slower, but they tell you the truth. Want to test rate limiting? Use real rate limits. Want to test missing data? Delete the data.

Slow tests that tell the truth beat fast tests that lie. That said, fast tests are valuable for developer productivity. The trade-off is whether you want speed or confidence
aranw
·قبل 7 أشهر·discuss
> I really dislike this idea of testing in go: only ever use an interface, never the real implementation + mockgen the mocks based on this interface + use the mocks to assert that a function is called, with exactly this parameters and in this exact order.

Same I have zero confidence in these tests and the article even states that the tests will fail if a contract for a external service/system changes
aranw
·قبل 7 أشهر·discuss
https://samwho.dev has some fantastic blog posts with great visualisations
aranw
·قبل 7 أشهر·discuss
Been trying to decide whether adopting a traditional RFC process or Oxide's RFD (https://rfd.shared.oxide.computer/rfd/0001) would better suit my team. We're using ADRs at the moment but we've ended up mixing a discussion like process into it and review process and using ADRs more like RFCs/RFDs
aranw
·قبل 7 أشهر·discuss
GitHub Vista Cloud Edition
aranw
·قبل 7 أشهر·discuss
I'm currently working on a project that is using an OpenAPI library that decided to use a non-standard JSON encoder. The developer experience definitely suffers when you can't use common encoding/json patterns in your own code. Simple operations become unnecessarily awkward
aranw
·قبل 7 أشهر·discuss
I've been using the minio-go client for S3-compatible storage abstraction in a project I'm working on. This new change putting the minio project into maintenance mode means no new features or bug fixes, which is concerning for something meant to be a stable abstraction layer

Need to start reconsidering the approach now and looking for alternatives
aranw
·قبل 7 أشهر·discuss
There is probably a legitimate basis for some powers against actual foreign intelligence operations. But the proposals in the article defining "subversion" to include environmental activism, independence movements, or criticism of UK policy show how quickly these things expand beyond their original scope. The Terrorism Act was meant to exclude domestic activists but two decades later it has been used against protest groups
aranw
·قبل 8 أشهر·discuss
That's really nice of the author and awesome to hear. Would love to see TigerStyle be published in a similar format and expanded upon with more detail be great for referencing with my colleagues. Would love to adopt it on projects or some of the rules at least
aranw
·قبل 8 أشهر·discuss
The attribution to TigerBeetle should be at the top of the page with a link to the original tigerstyle, not buried at the bottom. Right now it reads like official TigerBeetle content until you scroll down, which isn't fair to either you or the original team.
aranw
·قبل 8 أشهر·discuss
I really like the evidence for the bug fix for "VR not rendering" in the "Fixed" section
aranw
·قبل 8 أشهر·discuss
How well will this work with something like sqlc [0]? sqlc has some custom syntax around the sql files specific to the library

[0] https://sqlc.dev/