Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bpshaver
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
bpshaver
2y ago
> Have you ever hunted bugs caused by accidentally using a global variable in a function in a Jupyter notebook? Nope! > Have you ever scratched your head because your code broke after restarting the Python kernel? Also nope! I'm
32.
▲
by
bpshaver
2y ago
Couldn't get past > Between 2020 and 2021 I worked full-time at Google for about a year.
33.
▲
by
bpshaver
2y ago
Do you read Thomas Nagel differently?
34.
▲
by
bpshaver
2y ago
There is a qualitative difference between what it is like to be a human and what it is like to be a bat. You can't "get closer" to bridging a qualitative difference. Likewise, qualitative difference cannot be "less diffe
35.
▲
by
bpshaver
2y ago
What makes you think that?
36.
▲
by
bpshaver
2y ago
Section 6, "Controlled Evaluation," answers that question: https://arxiv.org/pdf/2304.03442
37.
▲
by
bpshaver
2y ago
They're all taken by the same photographer and thus exhibit a consistent style
38.
▲
by
bpshaver
2y ago
Why would I want to do that? I'm rarely ingesting arbitrary JSON. Rather I'm designing my data structures in a sensible way and then maybe serializing them to JSON. Just because JSON can represent heterogenous lists doesn't
39.
▲
by
bpshaver
2y ago
Agreed, I was just joking. I understand heterogenous lists are possible with Python, but with the use of static type checking I feel like its pretty rare for me to have heterogenous lists unless its duck typing.
40.
▲
by
bpshaver
2y ago
Yeah, just because it can do that doesn't mean that it is good design.
41.
▲
by
bpshaver
2y ago
Good point.
42.
▲
by
bpshaver
2y ago
Yeah, that seems fair.
43.
▲
by
bpshaver
2y ago
Well, I'm one of those people, and I feel that I rarely do this. Except if I have a list of different objects that implement the same interface, as another commenter mentioned.
44.
▲
by
bpshaver
2y ago
Who is out here mixing types in a list anyway?
45.
▲
by
bpshaver
2y ago
100%. And if you aren't seeking out those difficulties, maybe your chosen degree program is not the correct choice for you right now.
46.
▲
by
bpshaver
2y ago
I feel like this "get ready to be surrounded by peers for the first time" or the related "you aren't used to working hard, but now you will actually have to work hard" speech was given to me in some form at the star
47.
▲
by
bpshaver
2y ago
Isn't compare a Python project to a Bash script an unfair comparison? Compare a Python script to a Bash script. If your Python3 script (assuming no dependencies) doesn't work after 6 months I got some questions for you. (And I don
48.
▲
by
bpshaver
2y ago
Oops, I actually meant Gum, not Glow. Different project from the same folks. That said, I use Glow to render markdown sometimes. When and how does it connect to internet servers?
49.
▲
by
bpshaver
2y ago
Glow is awesome.
50.
▲
by
bpshaver
2y ago
"English popularity is self re enforcing. It's popular because it's popular. Not because it is concise or particularly good at anything it does. It arguably isn't that great for a lot of things people use it for. A lot o
51.
▲
by
bpshaver
2y ago
I agree that Python doesn't need to get more complex, but I love type annotations. I think people sometimes complain about complex type annotations instead of considering that complex type annotations are just a symptom of a design tha
52.
▲
by
bpshaver
2y ago
DARPA is not in the IC and the IC is not an intelligence agencies, it is a community of agencies. Here's a list of organizations that are part of the IC: https://www.dni.gov/index.php/what-we-do/members-of-the
53.
▲
by
bpshaver
2y ago
The website linked is for the The Resilient Anonymous Communication for Everyone (RACE) program. A government program to fund research is not a specification. I assume you were originally responding to the proof of concept in the Github lin
54.
▲
by
bpshaver
2y ago
You misunderstand. This is not a solution to the problem, it is a program to fund research into solutions to the problem.
55.
▲
by
bpshaver
2y ago
I'm not aware of any Orwell short stories
56.
▲
by
bpshaver
2y ago
I work in this industry and I thought the practice described here was common. I'm aware of multiple companies, including my own, that put in for security clearances for interns so they can have a clearance on the first day of their ful
57.
▲
by
bpshaver
2y ago
The article does not mention speeding up the process, only starting it sooner.
58.
▲
by
bpshaver
2y ago
If you're going to use a spreadsheet as your UI, I think you should be more careful how you describe the semantics of rows and columns. And make a strong case for why this representation makes sense. People expect that rows represent o
59.
▲
by
bpshaver
2y ago
If I check a parent task with an already-checked child task, the check is removed from the child task. That doesn't seem right.
60.
▲
by
bpshaver
2y ago
https://kellyjonbrazil.github.io/jc/docs/parsers/ls
More ›