HN user

Wazako

46 karma
Posts0
Comments36
View on HN
No posts found.

Alternatively, a much simpler CRDT solution is to flatten our tree and build a LWW underneath it. This makes it easy to debug, save, and delete the history. { “id:1”: { “parent_id”: “root”, “type”: “p” }, “id:2”: { “parent_id”: “id:1”, “type”: “text”, “content”: “text”, "position": 1 } }

Or internally: [ [HLC, “id:2”, ‘parent_id’, “id:1”], [HLC, “id:2”, ‘type’, “text”], ... ]

Merging is easy, and allows for atomic modifications without rebuilding the entire tree, as well as easy conflict resolution. We add the HLC (clock, peer id). If the time difference between the two clocks is significant, we create a new field [HLC, id, “conflict:” + key, old_value]

It was designed by cloduflare for serverless use. There's no dependency on node, as cloudflare is based on web standards, so it was designed around warper for browser-native js modules (Request, crypto, ... hence the low dependency), which is why it integrates well with bun and deno.

It's different with solid-js, which is more of a library than a real framework.

The solid-js surface is relatively small, the jsx / css is identical to the native, the Hook simply builds the DOM once. solid-js therefore brings above all a createSignal that adds an observer where it is called in the DOM to directly update the DOM accordingly.

You might think of solid-js more as a signal primitive than a real framework.

This reminds me of crunchyroll, the anime website, which uses local utc us with fixed times for episode releases. This creates confusion in the rest of the world, because for 2 weeks, there's a time difference until daylight saving time changes in the US.

But when you look at the disaster that was c++ for cloudflare, and the switch to rust.

This is precisely the argument given against rust for video games: too much typing induced by memory safe, which is too restrictive.

Is there any use if your c code works, the advantage of rust over wasm is the easy-to-use packages (which is a pain in c++), and the ease with which you can make a wasm project with wasm-pack that generates the wasm, js and ts interface.

There really are a lot of libraries that support wasm, it's even a problematic point raised in the article on bevy, with wasm support (so webgl) limiting the api.

It's one thing to be able to track a transaction, but it's a real problem that a name exchange is mandatory for micropayments.

I don't know if I'm the only one, but I can't see myself giving my identity for 10c to buy blog articles.

Especially since first and last names are a powerful tracking tool that's not as easy to change as your IP address.

Gemini AI 3 years ago

By this I mean that Microsoft had the positioning of an iPhone in a not-so-great version. Where as Android relied on the "Open source" and free side for manufacturers to adapt to their phones, even if Google's services remained proprietary.

Can we really talk about timing, when it's above all a problem of a product that didn't fit the market?

Gemini AI 3 years ago

It's not a question of timing, but of Microsoft's brand image (Internet Explorer) and the fact that Android was already open source.

For VOD platforms. it would be a dream if one day netflix / disney+ / AppleTV / ..., would offer iframes, and I could use other sites that offer me their own catalog browsing and recommendation ergonomics that are not limited to a catalog with their walled garden editorial choices.

Why have iframes lost so much use?

In the sense that it has become hostile to use. I remember when iTune and safari were user friendly on Windows. Or the iphone wouldn't be limited to a usb 2.0 port.

Isn't Time Cook ultimately like Steve Ballmer? He has continued and consolidated to build a golden prison with the construction of a monopoly and increase the money generated incredibly.

typing saves so much time. Especially since the flexibility of its optionality does not restrict, and allows for really nice autocompletions.

Especially with esbuild which has made this simple and fast, one could even say it has saved javascript.

GPT-4 3 years ago

It's amazing what it can do to help the visually impaired in life.

What is important is, as the article says, "to be allowed to leave", this consists in having alternatives.

- The web hosting is in the cloud, but if it's easy to change it, what's the problem?

- Git a url and you can easily change the central backup server point.

Upgrade to Linux 4 years ago

Isn't there an unbreakable linux that updates itself, and where you can create VMs to add linux or win applications? This is what I like about Windows / mac, I don't have to maintain anything and risk breaking my PC.