Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ptx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
511.
▲
by
ptx
3y ago
Users will lose what they non-bought eventually if they don't own it. It's just a matter of time. Even if the company earnestly believes, at this time, that they will continue to provide access forever, circumstances will inevit
512.
▲
by
ptx
3y ago
What should you do instead? How would someone familiar with the legal situation disclose a vulnerability?
513.
▲
by
ptx
3y ago
I thought that perhaps the difference could be due to the JavaScript version having to first read the entire file before getting started on hashing it , whereas the Python does it incrementally (which the browser API doesn't support [0
514.
▲
by
ptx
3y ago
The GDPR is concerned with using cookies or storage for tracking users without their consent, not with using cookies or storage as such. You don't need to ask for permission to use cookies (or similar techniques) in general – only when
515.
▲
by
ptx
3y ago
There is already an AOT compiler for Python: Nuitka[0]. But I don't think it's much faster. And then there is mypyc[1] which uses mypy's static type annotations but is only slightly faster. And various other compilers like Nu
516.
▲
by
ptx
3y ago
What if you want to let a non-root user manage the systemd unit for a particular service? Is there a better way than per-user systemd instances?
517.
▲
by
ptx
3y ago
Why is inetd an anti-pattern? Isn't separating all the work of opening ports and launching daemons into a separate component (so that it's not mixed into every other component) exactly what separation of concerns is all about?
518.
▲
by
ptx
3y ago
> The tech press almost universally fails to mention the web as a substitute for native apps Maybe because this topic was already thoroughly covered and debated back in 2007 when the first iPhone was released? Here's John Gruber c
519.
▲
by
ptx
3y ago
Yeah, that's what I thought as well. It pulls together screenshots, photos, code snippets, quotes and links to historical documents. The RFCs don't have this stuff. (Maybe I shouldn't have included the "for the technical
520.
▲
by
ptx
3y ago
It does help in some cases. For example, I know that "kotlin-stdlib-jdk8" in Maven Central is the official package for Kotlin standard library, but what about "kotlin-stdlib-wasm-wasi", "kotlin-jdk-annotations"
521.
▲
by
ptx
3y ago
Did you mean "passlib", the third-party module they link to? The built-in "hashlib" doesn't generate any warnings for me on Python 3.11 and is presumably maintained as part of Python. Anyway, the PEP mentions that &
522.
▲
Web Development History – Internet history for the technically curious
(webdevelopmenthistory.com)
124 points
by
ptx
3y ago
|
15 comments
523.
▲
by
ptx
3y ago
He laments that users "don't know about the freedoms we promote which are increasingly in their interest", but wasn't this the point of Open Source as compared to Free Software, to refocus the messaging from the user
524.
▲
by
ptx
3y ago
The example code in the article is a bit weird. Why are the query parameters handled on a case-by-case basis in the cgiHandler function (in the web server)? CGI normally passes parameters to the script in the QUERY_STRING variable or on sta
525.
▲
by
ptx
3y ago
Which part are you referring to?
526.
▲
by
ptx
3y ago
CGI's performance may have been fine for Perl, which has very low startup overhead, but those who wanted to write apps in most other languages needed something else. And even then there was mod_perl, as you mentioned, which eliminated
527.
▲
by
ptx
3y ago
The author at one point advocates speeding up the writing process by incorporating bogus nonsense from ChatGPT and chucking the whole thing over the wall to someone else for fact-checking after it's completed. They may have taken the s
528.
▲
by
ptx
3y ago
Maybe because pronouns act as implicit identifiers? Kotlin goes a little way towards that by letting you use "it" to refer to the first parameter of a lambda (which are used extensively) without having to introduce a new noun.
529.
▲
by
ptx
3y ago
It sounds like the same problem. I don't see, though, why the article you linked says it was "unfixable" for X11 because "clients relied on memory stored by the Xserver" when it then goes on to describe that Wayland
530.
▲
by
ptx
3y ago
Or perhaps KOI-7 N1, another 7-bit text encoding [0]. The Cyrillic alphabet should be good enough for anyone. As you say, no need to let Americans use their native alphabet just to feel included. [0] https://en.wikipedia.org/
531.
▲
Objective-S
(objective.st)
19 points
by
ptx
3y ago
|
8 comments
532.
▲
by
ptx
3y ago
The text seemed nicely broken up by the headings already, but maybe adding some syntax-colored code snippets (where relevant) would be another way to add some color to the visuals.
533.
▲
by
ptx
3y ago
They would still be vulnerable to the sort of attack described in the article, though: If the host deliberately hands the guest a socket it can use to execute commands as root on the host, there's nothing that can be done to make it se
534.
▲
by
ptx
3y ago
The "escape" in the article also requires "--pid=host", i.e. permission to debug processes on the host. That seems like a very obviously bad idea.
535.
▲
by
ptx
3y ago
Why are these capabilities usually granted, in your experience?
536.
▲
by
ptx
3y ago
What about text input? That's often where this kind of solution is lacking for more general-purpose use. Does it support selection? Cut and paste? European languages? Chinese and Arabic? Hiding and showing the virtual keyboard as appro
537.
▲
by
ptx
3y ago
Couldn't the rendering still be batched? In Swing, for example, onDraw is invoked whenever Swing feels like it (and so could presumably be batched) regardless of when and how often the component's state is updated.
538.
▲
by
ptx
3y ago
Visual Basic clearly seems to have been aiming at QBasic/QuickBasic compatibility, in any case. For example, the CALL keyword in QBasic is almost useless: It allows you to call procedures without a DECLARE statement, but DECLARE stat
539.
▲
by
ptx
3y ago
Didn't they recently deprecate this? https://nolongerset.com/vbscript-deprecation/
540.
▲
by
ptx
3y ago
I think the problem with the README is that it sounds more like a marketing brochure than documentation. It's full of slogans and weird illustrations comparing it to "Other Python GUIs".
More ›