Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kevincox
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
59 ms
·
961.
▲
by
kevincox
3y ago
I generally just use the thumbnail to quickly manually filter shorts. If the thumbnail is vertical it is 99% a short. A few channels I subscribe to make interesting shorts so I keep them. But for everyone one else the delete key is very fas
962.
▲
by
kevincox
3y ago
Just paste the channel URL until your reader and it should find the feed automatically. YouTube has the proper discovery metadata set up.
963.
▲
by
kevincox
3y ago
> For example, there is really no way to tell aggregators that you changed an article's path. Of course there is, just change the URL. Both Atom and RSS have the concept of an "entry ID" which should never change, but anyt
964.
▲
by
kevincox
3y ago
From what I have seen about published seeding rules most trackers as switching to pretty reasonable rules. Typically the only major sin is not seeding for a minimum length of time (usually a few days). Then there are ratio rules but these a
965.
▲
by
kevincox
3y ago
> A database doesn't know which data is most likely to be used again, but if does know which pages are guaranteed to not be used again because they're not reachable in the b+tree. This is true, but it may not be as helpful as i
966.
▲
by
kevincox
3y ago
Personally I don't think I would have used the phrase "parse don't validate" for something like a username. It isn't clear to me what it would mean exactly. I generally only thing of this principle for data that has
967.
▲
by
kevincox
3y ago
Parse don't validate means that if you want a function that converts an IP address string to a struct IpAddress{ address: string } you don't validate that the input string is a valid IP address then return a struct with that strin
968.
▲
by
kevincox
3y ago
Put a cache in front of it? Serving a shitton of files is sort of a solved problem. For huge bursts of a single piece of content you just need request coalescing and a few layers of fanout. If you know what content you can even pre-warm the
969.
▲
by
kevincox
3y ago
This has a lot of interesting accidental rebuttals to some "features" of go. > If you’re not in an entry-point function and you need to call a function that takes a context, your function should accept a context and pass that a
970.
▲
by
kevincox
3y ago
I think the OP was talking about the opposite API. Being able to share to a PWA from other apps on the system.
971.
▲
by
kevincox
3y ago
> Share Targets (Android supports this, kind of) * Chrome on Android supports that.
972.
▲
by
kevincox
3y ago
I was curious what the "per file" overhead was. Time comes out to 93.6 µs/file or 10 684 files/s created. % b 26*3600*1000*1000/1000000000 93.60000000000000000000 Space comes out to 296 bytes per file.
973.
▲
by
kevincox
3y ago
The fact is that I don't think it is well specified. My feed reader will update the URL if the ending feed has a self URL that points at itself. But I don't think that is very common. In theory a permanent redirect should also be
974.
▲
by
kevincox
3y ago
For something as simple as cat that may work fine. But that message actually fails to say why it failed. It just gives you a fact that is presumably related to the exit code. In fact it doesn't even say it failed at all!, if your shell
975.
▲
by
kevincox
3y ago
In most cases `Access-Control-Allow-Origin: ` is actually a decent policy. It importantly blocks cross-site credentials. So as long as your API has any* authentication it should prevent it. The real mistake is mirroring the Origin header
976.
▲
by
kevincox
3y ago
Ignore it? People don't want to have to wade through torrents to get the right one. All of these videos are available on the torrent sites anyways.
977.
▲
by
kevincox
3y ago
Maybe we could ban exclusive licensing. Why should Netflix be able to pay $$$ for a show and block other services from buying access? Instead pass a law that if Netflix buys for X then any other service can also license for X. There will de
978.
▲
by
kevincox
3y ago
> The DRM also doesn't allow you to take any screen captures while Netflix is visible. I remember when I first hit this and was shocked. I was going to send a funny still to my friend and tell them that they should watch the show. B
979.
▲
by
kevincox
3y ago
There was a recent CppCon talk about changing the sort implementation in LLVM's libc++. They talked about this is as one of the issues as well. https://www.youtube.com/watch?v=cMRyQkrjEeI
980.
▲
by
kevincox
3y ago
Yeah, it does seem that the problem starts with the actual content owners who want to make bug money by selling exclusive licenses or running their own streaming service. Netflix then gets stuck with no reasonable way to license all of the
981.
▲
by
kevincox
3y ago
> It does not work with MP3s https://bemighty.com/products/mighty-audio-screenless-connec...
982.
▲
by
kevincox
3y ago
Not to mention Aphyr spent lots of (expensive) time on the other side. I think Anthem should have to compensate him for all the time that he had to waste.
983.
▲
by
kevincox
3y ago
This 100%. A polite signup form at the bottom of a page (or an RSS feed) is totally fine. At this point I understand what you are about and will consider subscribing to your news. But those popups that show up after I have read a few paragr
984.
▲
by
kevincox
3y ago
I like the core idea, but I fail to see why this is a good solution. IIUC the workflow is: 1. Run a Lockbox server 2. Define the API request in automation tool as a webhook. 3. Proxy it via lockbox to add auth. All this really does it allow
985.
▲
by
kevincox
3y ago
I wouldn't use the word "blockchain" as that is primarily a tool for generating consensus. Macaroons are each independent and can be "forked" freely. So while I agree that the data structure itself is very similar t
986.
▲
by
kevincox
3y ago
It is also worth noting that most IPFS peers will cache content for some period of time even if not explicitly pinned. So if you site hits the top of Hacker News (and everyone was using a native IPFS browser) you would suddenly have thousan
987.
▲
by
kevincox
3y ago
I would expect so simply because browsers are fairly hardened pieces of software. Adobe Acrobat is decently hardened but it seems to be far behind browsers. It is worth noting that Chromium and later Firefox both added PDF viewers that live
988.
▲
by
kevincox
3y ago
These aren't temporary. Every message I have sent for years has got the same block message. Sure, they aren't necessarily outdated but they aren't lasting for a few minutes. > When working with DMARC aligned domains, most
989.
▲
by
kevincox
3y ago
Microsoft absolutely does use strict ASN-based blocking. > permanent error (550): 5.7.1 Unfortunately, messages from [{REDACTED IP}] weren't sent. Please contact your Internet service provider since part of their network is on our b
990.
▲
by
kevincox
3y ago
I send mail from Digital Ocean. I can tell you that neither Apple nor Microsoft give two hoots about any of those if you are on their ASN blocklist. I send lots of email that is verified with SPF and DKIM to them via relays. But any message
More ›