Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ptx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
451.
▲
by
ptx
3y ago
It sound like they're only reconsidering the prefix, not the backslashes, or am I misreading it? So we're not getting "hello $name" but rather than STR."hello \{name}" they're now considering $"h
452.
▲
by
ptx
3y ago
Have you looked at Microsoft's Win32 API metadata package [0]? They're using it to generate C# and Rust bindings, and other people have targeted other languages. [0] https://github.com/microsoft/win32metadata
453.
▲
by
ptx
3y ago
Safe primitives such as garbage collection?
454.
▲
by
ptx
3y ago
I don't think COBOL's dream was to generate enormous amounts of assembly code that users would then have to maintain (in assembly!) and producing differently wrong results every time you ran it.
455.
▲
by
ptx
3y ago
I'm not sure that assertion by the US Commerce Secretary is holding up a months later. Apparently "Huawei has seen a resurgence in its premium smartphone sales since it released its Mate 60 series" (the phone model in questio
456.
▲
by
ptx
3y ago
> I deleted all cache on my local environment, all node_modules references, all lock files. Were the lock files not checked into version control? It sounds like the problem was that different environments had different versions of depe
457.
▲
Clock Fault Injection on Mocor OS – Password Bypass (2023)
(onekey.com)
1 points
by
ptx
3y ago
|
0 comments
458.
▲
by
ptx
3y ago
> You'll have to bundle the whole of Python distro which is very bloaty. Python's embeddable package (for 64-bit Windows, available on the download page) is 23 MB uncompressed or 10.5 MB zipped. Although I'm sure Go can
459.
▲
by
ptx
3y ago
According to the docs, those shared memory objects have significant limitations: they are immutable and only support numpy arrays (or must be deserialized). Sharing arrays of numbers is supported in multiprocessing as well: https:/&#x
460.
▲
by
ptx
3y ago
Why is it a mess? What's wrong with it on Windows?
461.
▲
by
ptx
3y ago
How does that work? I'm not familiar with Ray, but I'm assuming you might be referring to actors [1]? Isn't that basically the same idea as multiprocessing's Managers [2], which also allow client processes to manipulate
462.
▲
by
ptx
3y ago
Yup, SWT is a wrapper for actual native widgets, similar to wxWidgets. Some widgets are custom though, like the horrendously ugly tab widgets, which might be what the other commenter is reacting to. And the spacing and alignment usually doe
463.
▲
by
ptx
3y ago
Hmm, maybe the MMC child windows were owned by a different thread (which would also involve a separate message loop and a context switch) but not a different process? I distinctly remember finding some windows in there that were not owned b
464.
▲
by
ptx
3y ago
Why do you get terrible performance? I vaguely recall reading that doing this ties the input queues together, so that all (input?) messages get dispatched to both processes, which then both need to have their message loops respond in a time
465.
▲
by
ptx
3y ago
It makes sense for mouse scrolling to target whatever the mouse is pointing at, just like all the other mouse buttons. Keyboard scrolling needs to use the current input focus to select a target because you can't point with the keyboard
466.
▲
by
ptx
3y ago
Almost, yes, but not quite. Curation and integration by a trusted party is a valuable service, and I very much appreciate Mozilla, Debian and others doing this work and enforcing their inclusion policy, e.g. the Debian Free Software Guideli
467.
▲
by
ptx
3y ago
For Firefox extensions, Mozilla has a "recommended extensions program" [0] which involves "rigorous technical review by staff security experts" before extensions are included, but it's not clear from their support a
468.
▲
by
ptx
3y ago
It has also been established that vendors cannot be trusted to refrain from bundling unwanted feature changes (and sometimes straight-up malware) with their security updates, so it's no wonder that users might be reluctant to install s
469.
▲
by
ptx
3y ago
Isn't jailbreaking a form of prompt injection, since it takes advantage of the "system" prompt being mixed together with the user prompt? I suppose there could be jailbreaks without prompt injection if the behavior is defined
470.
▲
by
ptx
3y ago
> It boils down to cost-benefit-calculations. Yes, the user bears the cost when their confidential data is leaked and the company derives the economic benefit of mishandling it, which is why this keeps happening.
471.
▲
by
ptx
3y ago
This sounds a lot like some kind of government procurement process, which don't have a reputation for producing particularly good IT systems.
472.
▲
by
ptx
3y ago
As mentioned by sibling comments, it's because you're not specifying a year. If you change the day to the 28th you'll see that it defaults to the year 1900: >>> datetime.strptime('Feb 28 04:55:03.687',
473.
▲
by
ptx
3y ago
Attaching capabilities to pointers is sort of what CHERI does, isn't it? And the presumably CHERI can have better performance thanks to the direct hardware support. (Your manifesto mentions a 200x performance impact currently.)
474.
▲
by
ptx
3y ago
What kind of small changes? It seems strange to me that other languages would bother implementing complicated garbage collectors and borrow checkers if all you need is a small change from C.
475.
▲
by
ptx
3y ago
The quote in the article you're quoting is incorrect, though. The tribunal said that this is what "in effect, Air Canada suggests", but the airline did not literally say what the BBC quotes them as saying.
476.
▲
by
ptx
3y ago
"It is on par with human agents in regard to customer satisfaction score", they say. Is this measured before or after the customer finds out that the AI's seemingly satisfactory answer was all lies?
477.
▲
by
ptx
3y ago
What are some of the security issues? (Just curious. I don't use Homebrew.)
478.
▲
by
ptx
3y ago
Some of the supposed selling points on the pkgx the website are that they "build new releases almost immediately" and "add everything that people want without qualms", which seems to imply pretty lax quality control. Giv
479.
▲
by
ptx
3y ago
I don't know about that one. As you say, it's just repeating the class documentation, so maybe the tooling should make it easier to view the class docs if that's the problem. The generated version is also less clear: In what
480.
▲
by
ptx
3y ago
I'm not familiar with this codebase, but to me it doesn't seem to be adding any context – it's simply describing what the implementation does. In particular, the comment about unnecessaryExclusions is just adding noise since
More ›