HackerTrans
TopNewTrendsCommentsPastAskShowJobs

stpn

no profile record

Submissions

Aurora DSQL and the Circle of Life

marc-bowes.com
4 points·by stpn·в прошлом году·0 comments

Unlock GPU computing with WebGPU [video]

developer.apple.com
1 points·by stpn·в прошлом году·0 comments

Reproducing the deep double descent paper

stpn.bearblog.dev
17 points·by stpn·в прошлом году·5 comments

Ask HN: How does the iOS Lyft app detect that I landed at the airport?

6 points·by stpn·в прошлом году·9 comments

Concurrent Compaction in Automerge Repo

patternist.xyz
2 points·by stpn·в прошлом году·0 comments

How I program with LLMs

crawshaw.io
919 points·by stpn·2 года назад·332 comments

Bringing Faster Exceptions to Rust

purplesyringa.moe
103 points·by stpn·2 года назад·34 comments

Litefs-backup: a drop-in replacement for LiteFS Cloud

github.com
2 points·by stpn·2 года назад·0 comments

Fly.io is sunsetting LiteFS Cloud

community.fly.io
1 points·by stpn·2 года назад·0 comments

Patio11 on Japan, hiring, and his long, odd road to fame [video]

youtube.com
5 points·by stpn·2 года назад·0 comments

Safari 18 can automatically transition users to passkeys [video]

developer.apple.com
42 points·by stpn·2 года назад·63 comments

How and why we built our expense tracker with CRDTs

tender.run
10 points·by stpn·2 года назад·2 comments

Web App Integrity and Encryption in the Browser

tender.run
3 points·by stpn·2 года назад·0 comments

comments

stpn
·в прошлом году·discuss
(post author here)

I was curious about this since it kind of makes sense, but I offer a few reasons why I think this isn't the case:

- In the 10% noise case at least, the second descent eventually finds a minima that's better than the original local minima which suggests to me the model really is finding a better fit rather than just reducing itself to a similar smaller model

- If it were the case, I think we might also expect the error for larger models to converge to the performance of smaller models? But instead they converge lower and better

