Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
comex
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
121.
▲
by
comex
10mo ago
I also only saw that, but the text feels a bit fluffed out by AI as well, if I’m not mistaken.
122.
▲
by
comex
10mo ago
It's all a bit of a mess right now, but with some fiddling in settings you should be able to get your passkeys in one place (probably Bitwarden) and access them everywhere. Safari on iOS can store and use passkeys from any app that imp
123.
▲
by
comex
10mo ago
LLMs can produce outputs that for a human would be interpreted as revealing everything from anxiety to insecurity to existential crises. Is it role-playing? Yes, to an extent, but the more coherent the chains of thought become, the harder
124.
▲
by
comex
10mo ago
Just be glad that there remains a concrete benefit to not atrophying your mind and deeply understanding your code. For now. In the long run, I suspect the behemoth will become just as capable at debugging and dealing with complexity as hu
125.
▲
by
comex
10mo ago
The code is passing the function pointers into Win32 APIs, so the caller side isn’t controlled; the callbacks have to work as native C function pointers. This was probably posted in response to this other link from two days ago, which is ab
126.
▲
by
comex
10mo ago
I think you're right. My mistake. Maybe the best option is `&mut windows_sys::core::BSTR` (using the unsafe BSTR type I mentioned), since that way the same BSTR type can be used for the two arguments. Or `*mut BSTR`, since windo
127.
▲
by
comex
10mo ago
FYI, I believe your updated signature is still incorrect. You have: unsafe fn GetCustomUI(&self, _ribbon_id: *const BSTR, out: *mut BSTR) -> HRESULT {} But as linked in bri3d's post, the original C++ signature is:
128.
▲
by
comex
10mo ago
Counterpoint: I’ve often wished the proprietary software I use was source-available so that I could fix bugs for myself. The idea of doing free work for a company does feel weird. But when some bug is really getting on my nerves, being abl
129.
▲
by
comex
10mo ago
It does work in GCC to suppress unused variable warnings. Just not for function calls I guess.
130.
▲
by
comex
10mo ago
If we're talking about actual clean-room reverse engineering where only the overall design or spec is copied and not the specific code, then yes. In this process, one person would decompile the original and turn it into a human-readab
131.
▲
by
comex
10mo ago
Things don't always get worse. Sometimes they get better. TypeScript recently invited people to try their new compiler which is 7-10x faster. [1] VS Code is popular, but personally I write TypeScript in Vim, which is definitely faster
132.
▲
by
comex
10mo ago
Not when we’re talking about a JVM, which has its own heap that does not use malloc.
133.
▲
by
comex
11mo ago
Some languages do define &&b, like Rust, where its effect is similar to the parent post's C example: it creates a temporary stack allocation initialized with &b, and then takes the address of that. You could argue this is i
134.
▲
by
comex
11mo ago
Note that while the authors themselves purport to release the training data under a permissive license, it includes scraped webpages, with the only rule being "don’t collect from sites that explicitly disallow it, including paywalled c
135.
▲
by
comex
11mo ago
I think this is the paper in question? https://osf.io/preprints/psyarxiv/wk4et_v3 Clinical trials of antidepressants are weird because they're usually short-term (6-12 weeks), whereas practical use of antidep
136.
▲
by
comex
11mo ago
Neat, though I'm guessing it's pretty slow. Tip for anyone reading: If you only need to trace file accesses or command executions, `eslogger lookup` and `eslogger exec` respectively will give you what you need (albeit in the form
137.
▲
by
comex
11mo ago
Amazon does not need to pay Google for this. There is no world where Google puts an organic result about the rainforest in the top spot, because it's not what most users are looking for. At most there might be a world where Google put
138.
▲
by
comex
11mo ago
I tried asking for a shot from a live-action remake of My Neighbor Totoro. This is a task I’ve been curious about for a while. Like Sonic, Totoro is the kind of stylized cartoon character that can’t be rendered photorealistically without
139.
▲
by
comex
11mo ago
And you will find similar reasoning in the Citizens United decision with respect to corporations: > If the First Amendment has any force, it prohibits Congress from fining or jailing citizens, or associations of citizens, for simply en
140.
▲
by
comex
11mo ago
To be clear, that has nothing to do with exceptions, garbage collection, or error ABIs. But I guess you're saying it's a case of tacking on language features to languages that don't have them, since the main desired MS exten
141.
▲
by
comex
11mo ago
I don't think that's quite right. For DMA you would normally use an empty asm block, which is what's typically referred to as a "compiler barrier" and does tell the compiler to discard everything it knows about the
142.
▲
by
comex
11mo ago
Apple’s PCC has an explicit design goal to mitigate your point 1, by designing the protocol such that the load balancer has to decide which physical server to route a request to without knowing which user made the request. If you compromis
143.
▲
by
comex
11mo ago
JS shouldn't have a direct equivalent because JS async functions are eager. Once you call an async function, it will keep running even if the caller doesn't await it, or stops awaiting it. So in the scenario described, the funct
144.
▲
by
comex
11mo ago
It's worth noting that this is not async/await in the sense of essentially every other language that uses those terms. In other languages, when the compiler sees an async function, it compiles it into a state machine or 'co
145.
▲
by
comex
11mo ago
So, yes, but you won’t say what the base model is? :)
146.
▲
by
comex
1y ago
Anonymization is supposed to be irreversible. This scheme is reversible by whoever has the key. I don't really get the point of it.
147.
▲
by
comex
1y ago
macOS doesn't have (many) consistency issues in the OS itself or first-party apps. But when it comes to the third-party apps people use? Totally inconsistent. Most of them are either webapps accessed through the browser (Google Docs
148.
▲
by
comex
1y ago
macOS didn't merge /usr, but it did do something sorta related. One of the purposes of usrmerge is to cleanly separate the read-only and read-write parts of the system. This helps with image-based distros, where /usr can be
149.
▲
by
comex
1y ago
The author probably meant “A well-maintained” instead of “The well-maintained”.
150.
▲
by
comex
1y ago
I used this a very long time ago and rather disliked it. My impression at the time was that it was just a worse version of C. As low-level as C, with fewer features, and much slower - unlike a normal scripting language which is slower but
More ›