Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Const-me
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
481.
▲
by
Const-me
3y ago
Interesting, I never heard about that. Was merged to master in February 2022, I wonder which release version includes the changes? Still, the support seems very limited. They simply probe argument type for arrays and lists. Any other IEnume
482.
▲
by
Const-me
3y ago
> AVX instructions, which is implemented for quite a few LINQ methods Are you sure? Any examples of such methods? And does AVX actually helps? I don’t think that’s possible because IMO AVX and other SIMD can only help for dense inputs. T
483.
▲
by
Const-me
3y ago
The bug is specific to Win64 builds made with GCC compiler. I’m pretty sure VC++ doesn’t have that bug.
484.
▲
by
Const-me
3y ago
I believe the main problem is lack of competition. When a customer registers geographical domains, or old school domains like com / net, they can migrate to any other registrar they wish. This option guarantees reasonable prices for cu
485.
▲
by
Const-me
3y ago
Examples include gaming using the integrated GPU and using software like whisper.cpp / llama.cpp. They both handle gigabytes of data, and typically bottlenecked with memory throughput.
486.
▲
by
Const-me
3y ago
I’m not familiar with science, but I don’t believe things are terribly bad for engineers. Brilliant innovative engineers have a degree of control over their lives. If a person is unhappy about the bureaucracy of the large org they can find
487.
▲
by
Const-me
3y ago
> use C++ or Rust instead of Java or C# in that case? Despite having to spend extra time translating C API headers into C#, the productivity gains of the higher-level memory safe language were enormous. Another example, I have shipped co
488.
▲
by
Const-me
3y ago
> Part of Panama Most real-live C APIs are using function pointers and/or complicated data structures. Here’s couple real-life examples defined by Linux kernel developers who made V4L2 API: [0], [1] The first of them contains a unio
489.
▲
by
Const-me
3y ago
I think Java is only good for long-running servers. Java doesn’t support C interop. For many desktop and embedded projects this is a showstopper, here’s an example https://github.com/Const-me/Vrmac/tree/master
490.
▲
by
Const-me
3y ago
I’ve just created and compiled an empty WinUI3 project, and I got 131 MB of binaries just for the AMD64 architecture. The EXE from that folder crashes on startup with DllNotFoundException “Unable to load DLL 'Microsoft.ui.xaml.dll'
491.
▲
by
Const-me
3y ago
The name reminds me of the different Ice Cube: https://en.wikipedia.org/wiki/Ice_Cube 20 years ago, I was a big fan.
492.
▲
by
Const-me
3y ago
> highly valuable both monetarily I have never paid more than $250 for a phone, and I hope I never will. > all the 2FA tied to it It’s not the brightest idea to use phone for 2FA, precisely because it’s so easy to break or loose a pho
493.
▲
by
Const-me
3y ago
> During execution the registers allocated to a thread are private to it, i.e., other threads cannot read/write those registers. Wave intrinsics in HLSL, and similar CUDA things can read registers from different threads within the c
494.
▲
by
Const-me
3y ago
I agree about the high barrier to entry, but I disagree about the modern job market. There’re huge areas of the software industry where performance matters to this day. Examples include videogames, content creation, video processing, engine
495.
▲
by
Const-me
3y ago
I prefer compiler intrinsics to look like functions, not operators. For example, BMI1 ISA extension defines bitwise and not instruction, available in C++ as `_andn_u32()` or `_andn_u64()` intrinsics. That’s a rare operation most programmers
496.
▲
by
Const-me
3y ago
> or latin-1 in a comment, a level of brain damage i've never seen from any other language I know another one, HLSL – Microsoft’s language widely used to write graphics and compute shaders for Direct3D GPUs.
497.
▲
by
Const-me
3y ago
I meant “free as in beer”. One of the reasons Android was a success while Windows Phone failed, Microsoft charged something like $30 per device for the OS license.
498.
▲
by
Const-me
3y ago
> built sustainable products Google is spending many millions of dollars per year developing and maintaining free software like Chrome and Android. If the government will miraculously enforce the current anti-competition laws and break
499.
▲
by
Const-me
3y ago
Not a big fan. Consider that: if( a ) { if( b ) { if( c ) breakelse; } else { // E2 } } else { // E1
500.
▲
by
Const-me
3y ago
According to that research https://www.counterpointresearch.com/insights/arm-based-pcs-... 14% of laptops currently being sold have an ARM CPUs. However, 90% of them are Macbooks, which means the share of the ARM lapto
501.
▲
by
Const-me
3y ago
Writing assembly is rarely a good choice in modern days. Whether assembly code is correct or not depends not just on the target CPU, but also on the target OS. See that bug for the example what gonna happen https://bugs.chromium.
502.
▲
by
Const-me
3y ago
Microsoft’s implementation of C standard library routines like `memcpy` is checking for a global flag, and use AVX when available. The flag is initialized on startup by testing the output of `cpuid` instruction. For this reason, most binari
503.
▲
by
Const-me
3y ago
Yeah, but some new tech became very relevant over time. Examples include Unicode in NT 3.5, asynchronous I/O in NT 4, multi-CPU support in Win2k (become mainstream after hyperthreading and especially multicore CPUs), 3D GPU for desktop
504.
▲
by
Const-me
3y ago
> I built Tkinter GUIs for my scripts MS had the technology which used HTML for GUI: https://en.wikipedia.org/wiki/HTML_Application Interestingly, it arrived in IE5 in 1999, almost 15 years before the very first ver
505.
▲
by
Const-me
3y ago
There are some. DXVK implements D3D 9 and 11 on top of Vulkan, it’s an essential software in SteamDeck and Wine. There’re rumors modern Windows GPU drivers for Intel Ark GPUs are using that thing as well, for the implementation of D3D. Molt
506.
▲
by
Const-me
3y ago
Devices like nVidia H100 and AMD MI250 are also designed for computing only. They don’t support D3D, GL or Vulkan, yet both manufacturers still call these things “a GPU”.
507.
▲
by
Const-me
3y ago
Yeah, the throughput/latency tradeoff is real. Here’s an unusual motherboard salvaged from Xbox Series X which combines AMD Zen2 CPU cores, GDDR6 memory, where the integrated GPU is disabled due to defects: https://www.tomsh
508.
▲
by
Const-me
3y ago
The hardware can be fast, actually. Here’s an example of relatively modern industrial x86: https://www.onlogic.com/ml100g-41/ That thing is probably faster than half of currently sold laptops. However, containers or Ub
509.
▲
by
Const-me
3y ago
Good story! Still, IMO a better solution is fixing the hardware. Many years ago, I had similar symptoms with an old thick HP laptop. I think I have paid something like $30 for the new fan assembly, it’s a large part which includes a fan, ra
510.
▲
by
Const-me
3y ago
> Why is Russia the top Ukrainian refugee destination? UN officials think Poland is the top destination: https://en.wikipedia.org/wiki/Ukrainian_refugee_crisis_(2022... > Why is Russia giving full citizenship to
More ›