Viewing profile — detrino
detrino
HN member- Joined
- Mon, Jul 15, 2013, 9:46 PM UTC
- HN karma
- 482
- Public activity
- 327 items
- HN profile
- View on Hacker News ↗
About detrino
Recent public activity
- story
-
comment
Comment #22352964
I think you misunderstand me. I am saying that on Linux text at normal PPI is pretty much as good (to me) as text at high PPI because it has sub pixel rendering and strong hinting …
-
comment
Comment #22351790
OSX has had sub pixel rendering disabled by default since Mojave. It also never had the strong hinting that you can find on Linux and Windows which makes text significantly sharper…
-
comment
Comment #22351334
Do you use Mac OS X? When using Windows or Linux I don't find much benefit in text rendering on a 4k display. But as Mac OS X has no sub pixel rendering or grid fitting text looks …
-
comment
Comment #21153753
You can still get 2% interest on that buy buying treasury ETFs, or 1.56% currently by asking them to open a preferred deposit account for you, which is essentially a savings accoun…
-
comment
Comment #21143389
If you have bank of america you can link your bofa and merrill accounts. They even give you bonuses on your credit cards of +25/50/75% cash back for balances over 25/50/100k in ass…
-
comment
Comment #20924292
Depends what you consider a Rope. Does it require constant time concat? Does it require immutability? Does it require a balancing scheme based on the fib sequence? Does it require …
-
comment
Comment #20878730
Re benchmarking vs other data structures: Here is a B+Tree based sequence container I made: https://github.com/det/segmented_tree Basically, it has O(log n) everything like a binar…
-
comment
Comment #13974110
If you enforce the use of clang-format then this is not an issue as it will indent the code correctly.
-
comment
Comment #13558027
It's impressive that clang generates the same assembly for both versions: https://godbolt.org/g/yLh1EF Note that the assembly for process_message2 calls each function only once eve…
-
comment
Comment #13457600
Returning a stack allocated value is a move in C++11/14. It is also true that in many circumstances a compiler may optimize that move away using RVO/NRVO. Consider this example: ht…
-
comment
Comment #13265348
I would expect B-trees to outperform binary trees even in a persistent data structure. The necessity of binary trees comes when you need stable iterators/references.
-
comment
Comment #12776281
std::array does not exist because it is easier to read. It exists because C arrays behave strangely. Two examples: decay to pointer and no value semantics.
-
comment
Comment #11655035
Your loop: void TestSigned(int min, int max, int step) { for (int i = max; i >= min; i -= step) F(i); } Becomes this with unsigned: void TestUnsigned(unsigned min, unsigned max, un…
- comment
-
comment
Comment #11257702
I've written a Data Structure[1] for C++ to handle this problem. It uses counted B+Trees internally and is a drop in replacement for C++14's std::vector. [1] https://github.com/det…
-
comment
Comment #10804463
They cherry picked a retailer that was out of stock and listing an old price on the pink scooter.
-
comment
Comment #10804400
Note that the pink scooter has a grayed-out "Add to cart" button. They are sold out of the pink version so you can't even buy it on target.com (Where the screenshot appears to be f…
-
comment
Comment #10683114
Nothing in particular, just admitting the possibility.
-
comment
Comment #10682997
I've looked into this and it seems you are correct, thanks for the explanation.
-
comment
Comment #10682951
Who is assuming anything? People are conducting science and the evidence doesn't support an advantage for this particular function. Also, not only do I not think it is not absurd t…
-
comment
Comment #10679366
Because bitmaps target a specific resolution they can be tweaked so that features are aligned to pixel boundaries resulting in less anti-aliasing. Truetype fonts are an example of …
- comment
- comment
-
comment
Comment #10672285
> Git was not designed for security Can you elaborate on this? While it's true that SHA-1 is now broken, my understanding is that git's reason for using SHA-1 was to ensure the int…