HN user

zcbenz

686 karma

https://zcbenz.com

Posts0
Comments53
View on HN
No posts found.
[GET] "/api/user/zcbenz/stories?hitsPerPage=30&page=0": 500 Failed to fetch user stories

Most features are already supported on x86 CPUs, you can pip install mlx on Linux , and you can even use it on Windows (no official binary release yet but it is building and tests are passing).

A few months ago I ported ~15k lines of python code (10k are tests) to typescript, using GPT4. It cost me ~$70.

The python project is https://github.com/ml-explore/mlx and the converted project is https://github.com/frost-beta/node-mlx

I wrote a long prompt: https://github.com/frost-beta/node-mlx/blob/main/tests/promp...

The first result was almost always bad, but after manually modifying the assistant's answer, following generation usually went much better.

Suppose one is writing a desktop app doing searches of embeddings, is there a lightweight vector database that runs on all major desktop platforms? I'm aware of redis and sqlite-vss, but none runs natively on Windows.

Since several years ago I was starting to have health issues that if I sat still for too long my eyes/arms/legs/waist would feel pain, sometimes fiercely. So I set a timer to remind me to stop staring at the monitor and stand up to do some light exercise, at first the timer was 40 minutes and in recent years it became 20 minutes as my body wears.

So now my work is interrupted every 20 minutes, at first the timer was annoying but after several months I got used to it completely and I don’t think it affects my productivity. And actually I wish I could do it from the begining so I wouldn’t have the health issues at all.

However my interruption is short and during it I was uaually just thinking about my work while stretching my body, so it is no compare to hard context switches like being dragged to a conversation.

From my memory GNOME 3 and Unity were created because there was a trend to make all interfaces both desktop and mobile friendly, Ubuntu tried to ship a phone using Unity, and GNOME 3 was advertised for its tablet friendly interface.

For Windows world there was Metro UI of Windows 8, Apple insisted on using different UIs for desktop and mobile and was laughed at.

When I ordered my home 3 years ago, I chose furnitures that have bottom high enough to let a Dyson 360 pass, and carefully designed their layout so the robot can easily go from one room to the other without circling around or running into wires.

The robot still got stuck from time to time, but the efforts were quite worth it. :)

I have both Pi Hole and browser ad blocker plugin, the biggest problem is, sometimes a website does not function well or everything just loads extremely slow, I then have to spend some time debugging my network to know what is going wrong.

I really admire the author of this post, He is very responsible of his students and takes his course seriously, how lucky his students are.

When I was in college I was attending a course teaching to build C++ project, the professor checks plagiarism by checking the creation date of source code files, since the project was built step by step with new files being added progressively.

I was being perfectionism about my code and did a lot of refactoring before submitting the project, and got a very low score because the professor saw the dates of my files were new and all the same and thought I copied my homework from someone else. While the ones who actually did plagiarize the homework got high scores, because they copied other students' source code lesson by lesson.

My professor obviously did not even read the source code of our homework, otherwise he would easily know who was writing original code and who was just copying.

Is Buffett indicator still relevant today with deep globalization? It does not take account of at least following factors:

* Companies like BABA or SE that contribute little to US GDP.

* Tech giants shift profits to low-tax countries.

* Income from US only makes part of global giants' income.

(I know almost nothing about economy so this is novice question, instead of a statement against the effectiveness of Buffett indicator.)