Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ossopite
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
ossopite
2y ago
I could relate to the claims in the article: for the last 6 months I've had soreness and pain in my left index fingertip that has confounded the doctors I've seen about it, and all that's helped is to avoid using it. Perhaps
32.
▲
by
ossopite
3y ago
for performance reasons, yes, I believe it's because the accumulation is over parallel computations so the ordering is at the mercy of the scheduler. but I'm not familiar with the precise details edit: at 13:42 in https:/&#x
33.
▲
by
ossopite
3y ago
This reminds me rather of https://libraryofbabel.info/
34.
▲
by
ossopite
4y ago
The most important difference in my experience has been that pyright is a lot more rigorous and correct than mypy. I found that it was easy to confuse mypy, leaving large amounts of code unexpectedly not type checked. Put simply, I trust py
35.
▲
by
ossopite
4y ago
This site reminds me of http://rigaux.org/language-study/ which includes studies of where language concepts originated, lineage of languages, wide ranging syntax comparison (although missing some newer languages) and o
36.
▲
by
ossopite
4y ago
yes, postgres will add such a condition to the query and in simple cases like this is able to use a corresponding index unfortunately this can break down in more complex cases. roughly postgres trusts a limited set of functions and operator
37.
▲
by
ossopite
4y ago
Yes, that's one of the most confusing. http://leewoodprojects.co.uk/wp-content/uploads/2010/04/2955... is a more useful diagram (unfortunately I can't find the original source)
38.
▲
by
ossopite
4y ago
A truly great comment. On the second observation, my thought on that debate is that we should consider the lifecycle of things made by artisans. Is it true that they are often made and never remade? Software at most companies is rather diff
39.
▲
by
ossopite
4y ago
This example gets trotted out a lot but I don't really understand it. Why do we assume cyclists have a conceptual mechanical understanding of a bicycle and can remember its exact appearance? If they build or repair bicycles, sure, but
40.
▲
by
ossopite
4y ago
> as long as there's an infinite number of possibilities in the distribution how would one prove that claim? it's not obvious to me. it seems like the specific conditions under which the series of terms in the total expectation
41.
▲
by
ossopite
4y ago
that's an excellent treatment. I'm curious: this video picks a particular example of a distribution of the amounts and shows that the expected profit from switching is not defined. Can one somehow prove that for all possible distr
42.
▲
by
ossopite
4y ago
pyright is a command line program https://github.com/microsoft/pyright in my experience it's a far better type checker than mypy, which tends to silently not check things without you ever realising
43.
▲
by
ossopite
5y ago
This sounds plausible but I'm not sure it's quite accurate, because in my experience, zooming in also affects the size of things that use px units in CSS.
44.
▲
by
ossopite
5y ago
yes, and in my experience UIs make this much easier than -p but for me a bigger reason to prefer a git UI is that I can actually see the graph. I can do things like drag branches between commit nodes. I find this so much easier and safer th
45.
▲
by
ossopite
5y ago
people talk a lot about MyPy but I must recommend Pyright as a better alternative. It's much more robust. In my experience the main problem with MyPy is that when it's unsure about what's going on (especially due to imports i
46.
▲
by
ossopite
5y ago
to my knowledge the easiest version of this manoeuvre, if you still have feature-1, is git checkout feature-2 git rebase feature-1 --onto master rather confusing. is there a better way? edit: oh, you mentioned extra commits on
47.
▲
by
ossopite
5y ago
I agree with the sibling, I don't think it's _necessary_ for the contradictory aspects to have no casual link. There just has to be some kind of surprising contradiction, although maybe you tend to feel more entertained by the sur
48.
▲
by
ossopite
5y ago
Any business SaaS app where users like customer service representatives input data about their customers. Name, address, email, payment information and so on. Under no circumstances should these sort of input fields be autofilled.
49.
▲
by
ossopite
5y ago
Huh, I did wonder if there was an updated fork but I obviously didn't look hard enough. Thanks!
50.
▲
by
ossopite
5y ago
Clink [ https://mridgers.github.io/clink/ ] adds this functionality and much more to good old fashioned command prompt (which I prefer to powershell because it's much faster and simpler)
51.
▲
by
ossopite
6y ago
I've played local multiplayer games over parsec ( https://parsec.app/ ), it works great and is pretty much turnkey
52.
▲
by
ossopite
6y ago
That's absolutely right, at least in terms of the Chrome browser history. I always found this limitation astounding. I use the History Trends Unlimited extension to work around this ( https://chrome.google.com/webstore&#
53.
▲
by
ossopite
6y ago
in Verdana 4 space indentation is about 3 ordinary characters wide. I find that perfect. code indented with 2 spaces is more problematic though.
54.
▲
by
ossopite
6y ago
I'm confused. In every modern language I've used apart from go and terraform, only leading indentation matters and autoformatters do not apply mid-line alignment or align subsequent lines against characters in a previous line. edi
55.
▲
by
ossopite
6y ago
I switched to coding in a proportional font, Verdana, a couple of years ago and never looked back. That's the font you are reading this comment in, in fact. Code is mostly words and words are much easier to read in a proportional font.
56.
▲
by
ossopite
6y ago
This pretty much sums up my experience of poetry. Some great ideas, but an astoundingly buggy implementation that shows no sign of improving. We tried it at length in my day job and gave up in the end.
57.
▲
by
ossopite
6y ago
> You can do that, but you need to do it for every exception type ): I'd love it if Java had templated exceptions. It does have them. You can write an interface with a type parameter `<E extends Throwable>` and declare functio
58.
▲
by
ossopite
6y ago
Excel has no clamp function but a neat alternative is =MEDIAN(min, num, max)
59.
▲
by
ossopite
7y ago
I use hyperswitch ( https://bahoom.com/hyperswitch ) which emulates Windows alt-tab behaviour on MacOS. Not bulletproof but it mostly works.