Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
menaerus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
361.
▲
by
menaerus
11mo ago
Technically it is not because eventually it will be mutated, and that's one way of achieving the scalability in multiple writers scenario.
362.
▲
by
menaerus
11mo ago
> Scalability is always going to be poor when writers attempt to modify the same object, no matter the solution you implement. MVCC.
363.
▲
by
menaerus
11mo ago
Pretty cool. For it to scale they are building their own deterministic hypervisor too [0], but also a new distributed database to support their workloads more efficiently [1]. [0] https://antithesis.com/blog/determinist
364.
▲
by
menaerus
11mo ago
Yeah, I think so too now that I read some documentation about it. It appears that the main issue with the spinlock pattern is that it inhibits "a severe performance penalty when exiting the [spinlock] loop because it [CPU] detects a po
365.
▲
by
menaerus
11mo ago
Some things from the article are debatable for sure, and some are maybe missing like the one you mention with PAUSE instruction, which I also have not been aware of, but generally speaking I thought it was a really good content. Lean system
366.
▲
by
menaerus
11mo ago
> There is a reason default lock implementations from OS don't spin even a little bit. glibc pthread mutex uses a user-space spinlock to mitigate the syscall cost for uncontended cases.
367.
▲
by
menaerus
11mo ago
WDYM? Vector is an abstraction over dynamically sized arrays so sure it does use heap to store its elements.
368.
▲
by
menaerus
11mo ago
Codegen from Matlab/Simulink/whatever is good for proof of concept design. It largely helps engineers who are not very good with coding to hypothesize about different algorithmic approaches. Engineers who actually implement that a
369.
▲
by
menaerus
11mo ago
You do realize that there's a handful of literally the same people here on HN continuously evangelizing one technology by constantly dissing on the other? Because of the pervasiveness of such accounts/comments it invites other peo
370.
▲
by
menaerus
11mo ago
So none of the functions you implement have in/out parameters?
371.
▲
by
menaerus
11mo ago
What are you talking about? It was ridiculously useful debugging feature that nobody in their sanity would block because "added maintenance". MR was rejected purely because of political/social reasons.
372.
▲
by
menaerus
11mo ago
Did you take a look at the code? Given your response I figure you did not because if you did you would see that the code was _not_ cloned but genuinely compiled by the LLM.
373.
▲
by
menaerus
11mo ago
Right? If this is really true, that some random folk without compiler engineering experience, implemented a completely new feature in ocaml compiler by prompting the LLM to produce the code for him, then I think it really is remarkable.
374.
▲
by
menaerus
11mo ago
First, you have to prove it that it produced the copyrighted code. The question is what copyrighted code is in the first place? Literal copy-paste from source is easy but I think 99% of the time this isn't the case.
375.
▲
by
menaerus
11mo ago
Information 30 years ago was more difficult to obtain. It required manual labor but in todays' context there was not much information to be consumed. Today, we have the opposite - a huge vast of information that is easy to obtain but t
376.
▲
by
menaerus
11mo ago
People do it with the autocomplete as well so I guess there's not that much of a difference wrt LLMs. It likely depends on the language but people who are inexperienced in C++ would be over-relying on autocomplete to the point that it
377.
▲
by
menaerus
11mo ago
It's bias and, from my experience, many people do not know how to assess the interviewee to extract his best. My example was luckily just a plastic example that sarcastically portrays how people nowadays are assessing LLM capabilities
378.
▲
by
menaerus
11mo ago
What concept in particular? There is nothing novel about that tool, it visualizes the stats collected by perf, and as I said it's not even that useful in root cause analysis in performance regressions, which is like the main point it i
379.
▲
by
menaerus
11mo ago
You know, I had a potential hire last week, and I was interviewing this one guy whose resume was really strong, it was exceptional in many ways plus his open-source code was looking really tight. But at the beginning of the interview, I alw
380.
▲
by
menaerus
11mo ago
Flamegraph is literally just a perl script that visualizes the stack traces collected by perf/dtrace (kernel). It's a good tool though but it doesn't need to be oversold for its capabilities, the hard work is done by the kern
381.
▲
by
menaerus
11mo ago
Sure, C++ is heavy for compilation, there's simply more by the compiler to do, but code repository building under 5 seconds is at the very low end of tail so making the point about someone bearing with the 5 seconds longer build time i
382.
▲
by
menaerus
11mo ago
I am confused. Out of curiosity WDYM by 5 seconds being far longer than your entire build for most projects? That sounds crazy low.
383.
▲
by
menaerus
11mo ago
I can't comment on this particular implementation but few years back I played around with a similar idea, so not quite 1-to-1 mapping, but my conclusion derived from the experiments was the same - it is allocation-heavy. Code was built
384.
▲
by
menaerus
11mo ago
I have literally copy-pasted the fragments from the paper you're referring to which invalidate your points. How is that not obvious? Did you read the paper yourself or you're just holding strong opinions yourself, as you usually d
385.
▲
by
menaerus
11mo ago
Legit as in allowed and not an issue as you're trying to convey, ok? I read the paper if that wasn't already obvious from my comment. What you said is factually incorrect.
386.
▲
by
menaerus
11mo ago
~20 tokens/second is actually pretty good. I see he's using the q5 version of the model. I wonder how it scales with the larger contexts. And the same guy published the video today with the new 3.2 version: https://www.
387.
▲
by
menaerus
11mo ago
He's talking about completely different type of risks and regulation. It's about the job displacement risks, security and misuse concerns, and ethical and societal impact. https://www.youtube.com/watch?v=aAPpQC-3Ey
388.
▲
by
menaerus
11mo ago
Ok, it obviously doesn't increase the number of ISA registers. What I am suggesting is something else - imagine a situation in which the compiler understands that the spill over will take place, and therefore rearranges the code such t
389.
▲
by
menaerus
11mo ago
I have but that was not the point? My first point was exactly that there are more ISA registers and not only 8, and therefore the question mark. My second point was about register renaming which, contrary what you say, does mitigate the art
390.
▲
by
menaerus
11mo ago
8 registers? Ever heard of register renaming?
More ›