Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Const-me
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
511.
▲
by
Const-me
3y ago
Same symptoms for another pro-Ukrainian youtuber: https://www.youtube.com/watch?v=KBntV-vbRQ4 The same whatsapp phone number from India, +91 9661832181
512.
▲
by
Const-me
3y ago
Here’s a simple non-standard allocator for C++ I used a few times in the past: https://github.com/Const-me/CollectionMicrobench/blob/master... The block size is controlled with a template argument, the number
513.
▲
by
Const-me
3y ago
The best keyboard I ever had was Velocifire VM02WS. It has mechanical brown switches, and it worked flawlessly for more than 5 years. Then the left control key broke down. The rest of the keyboards I have used, no matter mechanical or not,
514.
▲
by
Const-me
3y ago
Generally, std::vector not going to work for allocator backend. The issue being, std::vector relocates all elements every time it increases the capacity. Therefore, adding an element to std::vector may invalidate addresses of all previously
515.
▲
by
Const-me
3y ago
> they were falling behind in performance They were only falling behind in performance on google’s web pages such as youtube. Read that comment: https://news.ycombinator.com/item?id=18697824
516.
▲
by
Const-me
3y ago
Linux kernel doesn't have ABI for device drivers. The device manufacturers either can't or won't publish the drivers as a part of Linux kernel, that's why they fork Linux instead.
517.
▲
by
Const-me
3y ago
I don’t think in this case it matters even for spiky workloads. The relative difference is too small. The difference in CPU base frequency is 3.8 versus 4.0 GHz, which is 5% slower. However, for spiky workloads boost frequency is IMO more r
518.
▲
by
Const-me
3y ago
AMD has already released a product featuring Zen4c cores designed for servers. In contrast to Intel, AMD's small cores are not crappy; they are real Zen4 cores, with a reduction in size achieved by sacrificing some of the L3 cache and
519.
▲
by
Const-me
3y ago
If you consider a laptop with Ryzen 9 7940HS, and you gonna pay with your own money, note that Ryzen 7 7840HS is pretty much the same chip. The only difference between the two seems to be a couple hundred MHz of various clock frequencies, w
520.
▲
by
Const-me
3y ago
I once needed that thing (with 32-bit integer keys, and either FP32 or FP64 values), but I didn’t want to spend too much time designing novel data structures. I have copy-pasted B+ tree from TLX https://github.com/tlx/t
521.
▲
by
Const-me
3y ago
It seems it needs a rotating connector, but I don’t think in needs to be under the water. I would place that thing above water, inside the turbine.
522.
▲
by
Const-me
3y ago
In Europe, income is generally more evenly distributed across various skills, professions, and sectors of the economy. IMO this makes society here much more pleasant. Personally, I wouldn’t be comfortable living in a society where people wh
523.
▲
by
Const-me
3y ago
I don’t care who controls what if the technology in question is technically good, and it comes with a good enough license. Here’s two examples. For embedded Linux, .NET runtime delivers memory safety for high-level pieces, great support for
524.
▲
by
Const-me
3y ago
I believe that providing technical support is a crucial skill for a developer. If someone cannot assist a single user in resolving their issue, I question their ability to create effective documentation that reduces the occurrence of perple
525.
▲
by
Const-me
3y ago
Even if you left the oven on, I believe it’s very unlikely to burn down the house. These devices are designed to work for hours with minimal supervision. Given the size of the user base, IMO ovens are extremely reliable. And electricity pri
526.
▲
by
Const-me
3y ago
> I didn't see an obvious open-source tool that lets you dig into PDF internals That’s a matter of the toolset. I program C#, and I have good experience with that open source library: https://www.nuget.org/packages&#
527.
▲
by
Const-me
3y ago
> whether C#/Java programmers could read C/C++ code and immediately understand those & and *. Just like Rust, C# has an unsafe superset of the language. The meaning of all these * in unsafe C# exactly matches C.
528.
▲
by
Const-me
3y ago
Infinite money glitch for big tech, with dramatic externalities pushed to non-consenting general population. These externalities include death of traditional media, extreme levels of political polarization, and climbing suicide rate of teen
529.
▲
by
Const-me
3y ago
Do you know how much WATT Imperium costs? No information on their web site. AFAIK both fuel cells like that, and the inverse carbon capture machines, are technically possible for decades now. The issue is high cost due to precious metals in
530.
▲
by
Const-me
3y ago
I wonder can they use the same membrane/catalyst for the inverse process: oxidize propane with atmospheric oxygen, release water and CO2, and instead of heat directly produce electricity without too much energy wasted in the process? I
531.
▲
by
Const-me
3y ago
When I just want the ability to go as fast as conventional readable C++, I use C# instead. Compared to conventional C++, C# is typically only slightly worse in terms of performance. C# is safer than Rust, and the usability is IMO an order o
532.
▲
by
Const-me
3y ago
> Not sure how fully featured it is The crate you have linked contains just a single line of source code. Here it is: pub struct SourceReader {} Media foundation API reference: https://learn.microsoft.com/en-us&#x
533.
▲
by
Const-me
3y ago
I have minimal experience with Rust. OTOH, programming C++ for living since 2000, with a few gaps when I used other languages like Obj-C and C#. I agree C++ is very hard to learn if you only have experience with higher-level languages like
534.
▲
by
Const-me
3y ago
I'll be very surprised if MS will ever support rust bindings for media foundation. That thing is COM based, requires users to implement COM interfaces not just consume, and is heavily multithreaded. About SIMD, automatic vectorizers ar
535.
▲
by
Const-me
3y ago
> why would anyone start a greenfield project like this in C++ these days? TLDR: quite often, using C++ instead of Rust saves software development costs. Some software needs to consume many external APIs. Examples on Windows: Direct3D, D
536.
▲
by
Const-me
3y ago
Clay is inorganic, it's a mineral
537.
▲
by
Const-me
3y ago
OP has tested the 4600G APU. Theoretically, the chip can do 710 FP32 GFlops on CPU, and 1702 GFlops on the integrated GPU. Another thing, it’s hard to write CPU code which saturates memory throughput instead of stalling on memory latency. I
538.
▲
by
Const-me
3y ago
I did it with VBScript, Python, LUA, and in .NET both with and without C# compiler frontend. All these methods worked fine for my use cases.
539.
▲
by
Const-me
3y ago
You might be correct, but do you have a source for that? I found that DDR5-5600 = 69.21 GB/second on that web page: https://www.crucial.com/articles/about-memory/everything-abo... I have tried to find an auth
540.
▲
by
Const-me
3y ago
Would be interesting to try newer AMD Phoenix APU, specifically 7840H, 7840HS, 7940H or 7940HS: https://en.wikipedia.org/wiki/Template:AMD_Ryzen_Mobile_7040... These chips don’t have a socket and were designed for lapt
More ›