Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ptx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
91.
▲
by
ptx
4mo ago
There are (or have been) lots of languages using the JVM as a compilation target, whether it is well-suited for this or not. Wikipedia has a partial list: https://en.wikipedia.org/wiki/List_of_JVM_languages
92.
▲
by
ptx
4mo ago
In particular (as I just learned when looking it up), WASM can dynamically allocate host memory with the memory.grow instruction, so you don't have to waste a huge chunk of statically allocated memory per VM: https://devel
93.
▲
by
ptx
4mo ago
From the introduction section of the Java specification [1]: "The Java Virtual Machine is the cornerstone of the Java platform. It is the component of the technology responsible for its hardware- and operating system-independence, the
94.
▲
by
ptx
4mo ago
Function definitions in Python are just statements that are executed. When you execute the "def" statement, the default values are evaluated. You can try it in the REPL: >>> def f(foo=print("Executing def stateme
95.
▲
by
ptx
4mo ago
I don't see a disconnect. AI generates things that are similar to existing things (but partly made up and subtly wrong), so just like how it can generate somewhat correct code it can also generate somewhat correct vulnerability reports
96.
▲
by
ptx
4mo ago
Who is going to pay for maintaining the massively more complicated implementation though? Microsoft pulled their funding of the Python team, and even if they hadn't I think there's a danger in making Python so complicated that it
97.
▲
What Ooxml Transitional Tells Us About Format Sovereignty
(blog.documentfoundation.org)
6 points
by
ptx
4mo ago
|
0 comments
98.
▲
by
ptx
4mo ago
Maybe it's more like shift-left testing [1]? You're trying to move some checks to earlier in the process, if I understood you correctly, and get cheaper feedback loops. [1] https://en.wikipedia.org/wiki/Shift-
99.
▲
by
ptx
4mo ago
FreeBSD has a "protect" command which does something similar to what this asks for – the man page [1] describes it: "The protect command is used to mark processes as protected. The kernel does not kill protected processes whe
100.
▲
by
ptx
4mo ago
Are those Google ads? That's the only ad-related script I can find on the page. One of the ads says it comes from "MediaGo", but the iframe seems to be served from googlesyndication.com. If so, I'm glad we have such a tr
101.
▲
by
ptx
4mo ago
The article compares LLMs to Stack Overflow and calls it "a continuation of the same trend", but I think there's a big difference. With Stack Overflow, you got multiple answers from different people with different viewpoints
102.
▲
by
ptx
4mo ago
The Linux version is built with Free Pascal instead, and the Windows version will be based on that code in the future (says the README in the lazarus branch).
103.
▲
by
ptx
4mo ago
And the text appears to fade in on scroll, so you see literally nothing while scrolling down. Wonderful UX. It's like deliberately reintroducing a worse version of the checkerboard pattern the original iPhone used to display when the C
104.
▲
by
ptx
5mo ago
And it sounds like the proxy can be easily circumvented by the agent, since it only applies within the Node process and the agent can execute arbitrary external commands. (The filesystem wrapper API sounds even more pointless. The risk it p
105.
▲
by
ptx
5mo ago
Huawei fixed it in their Cangjie language. According to the docs [1][2], it throws an exception by default and you can use an annotation to get wrapping or saturation instead. (Cangjie seems like a pretty nice language in other ways as well
106.
▲
by
ptx
5mo ago
It's probably a better idea to follow the process documented in PEP 541 [1] and contact the PyPI admins to request a transfer of the name. Taking over the domain to impersonate the original owner would look indistinguishable from a sup
107.
▲
by
ptx
5mo ago
Right, that's essentially what I'm thinking. On the one hand Apache and Nginx are mature and proven but, being written in C, they will always suffer from memory-safety issues like this one and the recent Apache vulnerabilities. On
108.
▲
by
ptx
5mo ago
Is there a good alternative to Apache and Nginx that's written in a memory-safe language and not full of security holes? I briefly looked at Jetty (written in Java) and Caddy (written in Go) but they seem to have a history of vulnerabi
109.
▲
by
ptx
5mo ago
They're getting better with time relative to modern GUIs. I wasn't a big fan of Windows 3.1 or Motif in their heyday, but compared to the visual chaos we have nowadays they're looking pretty good.
110.
▲
by
ptx
5mo ago
> lay out dialogs correctly This might be specific to X11. The initial size of the window is miscalculated when it first opens and a moment later changes by a few pixels, causing the contents to visually shift slightly. This happens wi
111.
▲
by
ptx
5mo ago
> This is similar to buying a hammer. No, it's similar to letting someone else do all your hammering because using a hammer is too dangerous. And then, to make the process more efficient, letting them take control of your home to be
112.
▲
by
ptx
5mo ago
I don't think that would work, as capslock should only affect the letter keys (not e.g. turn "1" into "!") and the keyboard doesn't know which those keys are, as it depends on the layout configured in the OS.
113.
▲
by
ptx
5mo ago
No, JetBrains use Swing in IntelliJ IDEA. You can tell from how it (for example) fails to layout dialogs correctly the first time they're displayed, just like every other Swing application. And how windows have no minimum size because
114.
▲
by
ptx
5mo ago
Are you sure Java's UI issues are caused by threading and not just Swing being a glitchy pile of junk? For example, if you don't explicitly call the java.awt.Toolkit.sync() method after updating the UI state (which according to th
115.
▲
by
ptx
5mo ago
Maybe compounding interest on all the technical debt generated by the LLMs?
116.
▲
by
ptx
5mo ago
You can usually get info about the upstream from the package metadata, e.g. on Debian: $ apt info whohas ... Homepage: http://www.philippwesche.org/200811/whohas/intro.html ... The distribution model on
117.
▲
FreeBSD Status Report First Quarter 2026
(freebsd.org)
3 points
by
ptx
6mo ago
|
0 comments
118.
▲
by
ptx
6mo ago
Well, that validates my decision not to install it. Of course Microsoft will eventually abuse any trust you place in them and any access you give them. They always do. Don't let Microsoft run code on your machine and don't give th
119.
▲
by
ptx
6mo ago
On the other hand, the article does say that "When the DMA took effect, it expected gatekeepers like Apple to deliver interoperability by default [...] Instead, Apple created a request-based system where each developer must seek permi
120.
▲
by
ptx
6mo ago
The online version has been extended quite a bit beyond what we broadly agree. If we translated back to checking ID in shops, it might look more like this: 1) Obviously you can't be trusted to handle your own ID card, because you could
More ›