Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ryao
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
ryao
1y ago
“this” is a reserved keyword in C++, so you do not need to worry about it being a global variable. That said, I like having a this pointer explicitly passed as it is in C with ADTs. The functions that do not need a this pointer never accide
92.
▲
by
ryao
1y ago
My point is that this pattern is not object oriented programming. As for a default behavior with it, you usually would do that by either always adding the default pointer when creating the structure or calling the default whenever the point
93.
▲
by
ryao
1y ago
Compiler design does predate object oriented programming. The first compiler was made by John Backus et al at IBM in April 1957. As for abstract data types, they originated in Lisp, which also predates object oriented programming.
94.
▲
by
ryao
1y ago
> The article describes how the Linux kernel, despite being written in C, embraces object-oriented principles by using function pointers in structures to achieve polymorphism. This technique predates object oriented programming. It is ca
95.
▲
by
ryao
1y ago
I have never seen bad text rendering on an OLED. Which ones have you seen that have bad text rendering? I recently replaced a Sony X900E with a LG C4. Text is crisp and power usage dropped going to the OLED. Permanent burn-in will happen wi
96.
▲
by
ryao
1y ago
How? OLED is still the gold standard while MiniLED is a rebrand of full array local dimming LCDs where the zone count is somewhat higher than past models. MicroLED is the true replacement for both. I do not see how MiniLED is on track to ou
97.
▲
by
ryao
1y ago
Apple has an architectural license that lets them build their own ARM cores: https://www.electronicsweekly.com/news/business/finance/arm-... It is very unlikely Apple uses anything from ARM’s core designs, si
98.
▲
by
ryao
1y ago
That could be because crowdstrike is not inside the XNU kernel anymore: https://www.crowdstrike.com/en-us/blog/crowdstrike-supports-... They happily implement a userland version on macOS, but then claimed that bei
99.
▲
by
ryao
1y ago
Chrome has been very conservative about enabling hardware acceleration features on Linux. Look under about://gpu to see a list. It is possible to force them via command line flags. That said, this is only part of the story. There
100.
▲
by
ryao
1y ago
Do you have links to information on what DPDK and VPP are doing in the area of bufferbloat? I have not kept up with them since I cannot use them in my day to day life, but I would love to update myself on the subject. By the way, when I wro
101.
▲
by
ryao
1y ago
Multiple people have tried to explain buffer bloat to you and you have repeatedly denied it affects people in reality. The discussion with you has been little different from people saying that a number of things are explained by the Earth b
102.
▲
by
ryao
1y ago
I do not think mental illness is the cause of people posting wrong remarks, but when they post remarks that strike me as particularly bizarre, as yours have here, I think consideration of mental illness itself is worthwhile, productive and
103.
▲
by
ryao
1y ago
The problem of buffer bloat is one of many issues that affect internet users. When I visited China and pings to my VPN in the US jumped from 200ms to 30 seconds depending on the time of day, bufferbloat was severely affecting me. That could
104.
▲
by
ryao
1y ago
Overanalysis for the sake of denying the existence of whatever you want is cliche. It does not matter how complete the information on a subject is, since you will just post more pointless questions, whose relevance is specious, for the sake
105.
▲
by
ryao
1y ago
I am under the impression that George Marsaglia‘s work showed that there are no good values for this class of PRNGs. That is why he devised so many other classes of PRNGs.
106.
▲
by
ryao
1y ago
You don’t need a speed test website to see this problem. Just run a ping on your own while doing a big download that saturates your connection and bufferbloat will happen unless there is some active queue management to prevent the ping pack
107.
▲
by
ryao
1y ago
Nvidia has the Tegra line, but the market is not interested in it outside of game consoles.
108.
▲
by
ryao
1y ago
The quotation is more impactful in the original Latin: Quis custodiet ipsos custodes?
109.
▲
by
ryao
1y ago
They did do more than just chemicals for film, but then decided to spin off the business so that they could focus on the film business: https://en.wikipedia.org/wiki/Eastman_Chemical_Company One really must admire thei
110.
▲
by
ryao
1y ago
If you want a good example of a site with a theme switcher: https://www.csszengarden.com/pages/alldesigns/
111.
▲
by
ryao
1y ago
It sounds like you are used to short conversations with few turns. In conversations with dozens/hundreds/thousands of turns, prompting to avoid bad output entering the context is generally better than prompting to try to correct o
112.
▲
by
ryao
1y ago
OpenAI’s plan is to make billions of dollars by replacing the people in your Teams chat with these. Management will pay a fraction of the price for the same responses yet that fraction will add to billions of dollars. ;)
113.
▲
by
ryao
1y ago
The idiom “X loves to Y” implies frequency, rather than agency. Would you object to someone saying “It loves to rain in Seattle”? “Malicious compliance” is the act of following instructions in a way that is contrary to the intent. The word
114.
▲
by
ryao
1y ago
LLMs love to do malicious compliance. If I tell them to not do X, they will then go into a “Look, I followed instructions” moment by talking about how they avoided X. If I add additional instructions saying “do not talk about how you did no
115.
▲
by
ryao
1y ago
This is speculation on my part, but: 1. It is non-trivial additional work to add since these are high frequency signals. 2. It is non-trivial additional work to validate. 3. The hardware PCI-E support is likely buggy because it is not well
116.
▲
by
ryao
1y ago
I see a few obvious problems: 1. A closed system cannot exhaust heat via evaporative cooling, which would defeat the purpose. 2. Many datacenters are no where near salt water. 3. There are likely reliability issues that would need to be ove
117.
▲
by
ryao
1y ago
Storing pictures and emails in a data center does generate heat, but it is negligible. Also, claims of data center water usage are heavily overstated. Some do, but only during summer months. I assume the reason for the UK’s asinine advice i
118.
▲
by
ryao
1y ago
> Assuming you're using waste water, which most people won't. My household (in the US) uses water from cooking rice to water plants, but I cannot imagine many UK households cook rice to be able to do that.
119.
▲
by
ryao
1y ago
With the exception of the asinine piece of advice at the end, given that such advice likely has around for decades, I cannot imagine it being very effective anymore as the measures suggested should already be in effect. I would have specula
120.
▲
by
ryao
1y ago
An AMD Ryzen AI Max+ 395 should do that.
More ›