Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
movpasd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
121.
▲
by
movpasd
3y ago
Not an expert on Thai linguistics, but a phonology enthusiast who's skimmed the phonology section of the Wikipedia article for the Thai language, and I thought I'd provide my understanding of why this confusion occurs. (It's
122.
▲
by
movpasd
3y ago
I'm totally on board with fewer magical abstractions. But I would consider coroutines to be at the same layer of abstraction as simple procedures. Now, you can build coroutine systems on top of procedural semantics (and trivially vice-
123.
▲
by
movpasd
3y ago
This is very interesting indeed! A lot of the design choices fix issues I've also personally encountered. The "experimental" dissuades me from using it for real projects, but I'll be keeping an eye on it.
124.
▲
by
movpasd
3y ago
In my personal experience, it's absolutely necessary. Breaking changes are all over the place. I have non-dev coworkers who have built Python tools without any knowledge of package management, and it's a minefield getting it up an
125.
▲
by
movpasd
3y ago
I've tried Poetry, the CLI is nice and user friendly to be sure, but it has many flaws that made me ultimately avoid it. In my opinion, it tries to be far too "magic", hiding everything about the virtual environment and depen
126.
▲
by
movpasd
3y ago
I don't have any issues with Python's packaging ecosystem anymore, having settled comfortably into a pyenv+virtualenv+pip-tools as my "stack" after going around the block a few times. But even so, I must recognise how aw
127.
▲
by
movpasd
3y ago
The way I like to think about the Monty Hall problem is by thinking of switching not as being "switch to another unspecified second door" but rather "switch to the winner among the other two doors, if any of them are winners&
128.
▲
by
movpasd
3y ago
Thanks for the compliment about the bucket, I was quite pleased with it :) I do appreciate what you mean about the language issue — it's a misleading phrase that due to the context of the question encourages the listener to jump to &qu
129.
▲
by
movpasd
3y ago
#2 is not actually equivalent to "at least one child is a boy". It is rather equivalent to "the first child is a boy". The difference may seem trivial, but one implies the other without the converse being true. This chan
130.
▲
by
movpasd
3y ago
I think solid state continuum mechanics are also the optimal place to introduce tensors. For some reason, the first tensors many physics students encounter are very abstract. It would be like if the first vectors you encountered were quantu
131.
▲
by
movpasd
3y ago
I think it comes down to complexity. Scanning is O(N) where N is the number of buckets, two random choices is O(1) (if bucket lookup is O(1), e.g. a hash map).
132.
▲
by
movpasd
3y ago
It's not tautological — to pick one of the properties, you can conceive of spaces of functions where there is no -f to a function f. For example, consider the space of all positive-valued real functions. Consider otherwise functions wh
133.
▲
by
movpasd
3y ago
This is my major gripe with the article. While useful for intuition, that "..." after the sum is mathematically meaningless. This is also a common issue with quantum mechanics as taught at an introductory level. But it seems the a
134.
▲
by
movpasd
3y ago
Thanks for the thorough correction. I think I was making that assumption due to the semantics of the language, which suggests classes and methods being somewhat "bolted onto" a dict-based core. Unfortunately for me, it makes me al
135.
▲
by
movpasd
3y ago
I think your second point is especially important, as the semantics of Python are dynamic down to the core. And it's not just hypothetical stuff — Python libraries pretty systematically take advantage of this dynamism (anyone who'
136.
▲
by
movpasd
3y ago
In my mind this is a holdover from when Python was much more procedural/C-like and as a Python developer it's one of my pet peeves. (I can't count how many times I've started writing the name of a list, had to backtrack
137.
▲
by
movpasd
3y ago
From the perspective of a developer, I think the distinction is pretty clean and lies in the abstraction provides by the web (by which I mean hypermedia served over HTTP/S). The semantics of that abstraction are that requests come in t
138.
▲
by
movpasd
3y ago
Are there any good interactive programming options in Rust? That's the main draw of a dynamic language like Python for ad hoc data science tasks, the semantics just lines up well with the highly iterative nature of the work.
139.
▲
by
movpasd
3y ago
The issue is trying to look for technical solutions to what is fundamentally a social problem. That problem is trust . Over the previous few decades, the web has slid from a place that felt like a small village to a bustling metropolis. In
140.
▲
by
movpasd
3y ago
Disclaimer: not a psychiatrist. A common model for mental illness is the "stress-vulnerability" model. The idea is that people have more or less vulnerability to mental illness, and that this vulnerability is tested by external st
141.
▲
by
movpasd
3y ago
If you push all your code into the type system, you're basically just writing your program in a clunkier, less readable language. So, you will just end up having to debug your type system, which defeats the whole purpose. I think expre
142.
▲
by
movpasd
3y ago
Jeez, I've really kicked off quite the heated discussion in the replies... I don't want to get bogged down in lengthy arguments, but I feel I should explain my reasoning in more detail. Essentially, I think that whatever angles ar
143.
▲
by
movpasd
3y ago
Thing is, angles don't really have units (the technical term is they are dimensionless). They are a length (the subtended arc of a circle) divided by a length (the radius of the circle). When you want to do something like get a sine wa
144.
▲
by
movpasd
3y ago
It's not just about code -- microservices can offer a degree of modularity on an infrastructure level. For example, a microservice can own its own database. Being able to experiment with languages and tools (as you mention) is also a p
145.
▲
by
movpasd
3y ago
What I find really amusing is that the top comment (yours) is about how obvious the interpretation of the rules is, but there are dozens of subcomments disagreeing with your interpretation and each insisting how obvious their own interpreta
146.
▲
by
movpasd
4y ago
Mathematicians absolutely have been trying to formalise QFT for decades, with excellent success in many areas! Have a quick look at the nLab page for quantum field theory: https://ncatlab.org/nlab/show/quantum+fiel
147.
▲
by
movpasd
4y ago
It seems to me that there ought to be a principle of "opacity entails responsibility". An open-source project and its developers can easily claim to have no liability because it's possible for downstream users to fully inspec