Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hot_gril
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
781.
▲
by
hot_gril
2y ago
OpenAPI can do graphs too, since you can put in refs to objects that can themselves have refs to other objects, possibly recursively.
782.
▲
by
hot_gril
2y ago
I started at the same conclusion of using OpenAPI and never ventured into GraphQL cause I only had one client.
783.
▲
by
hot_gril
2y ago
Yeah, in most situations I'd rather kill processes with excessive mem usage (possibly due to memleak) than have the machine grind to a halt by swapping. Sometimes my headless lab machines would become practically inaccessible over SSH
784.
▲
by
hot_gril
2y ago
I don't use Java often, but when I do, I have to look up again how the heap settings work.
785.
▲
by
hot_gril
2y ago
Thanks, I didn't know that. Last time I was dealing with these kinds of problems, pgvector didn't exist yet.
786.
▲
by
hot_gril
2y ago
I've seen the same. It will sometimes prefer to swap rather than evict the disk cache. I don't know how Linux does this in particular, but intuitively swapping can make sense if part of your allocated RAM isn't being accessed
787.
▲
by
hot_gril
2y ago
1024-dim vectors would fit into pgvector in Postgres, which can do cosine similarity indexing and doesn't require everything to fit into memory. Wonder how the performance of that would compare to this.
788.
▲
by
hot_gril
2y ago
How many dimensions are in the original vectors? Something in the millions?
789.
▲
by
hot_gril
2y ago
Linux swap has some fuzzy logic that I never fully understood. There have been times I've disabled it because it wasn't doing what I wanted.
790.
▲
by
hot_gril
2y ago
Because I'm wondering if someone more experienced in greenthreading knows how good of an idea this is, or has other advice.
791.
▲
by
hot_gril
2y ago
I don't see how this solution means you cannot use JWTs.
792.
▲
by
hot_gril
2y ago
Isn't JWT's main benefit being a standard interchange format? 3 parts: header, payload containing user info, signature from whatever authenticated the user. Can be encoded for URLs and decoded to JSON. Seems pretty innocent to me.
793.
▲
by
hot_gril
2y ago
regulate*
794.
▲
by
hot_gril
2y ago
Yeah, not only have we had unplanned outages, but PG&E has preemptively shut off power in large urban areas during weeks of high fire risk. Happened multiple times, but I specifically remember the 2020 rolling blackouts.
795.
▲
by
hot_gril
2y ago
The CA home solar subsidies read to me like we've given up on fixing our utilities. Like it's our job to generate our own power from our roofs now, not a power company with access to dedicated facilities that can be far more effic
796.
▲
by
hot_gril
2y ago
The comment said "state-wide extremes"
797.
▲
by
hot_gril
2y ago
It is in California, but I don't understand how they decide what falls into each category.
798.
▲
by
hot_gril
2y ago
That's probably the value of being connected to the grid in case you need power, but not the value being able to sell your excess energy back.
799.
▲
by
hot_gril
2y ago
It's so editorialized that I had to stop reading it. If it just told me what changed, I'd be interested.
800.
▲
by
hot_gril
2y ago
Yeah, our current "high interest rates" are still artificially lowered by the Fed.
801.
▲
by
hot_gril
2y ago
It's basically this. Because there's a finite supply of land in desirable areas, home ownership is an investment, unlike renting. Same as how I got "priced out" of owning 1/10000th of Apple Inc.
802.
▲
by
hot_gril
2y ago
Updating the addressing scheme wasn't necessary. If I have 1.2.3.4 and I want to flip on ipv6, I should still be reachable at 1.2.3.4, just using the ipv6 header instead of v4. The hardware/software support is already there too.
803.
▲
by
hot_gril
2y ago
The issue is really forwards compatibility. Every ipv4 address should've been kept valid in all ipv6 networks. Step 1 would've been to leave all the routing, DNS, NAT, DHCP etc as-is and just get people's devices speaking ipv
804.
▲
by
hot_gril
2y ago
I don't like using the entity that brought us cookie banners as an example of how to regular tech.
805.
▲
by
hot_gril
2y ago
Worse than iPhone and Pixel I guess. Yeah they cost more, but it's like a Honda vs a Hyundai, you get what you pay for.
806.
▲
by
hot_gril
2y ago
Designing a very small device to be DIY repairable has a cost too.
807.
▲
by
hot_gril
2y ago
Maybe it's ok that people don't care about repairable phones, and there isn't a need to force them. Also, the closest consumers got to using free software was Android and Chromebook (i.e. not exactly free) plus using services
808.
▲
by
hot_gril
2y ago
Also I feel like repairing is often not the most efficient way to correct a problem with someone's phone. The "right to repair" movement was focused on one of the least inherently repairable things people own.
809.
▲
by
hot_gril
2y ago
Miaphysite C++.
810.
▲
by
hot_gril
2y ago
Ok, since it has real use, it deserves respect.
More ›