Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
whakim
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
151.
▲
by
whakim
3y ago
If you're committed to using a 3rd-party API, then parallelizing your API calls seems like the easiest way to speed things up. The benefits of a 3rd party API are - of course - that you're likely going to be able to generate embed
152.
▲
by
whakim
3y ago
Are you tied to any particular transformer model? Using a smaller model, throwing more hardware at the problem, or generating embeddings in parallel are easy ways to make it faster. Depending on what you're doing with the output you ma
153.
▲
by
whakim
3y ago
pg_vector doesn't do nearly as well (relative to a dedicated vector DB) in terms of speed and accuracy. That being said, I think it's still clearly the correct choice in a lot of cases. An order of magnitude speedup may not matter
154.
▲
by
whakim
3y ago
These restrictions originated during the Struggle of the Orders, when the patrician/plebeian distinction was extremely important (at least as far as we can tell - most of our sources for this period were writing much later). By the mid
155.
▲
Journalism Maybe: The media's blind spots in covering Afghanistan
(shorensteincenter.org)
1 points
by
whakim
3y ago
|
0 comments
156.
▲
by
whakim
3y ago
> "racial prejudice" is a perfectly acceptable way to use it Racial prejudice. Which adds a boatload of social and historical context to "prejudice" alone. Not to mention that no one talks about racial prejudice wi
157.
▲
by
whakim
3y ago
But stereotype and prejudice don't mean the same thing, even though they're related. Without getting too far into the weeds, stereotypes are (positive or negative) beliefs about characteristics of groups of people, whereas preju
158.
▲
by
whakim
3y ago
Sure, "akin" isn't an exact synonym for "equivalent." Feel free to replace "equivalent" with "analogous to" if that bothers you; it doesn't really change my point.
159.
▲
by
whakim
3y ago
While I agree that astrology is complete nonsense, you're not likely to win many people over when you treat stereotyping (which you've described here) and racism as equivalent.
160.
▲
by
whakim
3y ago
What if you don't need those things yet and you just have some embeddings you want to query for cosine similarity? A dedicated vector database is way, way overkill for many people.
161.
▲
by
whakim
3y ago
Graduate student unions aren't aiming to tackle this, and I don't know of any that are. At Stanford, the unionization campaign centered around Stanford's stipends (which have not kept up with inflation and put students in the
162.
▲
by
whakim
3y ago
I used to work at The Information. The owners are extremely wealthy, and were constantly pushing to charge more, more, more. The recent subscription changes didn't surprise me in the slightest.
163.
▲
by
whakim
3y ago
Once you're exercising (training) a lot then it starts to feel like you need to do it, and you need to do enough of it and do it in the right way. I'm a cyclist, and I know that I'm grumpy/irritable/depressed if I
164.
▲
by
whakim
3y ago
As someone who hasn't used Porter, it would be awesome if you could follow up this oh-so-snarky response with some actual concrete information? * What is the "unwittingly massive" level of complexity that they took on? Sure,
165.
▲
by
whakim
3y ago
I agree with the author about 99% of what's written here. Except for the preference for thin views (i.e. thin controllers and fat models). It seems to be me that the author goes to great lengths to decry the abstractions inherent in
166.
▲
by
whakim
3y ago
The easiest win I've come across is adding a CAPTCHA when requests exceed a certain threshold. Yes, CAPTCHAs suck, but this way 99.9% of users don't have to deal with one.
167.
▲
by
whakim
3y ago
> I might agree with you if I ask for the fact some of the most popular beginner languages use sigils 20 years ago I might've agreed with you. But I do not think that PHP, BASIC and shell scripting are popular beginner languages in
168.
▲
by
whakim
3y ago
I think there's a piece of insight missing from the author's analysis of non-programmatic sigils. To wit, the sigils are only valuable when both parties deeply understand the information that the sigil is trying to convey . The
169.
▲
by
whakim
3y ago
In the most generous possible reading of some of the comments, there's a distinction to be made between "the government"/"the police"/etc. using encrypted messaging versus actively supporting those ent
170.
▲
by
whakim
3y ago
The article does a good job explaining why Typescript-like type annotations won't work (unless you only allow them in method definitions): most TS-like syntax is already valid Ruby code in one way or another. That aside, I'm curio
171.
▲
by
whakim
3y ago
The problem (as TFA points out) is that most of the available options (including "a TS-like syntax") are already valid Ruby code. I do agree with your first point that the lack of adoption of Sorbet among library maintainers negat
172.
▲
by
whakim
3y ago
"Private property" is an inherently political term. To take an extreme case, for much of human history it was perfectly acceptable to own other people. Once you accept the abolition of slavery as morally correct, then you've
173.
▲
by
whakim
3y ago
This argument belongs to a broader theory called "Culture of Poverty" (poor peoples' values rather than structural issues lead to poor choices which perpetuates a cycle of poverty). It was popularized by sociologists in the 5
174.
▲
by
whakim
3y ago
It is indeed nitpicking when the very first sentence makes it clear that the article is about American universities.
175.
▲
by
whakim
3y ago
I have found that in most real-world cases if you parallelize SQL commands you can significantly increase CPU utilization and thus database throughput.
176.
▲
by
whakim
3y ago
Right, but how do you do this concurrently? This sounds like you plan to sequentially execute these batches, which could be painfully slow.
177.
▲
by
whakim
3y ago
Ironically, FiveThirtyEight actually reviewed the literature on the effects of polling blackouts and concluded that the evidence was complicated and mixed. (See https://fivethirtyeight.com/features/does-knowing-whom-oth
178.
▲
by
whakim
3y ago
Indices in Postgres do contain NULL values. My guess is that it's possible to make IS DISTINCT FROM an indexable operator, but it wouldn't be straightforward given that NULLs are a bit of a special case for indexing comparisons in
179.
▲
by
whakim
3y ago
> Private capital works hard on this to gain a return. They spend first, then are under pressure to make a return. The key point here is "return" - in the private markets, it's just a numbers game. Most successful , impo
180.
▲
by
whakim
3y ago
Why is the NIH going to be less effective than the private market at allocating research funding? Funding scientific research is a great example of a problem markets don't solve well for the exact reasons you describe. Most research
More ›