Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
m-schuetz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
61.
▲
by
m-schuetz
8mo ago
TIL: I'm an LLM.
62.
▲
by
m-schuetz
8mo ago
I don't really care about someones phony definition of widely available. If it runs on 90% of user's browsers, it's widely available. I'll gladly make a web page that puts this definition online so that you can also refe
63.
▲
by
m-schuetz
8mo ago
It doesn't matter what it was designed for 30 years ago. Computers also weren't designed to be put in your pocket, yet here we are. Things evolve, and browsers that do not keep up will eventually stop being used.
64.
▲
by
m-schuetz
8mo ago
Based on marketshare, Firefox can easily be excluded from "widely available"
65.
▲
by
m-schuetz
8mo ago
Firefox is pretty irrelevant nowadays. They've dragged their feet for years when it comes to implementing new stuff, and now web devs don't even bother checking Firefox. Because devs know it won't work on ancient browsers, no
66.
▲
by
m-schuetz
8mo ago
> and are still accessed through big blocks of fixed function hardware that are very much still relevant But is it relevant for malloc? Everthing is put into the same physical device memory, so what difference would the usage flag make?
67.
▲
by
m-schuetz
8mo ago
> In fact, it takes only a few lines to wrap that VMA snippet above and you never have to stare at those pesky structs again! If it were just this issue, perhaps. But there are so many more unnecessary issues that I have no desire to dea
68.
▲
by
m-schuetz
8mo ago
> You are also explicitly saying that you want device memory by specifying DEVICE_LOCAL_BIT. There's no difference. There is. One is a simple malloc call, the other uses arguments with numerous combinations of usage flags which all
69.
▲
by
m-schuetz
8mo ago
No problem: Then you provide an optional more complex API that gives you additional control. That's the beautiful thing about Cuda, it has an easy API for the common case that suffices 99% of the time, and additional APIs for the compl
70.
▲
by
m-schuetz
8mo ago
I do all my new projects in OpenGL and Cuda since I'm not smart enough for Vulkan.
71.
▲
by
m-schuetz
8mo ago
No, it's not usage flags with extra steps, it's less steps. It's explicitly saying you want device memory without any kind of magical guesswork of what your numerous potential combinations of usage flags may end up giving you
72.
▲
by
m-schuetz
8mo ago
> Even with CUDA you have to do that. No you don't, cuMemAlloc(&ptr, size) will just give you device memory, and cuMemAllocHost will give you pinned host memory. The usage flags are entirely pointless. Why would UMA be necessary
73.
▲
by
m-schuetz
8mo ago
Nah, I know about VMA and it's a poor bandaid. I want a single-line malloc with zero care about usage flags and which only produces one single pointer value, because that's all that's needed in pretty much all of my use cases
74.
▲
by
m-schuetz
8mo ago
Agreed. It has way too much completely unnecessary verbosity. Like, why the hell does it take 30 lines to allocate memory rather than one single malloc.
75.
▲
by
m-schuetz
8mo ago
I don't see the point of those when I can just directly use OpenGL. Any translation layer typically comes with limitations or issues. Also, I'm not that glued to OpenGL, I do think it's a terrible API, but there just isn'
76.
▲
by
m-schuetz
8mo ago
> Except it didn't. In the GL programming model it's trivial to accidentially leak the wrong granular render state into the next draw call This is where I think Vulkan and WebGPU are chasing the wrong goal: To make draw calls f
77.
▲
by
m-schuetz
8mo ago
I understand not being cutting-edge. But having a feature-set from 2010 is...not great. Also, some things could have easily be done different and then be implemented as efficient as a particular backend allows. Like pipelines. Just don'
78.
▲
by
m-schuetz
8mo ago
WebGPU is kinda meh, a 2010s graphic programmers vision of a modern API. It follows Vulkan 1.0, and while Vulkan is finally getting rid of most of the mess like pipelines, WebGPU went all in. It's surprisingly cumbersome to bind stuff
79.
▲
by
m-schuetz
8mo ago
Many people need something in-between heavy frameworks and engines or oppinionated wrappers with questionable support on top of Vulkan; and Vulkan itself. OpenGL served that purpose perfectly, but it's unfortunately abandoned.
80.
▲
by
m-schuetz
8mo ago
Tbh, we should more readily abandon GPU vendors that refuse to go with the times. If we cater to them for too long, they have no reason to adapt.
81.
▲
by
m-schuetz
8mo ago
I think this is one of the biggest issues here, that the EU is actually forbidding to charge credit card users the transaction fee. On the contrary, it should make it mandatory that card users have to pay the transaction fees themselves. Th
82.
▲
by
m-schuetz
8mo ago
I suspect we are only 5-10 years away until Vulkan is finaly usable. There are so many completely needlessly complex things, or things that should have an easy-path for the common case. BDA, dynamic rendering and shader objects almost make
83.
▲
by
m-schuetz
8mo ago
Is it, though? Japan and America also have good relations, despite the latter nuking the former twice. Germany and other EU states are close now despite being on opposite sites in two world wars. Some/most countries manage to move on f
84.
▲
by
m-schuetz
8mo ago
GTA II is still my favourite GTA.
85.
▲
by
m-schuetz
9mo ago
Sleep used to work perfectly fine up until, I don't know, 10 years ago. I doubt hardware/firmware/BIOS got worse since then, this is 100% a Microsoft problem.
86.
▲
by
m-schuetz
9mo ago
I still don't understand how Microsoft lets standby remain broken. I can never leave the PC in my bedroom ij standby because it will randomly wake up and blast the coolers.
87.
▲
by
m-schuetz
9mo ago
Binaries or source, it's pretty much the same unless you thoroughly vet the entire source code. Malicious code isn't advertised and commented and found by looking at a couple of functions. It's carefully hidden and obfuscated
88.
▲
by
m-schuetz
9mo ago
Why woul building from source be safer? Are you veting every single line of third-party source code you compile and use?
89.
▲
by
m-schuetz
9mo ago
TIL: AVIF can be nicely embedded and looped like a gif. That's awesome. With most of the video embedding I've seen so far, the issue has always been that it was embedded as a video player.
90.
▲
by
m-schuetz
9mo ago
Why would they join another project that's worse than their own solution, over which they have full controll?
More ›