HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Matheus28

no profile record

comments

Matheus28
·w zeszłym miesiącu·discuss
And replace it with what?
Matheus28
·2 miesiące temu·discuss
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 miesiące temu·discuss
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 miesiące temu·discuss
Why? Some web apps might want to present a different interface if you’re in landscape.
Matheus28
·3 miesiące temu·discuss
Since C++11, data() is also required to be null terminated. Per your own source and cppreference.
Matheus28
·4 miesiące temu·discuss
“I quit!” Even includes a special character
Matheus28
·4 miesiące temu·discuss
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 miesiące temu·discuss
Except 120 Hz display I believe, which is big reason for me
Matheus28
·5 miesięcy temu·discuss
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 miesięcy temu·discuss
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 miesięcy temu·discuss
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 miesięcy temu·discuss
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 miesięcy temu·discuss
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 miesięcy temu·discuss
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 miesięcy temu·discuss
How are you gonna throw an error inside Array.prototype.push?
Matheus28
·9 miesięcy temu·discuss
You can just use Proxy to get around toString shenanigans and prevent any detection whatsoever.
Matheus28
·10 miesięcy temu·discuss
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 miesięcy temu·discuss
Should be using empty base optimization or [[no_unique_address]] for that implementation
Matheus28
·w zeszłym roku·discuss
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 lata temu·discuss
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.