Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rand_r
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
rand_r
6y ago
Does OpenAPI have a way for the client to whitelist fields? I see that as a major selling point for GraphQL. Without it, you end up having to create tailored endpoints for each use-case vs. for example a single “user” endpoint/vertex t
62.
▲
by
rand_r
6y ago
We need a more nuanced discussion of “drugs”. The word drug is about as useful as “chemical”. The biggest evidence that we’ve been lied to and manipulated by the media and the government is that “drug use” is even a term. Addiction, as the
63.
▲
by
rand_r
6y ago
Unfortunately np.vectorize doesn’t do anything smart. From the docs: The vectorize function is provided primarily for convenience, not for performance. The implementation is essentially a for loop.
64.
▲
by
rand_r
6y ago
> The fresh-cut grass smell is a signal to other plants that the grass is in distress This is really interesting. Signalling to other plants for what purpose? I'd like to read more about it.
65.
▲
by
rand_r
6y ago
Despite us knowing that correlation does not equal causation for forever, these weak studies keep getting funded and popping up. The only finding you could make with such a study is to disprove something. If the hypothesis was that coffee p
66.
▲
by
rand_r
6y ago
I like those words. Execution, decision making, etc. But can you explain a bit more? What about those concepts, eg. setbacks, are you saying?
67.
▲
by
rand_r
6y ago
Good point. We should ban correlational studies like these. Science is littered with these types of after-the-fact surveys that explain nothing and provide no real information. The lack of a mechanistic understanding of cause and effect in
68.
▲
by
rand_r
6y ago
All other video conferencing solutions suck! Somehow Zoom figured out how to solve feedback/echo elimination, audio latency, video latency, and video quality. It can't be overstated! They won over with sheer quality. I suffered th
69.
▲
by
rand_r
6y ago
For 3, I would say organize your code into modules as a first step, and make sure you get the dependencies between them flowing in the right direction. You can do a lot with module separation and a good dependency tree within a single repo
70.
▲
Plugin Architecture in Python (a.k.a. Py3EE)
(dsouzaman.net)
2 points
by
rand_r
6y ago
|
0 comments
71.
▲
by
rand_r
6y ago
It somewhat makes sense for articles to be vague. As frustrating as it is when you want to go deep on a story, these articles are not providing a knowledge graph service. They’re condensing a story down to only the most important informatio
72.
▲
by
rand_r
7y ago
Does the bread rise while it's baking in the oven? I've tried to do this no-knead recipe and the bread came out pretty flat.
73.
▲
by
rand_r
7y ago
The evolutionary history of how we developed an instinct to hyperventilate is an interesting question. However, I have to put up a warning that hyperventilating doesn't actually increase oxygen levels. It's a dangerous practice be
74.
▲
by
rand_r
7y ago
Ha ha, I would say that emotion doesn’t define your actions, it only motivates them. The key idea, and what transformed how I think, is that emotions like anger aren’t inherently bad. Although people usually think of them negatively, as opp
75.
▲
by
rand_r
7y ago
Oh, I missed something in the explanation: it’s anger at yourself. Like anger or disappointment in yourself for not standing up for yourself in the past. In that sense, it’s a self-grudge if anything. But the main idea is that emotions have
76.
▲
by
rand_r
7y ago
So many things to unpack here, but on a pyschological level, focus on the negative emotions (and hopefully anger) you’re feeling now as you think about why you wrote this post. Really reflect on it and sort of keep it in your back pocket so
77.
▲
by
rand_r
7y ago
The main similarity is the whole idea of declaratively saying what you want in a single request. In SQL, you use joins or subqueries, and in GraphQL you use use nested edge/node blocks. Either way, you define what you want in a nested&
78.
▲
by
rand_r
7y ago
Thank you.
79.
▲
by
rand_r
7y ago
Framing it as statement about an interval generating procedure is really interesting! Do you know what an example would be? Appreciate anything you can point me towards to learn more. Honestly, I feel like the whole concept is straight up w
80.
▲
by
rand_r
7y ago
Here’s a question I had when I learned this stuff in stats class: What does a 95% confidence interval actually mean? I could never get a clear answer.
81.
▲
by
rand_r
7y ago
They kind of cheated because they used a hard-coded polynomial approximation of log(x). So there is an implicit unrolled loop going over A_i*x^i.
82.
▲
by
rand_r
7y ago
That’s a good point. Thoughts can be dangerous. My post only works if you have a bias against thought-crime. As an aside, if someone’s thoughts are ill-intentioned, you should be able to dispel them by forcing an honest examination of every
83.
▲
by
rand_r
7y ago
Are you making a dig at the U.S.A? Haha :D I think I get your point though: It’s not an absolute game. You can do a lot of useful thinking even under some restrictions, so we’re forced to consider everything with more nuance.
84.
▲
by
rand_r
7y ago
The best argument I’ve heard for being a free speech absolutist is that speech is the highest form of thought in Humans. We think via dialogue. We arrive at the truth via dialogue. Criminalizing free speech limits our ability to think and a
85.
▲
by
rand_r
7y ago
One part is that Big-O is an upper bound that kicks in for sufficiently large n. For example, a O(log(n)) function will be faster than a O(k * n) function, for any fixed k, when n>j (for some fixed j i.e. when n is large enough). When co
86.
▲
by
rand_r
7y ago
Huh? Why?
87.
▲
by
rand_r
7y ago
In Python 2, if you need to, you can force people to use kwargs by defining the function in the form of def f(*args, **kwargs): and then making sure any params you use in the function come from kwargs, and raising an error if args is
88.
▲
by
rand_r
7y ago
Maybe I’m too naive here, but I’m not seeing the potential malicious usage of this model. People will generate text, and then what?
89.
▲
by
rand_r
8y ago
Step 2 in your comment reads like poetry. The sheer length of the sentence and the variety in vocabulary creates a rising, racing energy that forces you to stop and smile before you get to the end. Beautifully written! I’m going to save a c
90.
▲
by
rand_r
8y ago
I'm on a public internet connection, but I'm not too worried because to perform such an attack, you would have to compromise some physical network infrastructure between me and sciencemag.org, and do it in a such a way to not get
More ›