Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
comex
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
451.
▲
by
comex
3y ago
I see… The site said an Auto Wiki didn’t exist for my repo but could be generated via app.mutable.ai, so I went there and assumed it was substantially the same product despite the slightly different interface. I guess I didn’t find the act
452.
▲
by
comex
3y ago
[Edit: Apparently I’m reviewing the wrong product; see replies.] I tried the app version on one of my old repos. It’s a somewhat challenging test case because there are few comments and parts of the code are incomplete, though I’d say the
453.
▲
by
comex
3y ago
How typical of PWAs that even a demonstration site, which should demonstrate the best that PWAs can be, has a glaring UX bug on iOS. Namely: if you swipe from the sides of the screen to go back/forward, you get a duplicate animation.
454.
▲
by
comex
3y ago
Catchphrases aside, freedom of speech has always been about freedom from (specific categories of) consequences. That is the entire point. For example, the First Amendment protects you from most consequences imposed by the government, such
455.
▲
by
comex
3y ago
They weren’t criticizing the product direction. The letter was about Elon’s tweets and sexual harassment.
456.
▲
by
comex
3y ago
I ran both multiple times, alternating (and making sure to clean out the indexes in between). Results were reasonably consistent across runs.
457.
▲
by
comex
3y ago
I use all of those tools but the inconsistency drives me crazy as it's hard to remember which syntax to use where. Here's how to match the end of a word: ripgrep, Python, JavaScript, and practically every other non-C language: \b
458.
▲
by
comex
3y ago
Interesting, it supports an n-gram indexer. ripgrep has had this planned for a few years now [1] but hasn't implemented it yet. For large codebases I've been using csearch, but it has a lot of limitations. Unfortunately... I jus
459.
▲
by
comex
3y ago
The bypass is Apple-specific… which it must be, because the security feature being bypassed, CTRR, is itself Apple-specific. I don’t think Android phones or Raspberry Pi even have any equivalent.
460.
▲
by
comex
3y ago
Both of ChatGPT's is_palindrome functions have terrible performance. The algorithmic efficiency doesn't matter because the cost of iterating through each character in pure Python dwarfs everything. The first function is about 3
461.
▲
by
comex
3y ago
I'm not sure "interfere with their own offerings" is quite the right framing. It's more about "going beyond their imagined use case". iCloud Drive is a File Provider. Third-party services that want to do th
462.
▲
by
comex
3y ago
> Fans are requested to appreciate the hard work the developers put into their video games and avoid spreading the leaked source code further. Alternately, appreciate the hard work by making interesting mods for the game. GTA5 has alrea
463.
▲
by
comex
3y ago
(Not the OP.) “Terrifying and absolutely nuts” may be over the top, but in my experience it can be extremely helpful to have the source code to as many components as possible when something goes wrong. Sometimes you find a bug in one of th
464.
▲
by
comex
3y ago
Because iCloud Keychain sync is how each person can have one key for others to verify, rather than a separate key for every device they are logged into iMessage with. It’s described in more detail here: https://security.apple.com
465.
▲
by
comex
3y ago
Realistic attacks tend to involve doing many different runs of the algorithm with different values of whatever input is timing-dependent. That includes this attack, where you’re doing many different TLS connections which result in differen
466.
▲
by
comex
3y ago
There are many reasons it might be inconvenient for foo to pass that data to quux. Perhaps it’s actually quux that called foo rather than the other way around (in other words, foo is passing ownership through its return value rather than t
467.
▲
by
comex
3y ago
Because the upstream developer is not the only one who needs to profile the program. For one thing, you might be the upstream developer of a library the program links against, and your stack frames might be hidden under frames from the prog
468.
▲
by
comex
3y ago
> In addition the untrusted device must not be able to modify, remove or introduce data by itself without detection. It sounds like that property is satisfied on a file-by-file level. But what about between files? Can the untrusted dev
469.
▲
by
comex
3y ago
I’d be shocked if it was. Mostly because these are exactly the kind of bugs you find whenever you go digging into crusty old code. It would be more surprising if the image parsing code wasn’t vulnerable. And while these probably aren’t
470.
▲
by
comex
3y ago
Reminds me of the recent Supreme Court case about whether a train is "in use" while parked at a railyard: https://www.scotusblog.com/2022/03/justices-search-for-the-l...
471.
▲
by
comex
3y ago
Note that a key cannot be copyrighted, but it can be considered a circumvention tool for access controls that protect other copyrighted works.
472.
▲
by
comex
3y ago
It’s no longer possible.
473.
▲
by
comex
3y ago
> Does that understand that when talking about HTTP headers I talk about "referer" but when talking about JavaScript I have to use "referrer"? I bet GPT-4 understands that. (Though I have no personal experience using
474.
▲
by
comex
3y ago
> Shells often use this knowledge so that names like '..' and even '.' work on the text version, not the filesystem version. Which has the odd result that '..' behaves differently between shell builtins and
475.
▲
by
comex
3y ago
FYI, that's not how macOS app bundles work. While ELF binaries typically list the shared libraries they depend on with just a filename, Mach-O binaries use a path. This can be an absolute path, which is typically used for OS-provided
476.
▲
by
comex
3y ago
Judging by some YouTube videos I’ve seen, ChatGPT with GPT-4 can get pretty far through a game of chess. (Certainly much farther than GPT-3.5.) For that duration it makes reasonably strategic moves, though eventually it seems to inevitabl
477.
▲
by
comex
3y ago
It also somewhat depends on open legal questions like whether models are copyrightable and, if so, whether model outputs are derivative works of the model. Suppose that models are not copyrightable, due to their not being the product of hu
478.
▲
by
comex
3y ago
That leaves an obvious question: why not? Is it just because the tweets in question weren’t very popular? In Media Matters’ screenshot, the ad-adjacent tweets only seem to have a few hundred views, so perhaps it was pure chance that they d
479.
▲
by
comex
3y ago
In current glibc master, it's unsafe for any putenv/setenv to race with any getenv, even if the variable names are different, for two reasons. (Note that multiple calls to putenv/setenv are serialized by a lock, but getenv d
480.
▲
by
comex
3y ago
The toolbar buttons weren't standard controls. And many of them don't seem like actions that would be taken very frequently, so they probably didn't really need to be in the toolbar. On the other hand, the use of a toolbar,
More ›