- I checked the logged gradient histograms I had for a the runs. While I'm still learning how to interpret the results, I didn't see signs of vanishing gradients where dead neurons later in the model prevented earlier layers from learning. Gradients do get smaller over time but that seems expected and we don't have big waves of neurons dying which is what I'd expect to have the larger network converge on the size of the smaller one.
stpn
·2 года назад·discuss
If you revise this prompt to satisfy your pedantry, (at least) 4o still gets it wrong.
stpn
·2 года назад·discuss
I built a personal finance app (https://tender.run) in the style of mailbox (swiping, keyboard shortcut, inbox-based workflow for reviewing transactions).

It's built on the automerge CRDT and sqlite running in the browser, which has been really fun to work with. I'd like to keep going, though honestly I've struggled with the marketing side (growth has been slow) and it's a pretty competitive space.
stpn
·2 года назад·discuss
Originally this was a privacy angle - the data is primarily stored on your device, with backend storage that’s treated like backup and sync only. I had plans for e2ee that built on this but it didn’t turn out to be a big differentiating factor.

Working in local-first turns out to be really nice for making the app feel super snappy. The responsiveness you see in the demo is the performance you can expect in day to day usage.
stpn
·2 года назад·discuss
Sort of relatedly, I’ve been fighting Safari bug for years that feels like it has to be related to dates in js.

Safari’s saved credit card support works pretty well, but when I switch between US and Asia timezones the expiration date will shift by a month in one direction. My best guess is that they store the expiration as midnight local time on the 1st of the month in a js Date which can shift when you travel outside of that timezone.
stpn
·2 года назад·discuss
I’ve been building a personal finance app that runs fully in the browser (using the automerge crdt and sqlite) for over a year now at https://tender.run.

Recently I’ve been taking more of being able to flexibly run sql against this data, and this past week I’ve been working with d3 to make fancy sankey graphs to show income/expense flows. Quick preview here: https://demo.tender.run/reports/sankey
stpn
·2 года назад·discuss
It's sad to hear that the new app encrypts everything.

A long time ago I worked on hacking airplay support for sonos speakers and it wouldn't have been possible without inspecting a lot of plaintext wireshark traffic.
stpn
·2 года назад·discuss
As much as I've have cited, loved, and recommended sourcegraph (even going so far as to help run the open source version at a previous co), I never paid a cent for the product.

I'm curious about the line of thinking in leaving open source behind, but it seems somewhat unsurprising in that lens.
stpn
·2 года назад·discuss
Looks like Apple is in favor of the WebTransport spec, so it's just a matter of time: https://webkit.org/standards-positions/
stpn
·2 года назад·discuss
why would consumers who can afford to use credit cards with rewards switch to fednow payments? are there equivalents for chargebacks, fraud protection, and rewards percentage?
stpn
·2 года назад·discuss
What banks has this worked with for you?

I just tried to do this with chase, capital one, and citi. The first two only let you pay up to 10% more than your balance (balance, not credit limit) and citi only 7.5% - nowhere near 10x your credit limit.
stpn
·2 года назад·discuss
I’ve been working on a personal finance tracker that uses automerge as the primary backing store.

One trick we’ve been pulling is tailing the automerge contents into a sqlite db in-browser for more complex querying.

(some notes on how/why here: https://tender.run/blog/tender-and-crdts)
stpn
·2 года назад·discuss
Pretty neat! If notion folks are in this thread, what do you do about lack of SharedWorker in Android Chrome?
stpn
·2 года назад·discuss
I run a personal finance app that's built as a PWA (https://tender.run, my email is in my profile).

I would say running as a PWA has been a mixed bag. There are quite a few missing features across web platforms (for starters, background sync, full featured push notifications, haptics) that make it hard to be competitive with native apps. Every WWDC, we watch in hopes that Safari gets more PWA features, but it's a thin drip. There's a reason so many apps repackage into electron/cordova/whatever shells.

As other folks in thread have pointed out, it's probably worth thinking through why a product works particularly as a PWA vs alternative distribution methods.
stpn
·2 года назад·discuss
It doesn't seem like it will i.e. _delete_ your username/password, but the behavior is actually automatic without user prompt.

See 1:10-ish[0] for the demo - I found this at least somewhat surprising, though I submit this as a passkey advocate (for a while, my side business only-supported passkeys, but we backed away from that).

[0]: https://developer.apple.com/videos/play/wwdc2024/10125/?time...
stpn
·2 года назад·discuss
One cute trick I've found is that you can install mas[0] (mac app store cli) and then have mas install things from the app store for you[1].

also, at least some system prefs can be set via the defaults util[2].

[0]: https://github.com/mas-cli/mas

[1]: https://github.com/stephen/dotfiles/blob/master/install.sh#L...

[2]: https://github.com/stephen/dotfiles/blob/master/install.sh#L...
stpn
·2 года назад·discuss
We do this for https://tender.run - the feature is called conditional mediation / ui. I found this article[0] helpful for implementation.

[0]: https://web.dev/articles/passkey-form-autofill#fetch_a_chall...
stpn
·2 года назад·discuss
There’s an overview for how our app is built here: https://tender.run/blog/tender-and-crdts

We haven’t written much about our server-side sqlite. I’d say our write workloads are easily within what sqlite can do for now. At one point we looked into doing per-customer databases for scaling write perf (since sharding by customer can be a lot cheaper in sqlite than other dbs), but it’s not necessary yet.
stpn
·2 года назад·discuss
We use the client-side sqlite as part of making the app work locally and offline, so it wouldn’t make sense.

The materialized view isn’t a huge perf problem for now, and I expect we’d switch to using triggers or similar without too much difficulty.
stpn
·2 года назад·discuss
We run sqlite at https://tender.run, both in our backend (as a primary data store, backed by litefs) and on the client (as a index and cache).

In general works really great, esp. in terms of speed. There are some limitations worth knowing though - for instance, figuring out making write throughput reasonable with the combination of wal mode, busy timeout, and begin immediate.

Another that I've had to work around recently is the lack of materialized views - you can make and query from a view, but it's just a select statement that gets shoved into queries that use it. To get the perf of a materialized view, you'd have to do something manual and custom. For the most part, this isn't an issue simply due to how fast sqlite is, but in the browser it's a bit more significant because of how much slower the wasm-compiled sqlite is.