Better HN
topnewbestaskshowjobs
Log inSign up

Wazako

46 karma · joined Aug 23, 2021 (5y ago) · 36 submissions

Submissions

comment 8mo ago · link · parent

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]

comment 10mo ago · link · parent

What is absurd is finding yourself paying 30% on every digital item purchased on a smartphone app. It would never even occur to us that Microsoft takes a 30% margin on Steam, yet that is what happens on webtoon apps.

comment 1y ago · link · parent

Slow llm generation. A progressive display of a progressive json is mandatory.

comment 1y ago · link · parent

Yet deepseek has shown that more dialogue increases quality. Increasing speed is therefore important if you need thinking models.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

What's wrong with making Promise.all ?

try {

  const [user, session] = await Promise.all([
    getUser(userId),
    getSession(sessionId)
  ])
} catch (err) { … }

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

Use Rust if crashes or memory bugs are not an option. For everything wasm, Rust is much more pleasant with good libraries than the competition.

comment 2y ago · link · parent

meta has the Quest. It's not so bad that they're looking to create an LPU for their headset to offer local play.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

How do you centralize without having a government requiring KYC?

comment 2y ago · link · parent

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?

comment 2y ago · link · parent

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

comment 3y ago · link · parent

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?

comment 3y ago · link · parent

You have deepl to replace translate, it's incredibly better and can replace words. The only advantage of Translate is ocr camera.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

We are more in the case of adding a turnaround on footpaths to block motorbikes and other 2-wheel scooters. captcha also exists in the real world.

comment 3y ago · link · parent

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

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

If it's generalist Duckduckgo / Yandex, otherwise directly search on specialized sites (wiki, anidb, algolia, reddit, youtube, ...).

comment 3y ago · link · parent

I also use Google in the same way. Google is really amazing as a recommendation engine for finding keywords. Then you just have to get those keywords and put them in a real search engine.

comment 4y ago · link · parent

Wasn't it msn messanger ?

comment 4y ago · link · parent

DVDs with 20s of ads not passable?

comment 4y ago · link · parent

I don't know if I'm the only one, but the biggest problem of google (which is the same as microsoft), is the unified account system. It's very complicated to switch from business to personal accounts. And that creates a lot of friction for me.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

The problem with all these stores like Steam, Playstore, Apple store, Nintendo Store, ... where you buy a license and not a file.
12