HNHacker News
TopNewBestAskShowJobs

Wazako

46 karma · joined August 23, 2021

submissionscomments
Wazako··on Lies I was told about collaborative editing, Part 2: Why we don't use Yjs
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]

Wazako··on Apple to soon take up to 30% cut from all Patreon creators in iOS app
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.
Wazako··on Progressive JSON
Slow llm generation. A progressive display of a progressive json is mandatory.
Wazako··on Mercury: Commercial-scale diffusion language model
Yet deepseek has shown that more dialogue increases quality. Increasing speed is therefore important if you need thinking models.
Wazako··on Show HN: Bhvr, a Bun and Hono and Vite and React Starter
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.
Wazako··on Svelte5: A Less Favorable Vue3
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.

Wazako··on JavaScript dates are about to be fixed
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.
Wazako··on I avoid async/await in JavaScript (2022)
What's wrong with making Promise.all ?

try {

  const [user, session] = await Promise.all([
    getUser(userId),
    getSession(sessionId)
  ])
} catch (err) { … }
Wazako··on Leaving Rust gamedev after 3 years
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.

Wazako··on Leaving Rust gamedev after 3 years
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.
Wazako··on Building Meta's GenAI infrastructure
meta has the Quest. It's not so bad that they're looking to create an LPU for their headset to offer local play.
Wazako··on What happened with the Web Monetization 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.

Wazako··on What happened with the Web Monetization API?
How do you centralize without having a government requiring KYC?
Wazako··on Gemini AI
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?

Wazako··on Gemini AI
It's not a question of timing, but of Microsoft's brand image (Internet Explorer) and the fact that Android was already open source.
Wazako··on Interoperability can save the open web
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?

Wazako··on YouTube is testing a more aggressive approach against ad blockers
You have deepl to replace translate, it's incredibly better and can replace words. The only advantage of Translate is ocr camera.
Wazako··on Apple’s new headset meets reality
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.
Wazako··on Apple’s new headset meets reality
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.
Wazako··on The JavaScript ecosystem is delightfully weird
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.

Wazako··on Tell HN: Cloudflare verification is breaking the internet
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.
Wazako··on GPT-4
It's amazing what it can do to help the visually impaired in life.
Wazako··on The internet wants to be fragmented
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.

Wazako··on Ask HN: Is Google becoming useless as a search engine, or is it just me?
If it's generalist Duckduckgo / Yandex, otherwise directly search on specialized sites (wiki, anidb, algolia, reddit, youtube, ...).
Wazako··on Ask HN: Is Google becoming useless as a search engine, or is it just me?
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.
Wazako··on Discord fined €800k for failing to comply with several obligations of the GDPR
Wasn't it msn messanger ?
Wazako··on Disney+ demands users’ age and gender so it can “deliver targeted advertising”
DVDs with 20s of ads not passable?
Wazako··on RIP Google Hangouts, Google’s last, best chance to compete with iMessage
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.
Wazako··on Upgrade to Linux
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.
Wazako··on The deception of “buying” digital movies
The problem with all these stores like Steam, Playstore, Apple store, Nintendo Store, ... where you buy a license and not a file.
Page 1 of 2Next →