Recent submissions

Comment · 14 days ago
I still write Scala. But not sure for how long. I swear, it's such a joy to write code in Scala.

It's like French poetry.. So much elegance. An no effect system BS. Just like Martin Odersky intended it to be!

Comment · 1 month ago
Yes, and if you take Linux for example, there are also tons of exploit for it.
Comment · 10 months ago
> Telegram: Best UI

Hard no. Have you tried activating encryption in personal chats?

Comment · 2 years ago
It's not really a middle ground if you're not testing your service in the same conditions as in production environment.

If you're not testing integration with Kafka, and the producer, your service is still lacking integration tests.

Testing classes in isolation with testcontainer is fine. But I observed that with microservice architecture the line between E2E tests and integration tests are blurred.

Microservices can and should be tested from the client perspective.

Comment · 2 years ago
I agree with this. At work we use both approaches but at different levels of the test pyramid.

To test integration with 1 dependency at class level we can use test containers.

But to test the integration of the whole microservice with other microservices + dependencies we use a test environment and some test code. It's a bit like an E2E test for an API.

I would argue that the test environment is more useful if I had to choose between the two as it can test the service contract fully, unlike lower type testing which requires a lot of mocking.

Comment · 2 years ago
Comment · 2 years ago
Instagram and WhatsApp could have remained independent, but they were acquired by Facebook.

This suggests that anti-monopoly laws may not be effective.

Comment · 2 years ago
Interesting. What I was most curious about are the backups of the database. Couldn't find any mention of it.
Comment · 2 years ago
Why was this flagged?
Comment · 3 years ago
But a lot of the question /responses could be trivial cached. No need to run expensive LLM every time for the same basic "how are you today?" prompts, it only has to be cached once.
Comment · 3 years ago
I'm also wondering if they send data to the Russian Yandex search engine as they have an agreement to have this search engine by default in some countries ?
Comment · 3 years ago
Oh, salut ! (Romanian "salut" not French "salut", lol)

It's indeed still useful when traveling to those countries that speak these languages. But that's mere few weeks per year. English could have worked anyway as everyone is becoming proficient in English.

Comment · 3 years ago
As someone fluent in four languages*, I agree. I would even argue that the opposite of an advantage is true. Consider this: it adds unnecessary cognitive load. When trying to think of a word, it comes to you in four different languages, which isn't helpful!

I speak four languages out of necessity, not by choice. When you can focus on fewer languages, your proficiency in them improves. Although I can speak four languages, I always feel as if I'm lacking a certain level of expertise in each one. I wish I only needed to speak one language, saving my mental capacity for other things. Constantly juggling languages doesn't help.

The main benefit of knowing multiple languages in everyday life is eavesdropping on people in the street speaking their language, but that's about it.

Moreover, all my friends from my country also speak four languages. Unfortunately, I don't hear of people from Moldova faring much better than others.

*My mother tongue is Romanian, but everyone in Moldova also speaks Russian (due to the Soviet past). At school, I learned French and later studied in France. I picked up English mainly through computers and the internet. Now, I'm in the Netherlands and need to learn another language, but this one is proving slow to learn. I don't feel any advantage in learning a new language either.

I would gladly trade Russian and French over knowing Dutch right now ;o) There are months when I don't speak those two so they are of little use for me anymore.

Comment · 3 years ago
Sure thing. But thinking about security in depth, default E2E encryption is an additional layer of security that is lacking in Telegram.
Comment · 3 years ago
My point is precisely this: With robust end-to-end encryption in place, there's no need to rely on the trustworthiness of the backend. Unfortunately, Telegram lacks this feature, making it untrustworthy.

Even with Telegram's encryption, messages can be compromised through a straightforward SIM swap. This means that their encryption is essentially irrelevant since messages can be read without needing an encryption key from the client.

I recommend checking out Moxie Marlinspike's Twitter thread on this topic for further insight. You can find the link I previously shared in another thread.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton