Better HN
topnewbestaskshowjobs
Log inSign up

whiteros_e

292 karma · joined Oct 2, 2023 (3y ago) · 16 submissions

Submissions

1.

Thinking Machines: End‑to‑End 4‑Bit Training(thinkingmachines.ai ↗)

1 points · by whiteros_e · 1w ago · 1 comment

2.

How GLM built its own inference infrastructure(z.ai ↗)

411 points · by whiteros_e · 2mo ago · 285 comments

3.

Migrating a Redis Cluster Across Clouds Without Chaos(charanvasu.com ↗)

1 points · by whiteros_e · 2mo ago · discuss

comment 5mo ago · link · parent

the diagrams look better than what I would draw myself

5.

Rust zero-cost abstractions vs. SIMD(turbopuffer.com ↗)

2 points · by whiteros_e · 8mo ago · discuss

6.

Replacing Protobuf with Rust(pgdog.dev ↗)

183 points · by whiteros_e · 10mo ago · 129 comments

comment 11mo ago · link · parent

it is indeed a great teacher but there are times where it hallucinates and sticks to the hallucinated content even after several iteration unless human in the loop breaks it. i've wasted hours believing what LLM hallucinated.

my learnings are a lot of microdoses of things that I usually don't work on in a day to day so i don't want to spend time reading about it but yes this sort of learning would be otherwise impossible so gotta thank LLM for that.

8.

Go-Prequel: POC for Google's prequel load balancer(uds5501.github.io ↗)

1 points · by whiteros_e · 1y ago · discuss

comment 2y ago · link · parent

I've read somewhere that because of these getter setter patterns, JVM authors had to optimise their JIT to detect and inline those.

Related discussion on SO: https://stackoverflow.com/questions/37109924/if-getter-sette...

comment 2y ago · link · parent

Dynamic classes cannot be GC'd without the classloader being dereferenced. In this case, if eval used an existing classloader we would end up exhausting metaspace and leading to MaxPermGen exception.

Initial Clojure implementation was checking for an already created classloader and tried to reuse. They had commented out the code that was doing it.

Link to the code in the compiler: https://github.com/clojure/clojure/blob/clojure-1.11.0/src/j...

11.

Debugging a memory leak in a Clojure service(charanvasu.com ↗)

73 points · by whiteros_e · 2y ago · 21 comments

comment 2y ago · link · parent

The platform was written in Clojure from ground up since the team was small and rest of the company was using Clojure mostly in combination of Java.

Now most of the company moved out of Clojure for various reasons but they didn't try to write performant code and instead just chose to rewrite which I want to avoid. Try as much as possible before deciding to rewrite since rewrite is expensive given the codebase has lot of things.

I am glad, it's not Java though.

comment 2y ago · link · parent

What did you replace it with?

comment 2y ago · link · parent

Lack of documentation around performance related stuff and high memory usage because of immutable data structure.

Otherwise it's great. I try to do it in my free time since most of the clojure services are stable(in terms of features) and we are just scaling it up as we see increase in traffic but it's not really helping right now.

comment 2y ago · link · parent

Not convincing. We are fighting it, so wondering if there is anyone who tried all the options but gave up at the end eventually.

16.

Ask HN: Are there any companies that moved away from Clojure?

11 points · by whiteros_e · 2y ago · 14 comments