Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
larsnystrom
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
larsnystrom
1y ago
Allowing third party payment systems does not mean they have to be less strict in the rest of their app vetting process.
32.
▲
by
larsnystrom
1y ago
But this is from a non-Apple app. You’re already on a page outside of Apples control.
33.
▲
by
larsnystrom
1y ago
Why are they using any language at all? Why not just let the app maker open the payment screen directly?
34.
▲
by
larsnystrom
2y ago
> Performance is a frequently cited rationale for “Rewrite it in Rust” projects. While performance is high on my list of priorities, it’s not the primary driver behind this change. Is performance a frequent rationale for rewriting C appl
35.
▲
by
larsnystrom
2y ago
But vscode doesn’t just let you edit files on the remote, it runs everything on the remote: extensions, terminal commands, etc. If you’re working on a web project, it forwards ports so you can still visit localhost in your browser, even tho
36.
▲
by
larsnystrom
2y ago
Where is the Remote SSH extension code? I always thought that was closed source? Edit: The reason I think it is closed source is because a StackOverflow answer says so[1]. I’d be very interested in seeing the code if you could link to its r
37.
▲
by
larsnystrom
2y ago
I agree it's ironic, however they seem to use an inert version of the share button. The default share button by Facebook contacts Facebook when you view the page, doesn't matter whether you click the button or not. The one used by
38.
▲
by
larsnystrom
2y ago
There are two kinds of programmers: Those who think of strings as text, and those who think of strings as a sequence of bytes. The second group doesn’t care about the special case where a byte is all zeroes.
39.
▲
by
larsnystrom
2y ago
But what options are there? You pretty much must choose between Microsoft 365 or Google Workspace.
40.
▲
by
larsnystrom
2y ago
But really, who thought mixins was a good idea? It's the only place in the wild I've seen somebody bind $this when calling closures.
41.
▲
by
larsnystrom
2y ago
Ah, yes, like when people put in extraordinary amounts of effort to avoid sending a millibit (mb) of data over the wire.
42.
▲
by
larsnystrom
2y ago
I'm pretty sure this is wrong. PHP has been faster than Python for a long time, but numpy is not written in Python, it's written in C. Just like PHP, coincidentally :)
43.
▲
by
larsnystrom
2y ago
Also, confusion seems to be something of a design goal for brainfuck?
44.
▲
by
larsnystrom
2y ago
Practice what you preach, as they say.
45.
▲
by
larsnystrom
2y ago
I mean, in this case the developer really went out of their way to write bad code. TBH it kind of looks like they wanted to introduce an RCE vulnerability, since variable variable assignment is well-known even to novice PHP developers (who
46.
▲
by
larsnystrom
2y ago
The fact they're using `eval()` to execute variable assignment... They could've just used the WTF-feature in PHP with double dollar signs. $$var = $itm; would've been equivalent to their eval statement, but with less code and
47.
▲
by
larsnystrom
2y ago
I'm no mathematician, but I think that if you know something about the probability distribution before searching, then you can be more efficient than blindly using binary search. And if you assume Ballmer is out to get you (i.e. the di
48.
▲
by
larsnystrom
2y ago
I’m at the other end of things: I often have to parse column-aligned data. Sounds easy, except that values can contain spaces, are padded with spaces, are sometimes misaligned and sometimes overflow their column. Maybe you and I can make a
49.
▲
by
larsnystrom
2y ago
This is the correct answer, according to standards. See https://en.wikipedia.org/wiki/Hostname
50.
▲
by
larsnystrom
2y ago
Google Search has become quite popular, so I guess it's time to shut it down? /s
51.
▲
by
larsnystrom
2y ago
I thought such notices wouldn’t appear as long as the AirTag owner’s iPhone was also near the AirTag? Maybe their battery died though.
52.
▲
by
larsnystrom
2y ago
The more I work with git, the more I wish there was a rebase (including squash/fixup) which kept the original commits, but hides them. I’m not sure how that would work in practice, but there is value in keeping all change history, and
53.
▲
by
larsnystrom
2y ago
I've added a few passkeys to 1Password. It works pretty well on github.com, and sometimes on google.com. But apparently, passkeys.io bypasses 1Password and asks the OS for passkeys? So passkeys.io doesn't actually work for me, unl
54.
▲
by
larsnystrom
3y ago
I don’t think they’ll lower the price for Apple Vision Pro, but if they can get good performance out of cheaper components they might release an Apple Vision Air I guess. Not happening anytime soon though.
55.
▲
by
larsnystrom
3y ago
I don't think this is a problem with Digital Ocean. Some googling makes me think this is a configuration issue with Shiny Server: https://github.com/rstudio/shiny-server/issues/326
56.
▲
by
larsnystrom
3y ago
They have a pretty good writeup on why you’d want to use this here: https://blog.readyset.io/dont-use-kv-stores/
57.
▲
by
larsnystrom
3y ago
I can't be the only one who dreams of a radically different successor to Linux when I read stuff like this. Like, why do I need to care about file descriptors? Why is everything a file, except its not because it can be a socket, or a p
58.
▲
by
larsnystrom
3y ago
This reminds me of the Pirate Bay. They were so sure they could get away with doing what they were doing, because the law didn’t specifically prohibit it. In the end though, it turned out that the judges had common sense and could distingui
59.
▲
by
larsnystrom
3y ago
In an analog world, the government used to think that pushing papers around was part of the job they had to do. But with the digitization of government bureaucracy the systems have been outsourced to private entities. The government no long
60.
▲
by
larsnystrom
3y ago
Is there a link to these prompts somewhere that I'm not seeing?
More ›