Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vinkelhake
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
31.
▲
by
vinkelhake
2y ago
You're looking at constructs mostly related to C++26 reflection. It's very new, so that might be why it looks like it's from a different planet. They necessarily had to invent some new syntax for it. I think C++26's refl
32.
▲
by
vinkelhake
2y ago
Just a heads up - it looks like the "Path Tracing Off" shots have ray tracing disabled as well. In the shots starting at 1:22 (the car and then the plaza), it looks like they just have the base screenspace reflections enabled. Pat
33.
▲
by
vinkelhake
2y ago
I don't get where the author is coming from with the idea that a diffusion based LLM would hallucinate less. > dLLMs can generate certain important portions first, validate it, and then continue the rest of the generation. If you pa
34.
▲
by
vinkelhake
2y ago
I'm sad to see this happen. I bought an M2 Air a year ago and I've been running Asahi on it since the day I got it. It hasn't been without hitches, but that was something I signed up for. I'm incredibly grateful for all
35.
▲
by
vinkelhake
2y ago
This is such a trite take. Whenever I hear it, what comes to my mind is: "bro, do you even play games?". The gaming industry is huge and gamers are varied. What is fun and play to one person is boring and vapid to another. I t
36.
▲
by
vinkelhake
2y ago
Just a quick note that the basic form of std::make_shared (which is the one that is relevant here) has been in the language since C++11.
37.
▲
by
vinkelhake
2y ago
This is neat I guess. Maybe I'm just blase with seeing yet another AI demo where I'm supposed to fill in the blanks in coming up with ways to make the tech actually useful . The "Step into Paintings" section cracked me
38.
▲
by
vinkelhake
2y ago
Thanks for the correction, I appreciate it! The double negative was not intended :)
39.
▲
by
vinkelhake
2y ago
> Honestly, I am extremely glad that Google is finally leaving the ecosystem, as I generally do not enjoy it when Google engineers try to force their ridiculous use cases down peoples' throats, as they seem to believe they simply kn
40.
▲
by
vinkelhake
2y ago
> But it's a text editor. Long time emacs user here (+20 years, yikes). I've used it on all kinds of computers during this time. Even a relatively modest computer from 2024 is an absolute beast compared to something from the ye
41.
▲
by
vinkelhake
2y ago
I want both... Some days, in particular when working hard or focusing on something, food is just fuel and not something I want to spend time on. I'd definitely take that first pill for those days. But I also really like cooking. If I h
42.
▲
by
vinkelhake
2y ago
It could be that they're plowing billions of dollars into engineering and missing some obvious solution. I think it's more likely that once you get down the details (which are going to much more intricate than a post like this can
43.
▲
by
vinkelhake
2y ago
> Nanite playback That's not what this is though. It's an implementation of the techniques/technology used in Nanite. It doesn't load data from Unreal Engine's editor. One of the mentioned goals: Simplicity.
44.
▲
by
vinkelhake
2y ago
Tracking down memory leaks is just one of things that valgrind can do.
45.
▲
by
vinkelhake
2y ago
It wouldn't be effective in practice. There are tools like pngquant that does lossy compression of png. That shady CDN could just as easily recompress png files. https://pngquant.org/
46.
▲
by
vinkelhake
2y ago
You mean like ChromeOS flex? https://chromeos.google/products/chromeos-flex/
47.
▲
by
vinkelhake
2y ago
HP Dragonfly Chromebook exist with up to 32GB RAM and has pretty good specs (good screen with touch), but it's very expensive for what you get. I have one of those at work and it's a nice device, but I don't think it's w
48.
▲
by
vinkelhake
2y ago
Right now there doesn't seem to be much point. IIRC they had a 1000 LOC limit on the core part of the code when the project was early. The README no longer mentions the limit and it looks like they just raise it whenever needed. Three
49.
▲
by
vinkelhake
2y ago
FWIW, this is the blog of Michał Zalewski. He worked on security at Google for quite a while and is, among other things, responsible for ushering in the modern era of program fuzzing with AFL. https://en.wikipedia.org/wiki&#
50.
▲
by
vinkelhake
2y ago
OOP is a tool like any other and isn't always suitable. A similar example from geometry: all squares are rectangles, but you wouldn't implement a square type by deriving from rectangle because it breaks LSP. > Adding a new oper
51.
▲
by
vinkelhake
2y ago
Walmart is currently selling Apple's old stock of M1 Airs. You can get the 8GB 256GB version for $699.
52.
▲
by
vinkelhake
2y ago
It's just Apple's price ladder. The prices on their different SKUs are laid out carefully so that there's never a too big of a jump to the next level. https://talkbackcomms.com/blogs/news/ladder
53.
▲
by
vinkelhake
3y ago
One of the advantages with wuffs is that it compiles to C and wuffs-the-library is distributed as C code that is easy to integrate with an existing C or C++ project without having to incorporate new toolchains.
54.
▲
by
vinkelhake
3y ago
Completely irrelevant is probably overstating it. He's been working on AI for the last 4+ years.
55.
▲
by
vinkelhake
3y ago
I implemented something similar at work for a phone handling system. We had a "workflow" system that let clients script how calls should be handled. All side effects that the script was allowed to make happened through an API with
56.
▲
by
vinkelhake
3y ago
I've been working on an editor (not text) in C++ and pretty early got into undo/redo. I went down the route of doIt/undoIt for commands but that quickly got old. There was both the extra work needed to implement undo separate
57.
▲
by
vinkelhake
3y ago
I find them generally very helpful. In a majority of cases, it's able to translate my review comments into the exact delta that I had in mind. Source: me, C++ readability reviewer - this means I review code from lots of different peopl
58.
▲
by
vinkelhake
3y ago
The literal ":>\0" gives us a 4 byte char array with the last two bytes being 0. I did this since the algorithm always does a 4 byte read from the passed pointer.
59.
▲
by
vinkelhake
3y ago
But the `as_str` field is never used. The type punning (and all the wonderful endian issues) is already happening in the memcpy.
60.
▲
by
vinkelhake
3y ago
The SWAR algorithm accepts the 6 ASCII characters after '9'. It'll parse ":>" as 114. int res = parse_uint8_fastswar(":>\0", 2, &num); Returns true and num is 114.
More ›