Better HN
topnewbestaskshowjobs
Log inSign up

AntonCTO

49 karma · joined Apr 11, 2023 (3y ago) · 49 submissions

https://www.linkedin.com/in/antonbessonov/
Submissions

comment 6mo ago · link · parent

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.

comment 8mo ago · link · parent

It's not Node.js that needs a virtual file system. It's JavaScript.

comment 1y ago · link · parent

How do you get rid of AWS SES?

comment 1y ago · link · parent

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?

comment 1y ago · link · parent

Photoshop requires skills. The comparison with Photoshop is absurd.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 2y ago · link · parent

> 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.

comment 2y ago · link · parent

> 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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

Is IndexedDB SQL standards compliant? Inventing IndexedDB is a terrible mistake.

comment 2y ago · link · parent

+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`?

comment 2y ago · link · parent

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'

```

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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...

comment 3y ago · link · parent

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?

comment 3y ago · link · parent

Found answer about global deps here: https://bun.sh/docs/install/cache

comment 3y ago · link · parent

In my opinion, this is because the angle is too small. Just add another 15-25° and it would be good.

comment 3y ago · link · parent

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?

comment 3y ago · link · parent

Thanks, it sounds great!

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

That's fine!

comment 3y ago · link · parent

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!

comment 3y ago · link · parent

To be honest, the stakes are very high. I would register a trademark for my name in that situation.

comment 3y ago · link · parent

And sometimes it depends on the environment outside of the computer.

comment 3y ago · link · parent

I don't see the limits in your ignorance. Bad names doesn't have anything in common with programming culture or aesthetic.

comment 3y ago · link · parent

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?

comment 3y ago · link · parent

It could require user interaction first like for other APIs such as fullscreen: https://stackoverflow.com/a/30871435

comment 3y ago · link · parent

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!

comment 3y ago · link · parent

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?

12