650 karma · joined Jul 4, 2016 (10y ago) · 196 submissions
comment 10mo ago · link · parent
comment 10mo ago · link · parent
11.
Cursor intentionally slowing non-fast requests(old.reddit.com ↗)
1 points · by johnthuss · 1y ago · discuss
comment 1y ago · link · parent
So the app used a digital signature / request signing with a key that was obfuscated and embedded in the binary. With anonymous users I don't know how else you could avoid use of the private API.
16.
Show HN: Hacker New Dark Mode Extension for iOS/macOS(apps.apple.com ↗)
1 points · by johnthuss · 1y ago · discuss
comment 1y ago · link · parent
comment 2y ago · link · parent
It's great this is improving, but this is a fairly narrow improvement. Personally, the multi-column indexes I use would not be improved by this change since column 'a' does not store a "reasonably small" distribution of values.
comment 2y ago · link · parent
But I would disagree with the takeaway to focus on optimizing your indexes and not your tables. The reason is that the order of columns in a multi-column index is highly meaningful and intentional in order to support match on a range of values for the last column in the index. The way databases work you can only utilize a multi-column index on (customer_id int4, date timestamp) if have an equality match on customer_id, like "WHERE customer_id = 1 AND BETWEEN '2024-01-01' and '2025-01-01'". If you reorder these columns in the index to put the larger date column first, then, sure, you save space in the index, but you also make it worthless – it will never be used by the query above. As such, optimizing a multi-column index is only useful when all the columns are queried for equality rather than a range.
In contrast, when you are creating a NEW table you might not think hard about the order of the columns in the table, and especially not about the data-sizes of each column and their alignment. But doing so at the time you create the table can be tremendously beneficial if it is going to be very large. It is important to note that you not only save space on-disk, but in precious RAM when the tuples are loaded.
comment 2y ago · link · parent
Eclipse doesn't use AWT, but rather uses SWT, a completely separate toolkit/API. That said, it's still great to hear that this is being improved.
comment 2y ago · link · parent
That said, the up-side is that physical goods can provide on-going benefit. For example, I love my AirPods Pro - they bring me joy every day.
comment 3y ago · link · parent
comment 3y ago · link · parent