Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
korijn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
korijn
3y ago
For me, I read code instead of docs when I need to understand a dependency or tool better. That gives me direction and focus when reading code. You learn a lot from the process.
32.
▲
by
korijn
3y ago
Check out keycmd[1], you might appreciate the ideas there. Disclaimer: it's my project. [1] https://github.com/ClinicalGraphics/keycmd
33.
▲
by
korijn
3y ago
Set aside some time early on in your project just to create a small proof of concept where you actually slap on that Textual UI. That'll inform you of what's needed later on. You don't even need to merge that proof of concept
34.
▲
by
korijn
3y ago
Ask if you can meet (anyone from) your potential team and ask them directly.
35.
▲
by
korijn
3y ago
Still young and new, but definitely modern, elegant, flexible and declarative: https://github.com/fork-tongue/collagraph
36.
▲
by
korijn
3y ago
You're right. However, consider how much do you worsen the experience of the majority, and how much do you improve it for the minority? I think that should factor into this decision. I think the article is mostly trying to make an effo
37.
▲
by
korijn
3y ago
That's mentioned in the article.
38.
▲
by
korijn
3y ago
It's why I put it in brackets.
39.
▲
by
korijn
3y ago
Focus on the opportunity being presented to you to improve your work. It's a gift. Embrace the fact that ultimately your work can only improve thanks to feedback. Realize that by taking feedback personally, you're actually discour
40.
▲
by
korijn
3y ago
So what about people with screen readers? They don't (middle) click or type at all. Does your UX account for them too? If so: great. Usually, it's overlooked. I think that's the point of this article. Standard browser control
41.
▲
by
korijn
3y ago
LFS stores files by content hash, so deduplication happens that way. But you're right that if you frequently make small changes to a single large file, it's wasteful. In our case though we don't frequently change files, we ju
42.
▲
by
korijn
3y ago
We wrote our own LFS API server (which is actually not very hard, about 100 lines of python was enough and it performs at scale) so we can directly leverage azure blob storage. If you don't walk this path and enable LFS in github or so
43.
▲
by
korijn
3y ago
I use git lfs. There are filter options for all commands so you don't need to checkout any more data than you want to/need to. Works like a charm for me! I'd be curious to hear what features you are missing. We have repositor
44.
▲
by
korijn
3y ago
You're pretending it was impossible to make applications before electron came around.
45.
▲
by
korijn
3y ago
Just because you have access to powerful hardware doesn't mean others have as well. They have perfectly fine and adequate computers, until we started wrapping everything in electron. Now they have to spend their hard-earned money, and
46.
▲
by
korijn
3y ago
You're proving my point by saying "the newer, more powerful machines can run more demanding software" and not looking any further than that. Are you saying electronic waste and increasing energy consumption aren't proble
47.
▲
by
korijn
3y ago
> Well guess what, people are just embedding browsers now Which is incredibly selfish and hypocritical, it drives up resource consumption across the world at a massive scale. Not just in terms of energy use, but it also forces people to
48.
▲
by
korijn
3y ago
If your codebase is as large as cpython's, I think the benefits are clear. But most projects aren't actually this big right? Flake8 runs less than a second on even my biggest projects. Is linting such a bottleneck in people's
49.
▲
by
korijn
4y ago
Not that I know of!
50.
▲
by
korijn
4y ago
Well, you could implement that on top of the wrappers as well I guess. Anyway!
51.
▲
by
korijn
4y ago
FYI you can already use webgpu directly in python, see https://github.com/pygfx/wgpu-py for webgpu wrappers and https://github.com/pygfx/pygfx for a more high level graphics library
52.
▲
by
korijn
4y ago
Well, if those animations are things such as camera smoothing, it won't have such an impact. But I see your point. Thanks for entertaining the idea!
53.
▲
by
korijn
4y ago
Any idea what a game loop would look like for an ECS engine that only renders a new frame when some animation is running or when the user is manipulating the camera, but not otherwise? Let's not argue "why". Most obvious woul
54.
▲
by
korijn
4y ago
Turns out the (official) chargers were defective. Got another one and everything works.
55.
▲
by
korijn
4y ago
As great as the deck is, it's got two major downsides that you should be aware of before buying: * It's insanely heavy and if I don't support it with a pillow on my lap, my hands and wrists start tingling after about 15 minut
56.
▲
by
korijn
4y ago
The gist of it is that you give numpy two arrays, and what operation to apply. Then numpy will figure out what the for loop(s) should look like depending on the shape of the arrays. You can look at various tutorials to see how it works. For
57.
▲
by
korijn
4y ago
A vectorized implementation of find_close_polygons wouldn't be very complex or hard to maintain at all, but the authors would also have to ditch their OOP class based design, and that's the real issue here. The object model doesn&
58.
▲
by
korijn
4y ago
Thanks, that makes sense.
59.
▲
by
korijn
4y ago
So how do you apply this in the real world when dealing with schema versions and database migrations?
60.
▲
by
korijn
4y ago
I mean, what if the brain learns to expect the stimulus, and learns that it does not need to provide the stimulus on its own initiative anymore, or at least not to the same extent. Maybe it means the brain is spending that energy on other p
More ›