HackerTrans
TopNewTrendsCommentsPastAskShowJobs

fuy

no profile record

Submissions

Modern GPU Programming Book

mlc.ai
2 points·by fuy·15 ngày trước·1 comments

comments

fuy
·15 ngày trước·discuss
The book is a companion to Machine Learning Systemshttps://mlsyscourse.org/ CMU course.
fuy
·3 tháng trước·discuss
There's been many examples of societies where killing or abusing people was legal etc. Law is not math, it can be (and often is) wrong; in many cases a law is just a way for ruling class to make money/keep power etc. It's completely OK to protest laws, and it may be completely reasonable to consider someone a criminal even if they haven't broken any laws.
fuy
·4 tháng trước·discuss
claude code easily uses 10+GB in single session :) 1Gb sounds very efficient by comparison
fuy
·4 tháng trước·discuss
almost all Spotify playlists/radio features are extremely stupid. Radios all repeat the same 2-3 songs per artist, doesn't matter where you start. Classical pieces in radios are always 1-2 minutes long etc etc. It was like before AI though.
fuy
·4 tháng trước·discuss
sorry about that, I appreciate the reminder. Sometimes it's hard to engage in conversations with obvious bots/bad actors in good faith.
fuy
·4 tháng trước·discuss
[flagged]
fuy
·6 tháng trước·discuss
CLUSTER command is not the same as index organized tables, it's a one-time "physical sort" operation. New data is not organized until you run CLUSTER again. Index organized tables are maintained automatically by Oracle/SQL Server.
fuy
·6 tháng trước·discuss
Not saying you're wrong, but solo developers building (relatively) greenfield projects are the best bet for increased AI productivity.

Solo dev projects are usually reasonably sized (< million LOC), style is more uniform, there's fewer silos etc. etc.

Good studies look at a broader picture.
fuy
·6 tháng trước·discuss
isn't this template supposed to mean that all the previous considerations are now obsolete?
fuy
·8 tháng trước·discuss
It's web in a (limited) sense that there's probably a web frontend somewhere, but this "somewhere" is usually pretty far away from where most of the code is developed.

Most of the backend logic is not related to serving data for the browsers, it's doing actual backend stuff - communicating to databases, APIs, etc.

Is Google search backend a web app? I think it's really stretching the term.
fuy
·10 tháng trước·discuss
Looking at first optimization, I wonder if double-checking after acquiring exclusive lock brings any performance benefits. The whole premise is that cache access is read-heavy, so not acquiring exclusive locks for reads eliminates by far the biggest problem.

Rare (I presume) cases of overlapping updates from different threads (considering updates themselves are also infrequent) don't seem like a big deal compared to lock elimination. Would be interesting to see benchmark numbers for those optimizations separately.
fuy
·2 năm trước·discuss
I love and use Postgres daily for many years, but:

Performance monitoring is pretty much absent, all you have is pg_stat_statements and friends. So for any serious scale you need 3d party solution (or you're writing your own) straight away.

HA is complicated. Patroni is the best option now, but it's quite far from experience SQL Server or Oracle provide.

Optimizer is still quite a bit simpler than in SQL server/Oracle. One big thing that is missing for me is "adaptive" query processing (there's AQP extension, but it's not a part of distribution). Even basic adaptive features help a lot when optimizer is doing stupid things (I'm not gonna bring up query hints here :))
fuy
·2 năm trước·discuss
+. And then you have to figure everything one more time when you decide to move to (or to add support for) Azure/GCP.