Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zknill
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
121.
▲
by
zknill
3y ago
I am here for it too. Java's release cycle is now 6 months (matching Go's), and Java is introducing more of the features that make the 'newer' languages pleasant to use. Features like Pattern Matching for switch[1], Virt
122.
▲
Product ideation is dysfunctional (2021)
(zknill.io)
1 points
by
zknill
3y ago
|
0 comments
123.
▲
by
zknill
3y ago
> excepting those poor, sad professionals who have to write languages that can only be written with a special, hyper-bloated text editor [1]. > 1. I'm talking about C# and Java I write Java in vim, and it's pretty usable. Co
124.
▲
Go structured logging log/slog middleware
(github.com)
2 points
by
zknill
3y ago
|
0 comments
125.
▲
Patterns for adpoting Realtime updates in your app
(zknill.io)
1 points
by
zknill
3y ago
|
0 comments
126.
▲
by
zknill
3y ago
It reminds me of every trucking company that aren't trucking, they are "Delivering innovative supply-chain logistics solutions"
127.
▲
by
zknill
3y ago
I regularly share this with teams that I work with. I think it's the clearest explanation of how to write docs that I've seen. I see "explanation" and "how-to" conflated so regularly, as a quickstart how-to gui
128.
▲
How to adpot Realtime updates in your app
(zknill.io)
1 points
by
zknill
3y ago
|
0 comments
129.
▲
by
zknill
3y ago
The promo video has a perfectly flat body of water. I'd be interested to know what impact waves have on a hydrofoil.
130.
▲
by
zknill
3y ago
When you search for usage of Differential Sync you'll find lots of news reports about it being included as technology in file sync and file backup solutions. I've not directly worked on it, but I get the impression that it's
131.
▲
by
zknill
3y ago
> But this doesn't mean we should just give up on ux It's a little unfair to describe locking as "[giving] up on UX", especially given some well known collaboration products use it quite successfully; Google Sheets ce
132.
▲
by
zknill
3y ago
> So use the CRDT library when building your indices? Yeah, sure, you can build a secondary index over the data. But you're still having to decode the blob and index it. There's no version where you can index the data without u
133.
▲
by
zknill
3y ago
How do you handle getting the changes that one client makes onto the other clients? Are you pushing it from the server to the clients with websockets, or waiting for the clients to ask for new info, or waiting for the conflict to happen whe
134.
▲
by
zknill
3y ago
So Last-Write-Wins (LWW) basically _is_ a CRDT, but not in the sense that anyone really expects, because they aren't that useful or intention preserving. Especially if the two writes happen in very quick succession / concurrently.
135.
▲
by
zknill
3y ago
You're absolutely right, locking is a hard problem. Especially when you get into the edge cases of clients not disconnecting cleanly. If you've ever used one of those awful early-2000s Microsoft word collaboration systems where yo
136.
▲
You don't need a CRDT to build a collaborative experience
(zknill.io)
236 points
by
zknill
3y ago
|
65 comments
137.
▲
by
zknill
3y ago
I think time is a terrible proxy for effort or substance or scope. Take the example from the article: > Please look into this for me. Do not, DO NOT, spend more than 20 minutes on this. Please come back with whatever you have after 20 mi
138.
▲
Giving up my smartphone for a dumbphone
(zknill.io)
3 points
by
zknill
3y ago
|
0 comments
139.
▲
Do developers really want to give over their data?
(zknill.io)
1 points
by
zknill
3y ago
|
0 comments
140.
▲
So you want to build Miro and Figma style collaboration?
(zknill.io)
2 points
by
zknill
3y ago
|
0 comments
141.
▲
So you want to build Miro and Figma style collaboration?
(zknill.io)
1 points
by
zknill
3y ago
|
1 comments
142.
▲
So you want to build Miro and Figma style collaboration?
(zknill.io)
3 points
by
zknill
3y ago
|
0 comments
143.
▲
by
zknill
3y ago
I work for Ably, a realtime messaging platform. I'm also the author of SQLEdge (a replication tool mentioned in the article). One of our teams at Ably just launched "spaces"[1] to make it easy to build collaborative experienc
144.
▲
Streaming Data Aggregation
(zknill.io)
1 points
by
zknill
3y ago
|
0 comments
145.
▲
by
zknill
3y ago
log/slog package essentially delegates writing log messages to some "handler" interface. The key method is: Handle(context.Context, Record) error This method has access to the context, which means you can get the log
146.
▲
by
zknill
3y ago
Assuming you are logging from some package that's shared over a CLI app and some webservice app; log/slog expects you to setup the slog logger with a specific handler. This handler controls _how_ events are written out, the format
147.
▲
by
zknill
3y ago
The new structured logging library is a great addition, its nice to have structured logging in the standard lib. It's easy to get started with log/slog and one of the built in handlers, but as soon as you want to change something
148.
▲
by
zknill
3y ago
The new structured logging library is a great addition, its nice to have structured logging in the standard lib. It's easy to get started with log/slog and one of the built in handlers, but as soon as you want to change something
149.
▲
by
zknill
3y ago
Seems like there's 3 groups of opinions on ORMs: Firstly (1); "I want to use the ORM for everything (table definitions, indexes, and queries)" Then second (2), on the other extreme: "I don't want an ORM, I want to d
150.
▲
Middelware to make Go 1.21's new structured logger easier
(github.com)
1 points
by
zknill
3y ago
|
0 comments
More ›