HackerTrans
トップ新着トレンドコメント過去質問紹介求人

Matheus28

no profile record

コメント

Matheus28
·先月·議論
And replace it with what?
Matheus28
·2 か月前·議論
A lot of countries require you to declare your total wealth on your tax forms. Then once someone gets audited, that gets checked. Obviously it’s possible to hide it, but that in itself is a crime, and not everyone is willing to risk going to jail over paying taxes.
Matheus28
·2 か月前·議論
You obviously can’t convert between the two directly and suggesting that is disingenuous.

Income tax doesn’t affect unrealized capital gains (where the rich “hide” most of their income).

A wealth tax (even without a minimum threshold) doesn’t apply to the poorest who can’t accumulate enough to even have any savings.

This conversion only works for income that is entirely saved and reinvested, which the majority of people can’t afford to do.
Matheus28
·2 か月前·議論
Why? Some web apps might want to present a different interface if you’re in landscape.
Matheus28
·3 か月前·議論
Since C++11, data() is also required to be null terminated. Per your own source and cppreference.
Matheus28
·4 か月前·議論
“I quit!” Even includes a special character
Matheus28
·4 か月前·議論
What do you use the Mac Studio for?

I’ve always felt they weren’t really worth it for performance per dollar spent. For C++ work I just use a non-Mac workstation. For lighter workloads the Mac Mini is very capable already.
Matheus28
·4 か月前·議論
Except 120 Hz display I believe, which is big reason for me
Matheus28
·5 か月前·議論
I personally believe what we’re seeing are newcomers who aren’t even programmers who fall for all this crap and then come here to post about it
Matheus28
·5 か月前·議論
I personally would have changed it to a round-trip then just returned the car to the other Hertz location and let them figure it out.
Matheus28
·5 か月前·議論
If you add multiple IPs to a record, a lot of resolvers will simply use the first one. So even in that case you need a low TTL to shuffle them constantly
Matheus28
·6 か月前·議論
Client-server multiplayer games are already kind of a very specialized type of video playback if you squint a bit (you're transmitting entities rather than pixels).

This method of multiplayer you propose is inferior in basically every way: you can't do client-side prediction to make inputs feel smoother, and non-trivial scenes will surely take up more bandwidth than just transmitting entity deltas.
Matheus28
·7 か月前·議論
They could get a rough estimate of an IP location using traceroute from many different known locations. Very rough but it’s a starting point.

For some cases, they might just lookup who owns that IP range and put their address as the IP location.
Matheus28
·9 か月前·議論
Agreed. I feel that a lookup table can probably map all emojis possible to a uint32 (maybe optimistically uint16, [1] says there's about 4k emojis, does that include skin variations?). And you can add new ones sequentially after so IDs remain stable.

[1] https://unicode.org/emoji/charts/emoji-counts.html
Matheus28
·9 か月前·議論
How are you gonna throw an error inside Array.prototype.push?
Matheus28
·9 か月前·議論
You can just use Proxy to get around toString shenanigans and prevent any detection whatsoever.
Matheus28
·10 か月前·議論
Your python code allocates an array and inverts it every function call.

The C++ code has no overhead and is equivalent to a compile time transformation.
Matheus28
·10 か月前·議論
Should be using empty base optimization or [[no_unique_address]] for that implementation
Matheus28
·昨年·議論
I love their choice of Go because of how simple it is to generate a static executable with no dependencies (ie no dotnet runtime).
Matheus28
·3 年前·議論
To OP:

The fix is setting canvas width to window.innerWidth * window.devicePixelRatio, and height to window.innerHeight * window.devicePixelRatio. Then use CSS to maximize the canvas on the screen.