HN user

molodec

131 karma
Posts0
Comments42
View on HN
No posts found.

Sure, some do, but this is not universal truth. Here is what ChatGPT4 has to say about the subject

"As an AI language model, I don't have personal experiences or opinions, but I can provide a general analysis of the topic. People's preferences and attitudes toward work, financial security, and stress vary greatly based on their personal beliefs, values, and experiences.

Many people do express a desire for greater financial freedom and independence, as well as relief from the stress of meeting basic needs like paying rent and buying food. The notion of a Universal Basic Income (UBI) has gained popularity in recent years, which proposes providing a fixed sum of money to every citizen regardless of their employment status. Advocates of UBI argue that it could help address issues of poverty, income inequality, and stress related to meeting basic needs.

However, people's perspectives on work and financial stress are diverse, and not everyone shares the same view on this issue. Some people may find satisfaction and purpose in their work and might not want to be completely free from it. Others may be more focused on career advancement, personal growth, or contributing to their communities through work.

Ultimately, people's preferences regarding work, financial security, and stress are influenced by a wide range of factors, including their cultural backgrounds, socioeconomic status, personal values, and life experiences."

Altman "hadn’t been to a grocery store in four or five years". He is so out of touch with real world, people needs and desires, and fantasies about the future world based on the assumption that most people want to be free "to pursue more creative work." I think most people don't actually dream about pursuing creative work. Being absolutely "free" of work doesn't make one more creative. Real problems and constraints force people to come up with creative solutions.

Zig and Rust 3 years ago

Grayson Hoare who created Rust has been working on Swift language in the last few years at Apple. People change jobs, there is nothing wrong with that. Rust is a community driven project, and the community will keep building. IntelliJ Rust plugin has not stopped evolving since matklad left. matklad may found a new interesting project that happened to be using zig. He didn't say he left Rust community

Curious what modern schools teach in Computer Science programs. I went to Salisbury State University 17 years ago, and we had classes on assembly language, system programming and operating systems where we used C, algorithms classes with assignments in C++, computer graphics, which of course also C++. My professional experience working in industry was primarily in Java, but also some C, Python, Ruby. Learning Rust was not without a challenge, but having a lot of programming in C/C++ in school more than 10 years ago helped a lot. My assumption that all software engineers who have university degree should have some experience in system programming.

I have to switch between Java Spring boot, Go and Rust. The latter two are framework less and easy to understand just by reading the code. Spring-boot development requires so much googling to figure out why I get UnsatisfiedDependencyException and what each annotation means. Even if I get it to work I still don't understand how it works.

Avoid state like the plague This really depends on the problem domain. Application state is fine in many areas, and in the case the state is non trivial managing it in the application is a lot easier that pushing to databases.

It is true that HNSW outperforms LSH on recall and throughput, but for some use cases LSH outperforms HNSW. I just deployed this week to prod a new system for short text streaming clustering using LSH. I used algorithms from this crate that I also built https://github.com/serega/gaoya

HNSW index is slow to construct, so it is best suited for search or recommendation engines where you build the index and serve. For workloads where you continuously mutate the index, like streaming clustering/deduplication LSH outperforms HNSW.

There are many great algorithms that outperform LSH on ANN vector search, but vectorization in itself a high-compute task, which ads latency and require GPUs, but this is not reported in benchmarks. For text LSH hash can be efficiently created directly from tokens. Of course, this does not work for semantic similarity, but can be used for lexical similarity search.

By the way. I enjoyed listening the interview with you on Practical AI podcast!

Sure, it is possible to find hols and abuse any platform. I am not good at writing, and I always hated the minimum pages limit on essays at schools, but now I think these limits are necessary to enforce thinking and providing more details into your argument. Twitter discourages that. High profile individuals can easily manipulate people and markets by saying a few words and leaving a lot of room for interpretation like Elon Musk recently suggesting that everyone should be using Signal without giving any context and specifying what that Signal was and caused an unrelated to the Signal chat app stock to jump 1000%.

There is too much trolling on Twitter as the character limit does not allow for any serious argument. An ambiguous one-liner from a popular individual triggers thousands of replies and retweets. I've been thinking that we need a Twitter alternative, but with a minimum limit on the number of characters and no images or gifs. Setting a minimum limit to perhaps 300 - 500 characters will eliminate much of the trolling and the noise.

Why does it have to be this polarized - stupid code & smart objects. Writing smart code that uses smart objects is better than stupid code. Writing stupid code that uses smart objects is indeed difficult.

Can you elaborate on the HashMap? I have used java.util.concurrent.ConcurrentHashMap for caches on machines with up to 16 cores. I am actually very impressed by the implementation every time I use it. Easy to use, and the performance is excellent. I've never had a chance to use it on 128 core machine, and may be my experience is limited, but I think that for the majority of use cases using ConcurrentHashMap for caches is a solid choice.

Specific workload matter a lot. I had a good experience with Shenandoah collector on an application that generates very few intermediate objects, but once an object is created it stays in the heap for a while ( a custom made key/value store for a very specific use case). Shenandoah collector was the best in terms of throughput and memory utilization. Most collectors are generational, so surviving objects have to be moved from Eden to Survivor to Old. Shenandoah is not generational, and I suspect it has less work to do for objects that survive compare to other collectors. When most objects live long enough generational collectors hinder performance.

We all want to live long, and people now often live till 80+, but when a person 80+ years old dies does it make sense to search for a cause of the death? My grandmother died last year from pneumonia. She was 89, which is way above the average life expectancy. Any small infection can kill a person at this age. Is there a statistics that shows the mortality rate in Italy before the pandemic.

Work from home. This is great advice for people who work by typing commands on a computer. Seems like people who are in tech think that coding, chatting on slack, etc. is what work is all about. There are so many jobs out there that we depend on require that people physically come to work.

Some people cannot find motivation to exercise alone. Did you enjoy rock climbing itself or the community aspect of it and socializing with people. May be you need a partner for your workouts to keep yourself motivated. I tried Peloton bike in the gym a few times. I am not a fan in general of stationary bikes and treadmills, but Peloton workouts are fun, and you a part of an online community. The bike is expensive though, but if it works for you it may be a great long term investment.

Sure. Treadmill or elliptical has its uses. They are safe and easier on the joints. I warm up sometimes on a treadmill for a few minutes. The author seems had specific goals, and treadmill is a precise tool, which allowed him to achieve and maintain his goals. I still think that walking or jogging can be an enjoyable activity it the right settings.

I can't imagine not being grumpy walking on a treadmill in the basement and thinking about an extra slice of pizza. I go to gym sometimes to lift weights, and I have never seen a happy face on a person walking on a treadmill. I don't understand why not to go for a walk and enjoy the nature, people, birds, ... whatever you have in your neighborhood.