HNHacker News
TopNewBestAskShowJobs

AntonCTO

49 karma · joined April 11, 2023

https://www.linkedin.com/in/antonbessonov/
submissionscomments
AntonCTO··on Meta Shuts Down End-to-End Encryption for Instagram Messaging
Because either you have:

1. An E2E system where the provider has de facto access to the encrypted data, or

2. You shift key management to the users and let them risk data loss.

Either way:

a. The provider can release an app version at any time that accesses the data on the client side, and

b. Most of your users cannot differentiate between E2EE and SSL/TLS, nor are they interested in doing so, nor they care about it.

AntonCTO··on Node.js needs a virtual file system
It's not Node.js that needs a virtual file system. It's JavaScript.
AntonCTO··on Migrating from AWS to Hetzner
How do you get rid of AWS SES?
AntonCTO··on Scaling our observability platform by embracing wide events and replacing OTel
There isn't much information about correlation. What are the state-of-the-art tools and techniques for observability in stateful use cases?

Let's take the example of an SFU-based video conferencing app, where user devices go through multiple API calls to join a session. Now imagine a user reports that they cannot see video from another participant. How can such problems be effectively traced?

Of course, I can manually filter logs and traces by the first user, then by the second user, and look at the signaling exchange and frontend/backend errors. But are there better approaches?

AntonCTO··on Seedance 1.0
Photoshop requires skills. The comparison with Photoshop is absurd.
AntonCTO··on Product Development Processes You Might Not Have Heard of (2022)
In good hands, any product development process works well; in bad hands, any product development process fails. It is not about processes, methodologies, or frameworks - it is about people and what people do.
AntonCTO··on We are destroying software
We are destroying software by believing we are right and others are wrong.

We are destroying software by being absolute.

We are destroying software by assuming we know what we are doing.

Everything is relative; every solution has its own trade-offs. This blog post is very absolute - it ignores trade-offs and sells itself as the truth.

AntonCTO··on CockroachDB license change
> but if they are then they *have to* give the results of their work back to the common pool they took from

Well, here we go. Your "open" isn't so open in the end.

AntonCTO··on CockroachDB license change
> they basically disqualified themselves from the start by nerfing the "core" version so bad it was useless

Ran the core version for around 3 years in production for a smart city project. The company I worked for has been running it for around 6 years. Not sure what you are talking about. Of course, we would love to use features like stale replicas for exports. But this isn't something we absolutely need.

AntonCTO··on CockroachDB license change
At large? As you can see, there is room for a community with a different view on that. My personal definition of an "open source license" is that, as the name implies, I can access the code, preferably without much gatekeeping (e.g., creating a free account in a private GitLab instance). And, to be honest, I prefer the BSL with an Additional Use Grant over any other license, because this is the most reliable option to ensure that the project has a future and won’t be abandoned because no one wants to invest their time for free.
AntonCTO··on How we sped up Notion in the browser with WASM SQLite
Is IndexedDB SQL standards compliant? Inventing IndexedDB is a terrible mistake.
AntonCTO··on TypeSpec: A new language for API-centric development
+1. It even looks very similar to TypeScript. Why not use TypeScript as a description of APIs in the first place? Get TypeScript types and even generate OpenAPI schema on the fly to serve it at `/openapi`?
AntonCTO··on Popular Git config options
Some commands are used so often that it makes sense to further shorten them by placing them in `.bash_aliases` or a similar file for your favorite shell:

```

alias gs='git status'

alias gl='git log'

alias gd='git diff --color-words'

alias ga='git add'

alias gc='git commit'

```

AntonCTO··on LLRT: A low-latency JavaScript runtime from AWS
If I understand it correctly, it exchanges execution speed (by not using JIT) for faster starts. Instead, they could pick up the old FB project https://prepack.io/ to optimize both start AND execution speed. It would be very interesting to see it together with node's snapshots: https://blog.logrocket.com/snapshot-flags-node-js-v18-8/, which reduces the start significantly.
AntonCTO··on Oxlint – JavaScript linter written in Rust
I'd like to highlight dprint [0]. It is not as opinionated as Prettier, and its AST-node-specific configuration is awesome [1]. Deno uses it under the hood for `deno fmt` (and switched from Prettier [2]), and the TypeScript team uses it for formatting their code base (switched from formatting by ESLint [3]).

[0] https://dprint.dev/

[1] https://dprint.dev/plugins/typescript/config/

[2] https://github.com/denoland/deno/issues/3818

[3] https://github.com/microsoft/TypeScript/pull/54820

AntonCTO··on A Node, TypeScript, TS-Node and ESM experience that works
I ran into all types of bugs, including segfaults and incompatibilities with node. After encountering bundler bugs like https://github.com/oven-sh/bun/issues/6168 and https://github.com/oven-sh/bun/issues/4216, I stopped finding workarounds to get bun working.
AntonCTO··on A Node, TypeScript, TS-Node and ESM experience that works
TL;DR: It is too buggy.

I tried it and ran into many issues. For example:

- Incompatibility of transpiled artifacts with the Node runtime (many bugs were fixed, but I haven't tried again). I don't trust bun as a runtime.

- Broken monorepo support.

- No direct react support; you still need react-scripts/webpack/whatever. They have documentation on transpiling react, but it isn't the same.

- No type checking, as with many other tools.

Also, filter their issue tracker for bugs: https://github.com/oven-sh/bun/issues?q=is%3Aissue+is%3Aopen...

AntonCTO··on A Node, TypeScript, TS-Node and ESM experience that works
Unfortunately, bun is unusable due to a myriad of bugs. I closely monitor every bun release, hoping it will function well beyond simple node use cases. The idea is amazing, and I would love to switch to bun, but looking at the issues - no, not yet. How can I trust bun to be a secure runtime with all these bugs?
AntonCTO··on Bun 1.0 announcement [video]
Found answer about global deps here: https://bun.sh/docs/install/cache
AntonCTO··on Bun 1.0 announcement [video]
In my opinion, this is because the angle is too small. Just add another 15-25° and it would be good.
AntonCTO··on Bun 1.0 announcement [video]
Checked the docs after many months again:

- Workspace: check

- Bundling: check

- Minifying (server, browser): check

- Node runtime: check

- Browser runtime: check

- Loaders (assets, .node, .wasm): check

- Hot reload: check

It's probably worth trying to replace webpack + pnpm.

EDIT: Question: it is on roadmap to store downloaded file globally, like pnpm and maven do? This would be awesome!

Off-topic: Which equipment was used for the video?

AntonCTO··on Show HN: Run globally distributed full-stack apps on high-performance MicroVMs
Thanks, it sounds great!

> The build engine is tied to GitHub but you can deploy a pre-built Docker container.

That's fine!

AntonCTO··on Show HN: Run globally distributed full-stack apps on high-performance MicroVMs
Congratulations on the launch! It seems very intriguing! I have a some open questions:

- Where is the company based and what is the jurisdiction? Probably you forgot to add the imprint :o)

- Is there a difference between edge and non-edge locations?

- Can data storage be tied to a location?

- Is it tied to github or can it be used with self-hosted gitlab?

- Is there a rough ETA for databases, especially postgres(-like)?

Thanks in advance!

AntonCTO··on I would rather see my books get pirated than this
To be honest, the stakes are very high. I would register a trademark for my name in that situation.
AntonCTO··on Plane – Open-source Jira alternative
And sometimes it depends on the environment outside of the computer.
AntonCTO··on Bun v0.7.0
I don't see the limits in your ignorance. Bad names doesn't have anything in common with programming culture or aesthetic.
AntonCTO··on Bun v0.7.0
English isn't my first or even second language. --smol creates a lot of confusion in my head. It doesn't even make any sense. Why not --less-ram or similar?

What does UWU means? Why using an artificial language instead of established one?

AntonCTO··on Tell HN: PWAs on iPhone Still Suck
It could require user interaction first like for other APIs such as fullscreen: https://stackoverflow.com/a/30871435
AntonCTO··on Tell HN: PWAs on iPhone Still Suck
Thank you for providing such a thorough and valuable explanation, along with high-quality arguments, on this topic! Your insights will be extremely helpful to HN folks and developers in their exciting projects!
AntonCTO··on How Canva saves Amazon S3 costs
RAID10 for 22TB disks with only two drives at "1" level? I would expect no less than 3 drives at such capacity. Otherwise there is a huge chance to lose the second drive while 1. changing the disc (=time, could be even days) and 2. replication.

What are your thoughts on implementing RAID 0 over four RAID 1 arrays, each consisting of three disks, resulting in a total of 12 drives?

Page 1 of 2Next →