HNHacker News
TopNewBestAskShowJobs

Matheus28

1,887 karma · joined October 19, 2014

me@m28.io
submissionscomments
Matheus28··on The Deathray: A simple way for an untrusted site to freeze a Mac
I remember when `alert` would lock up the entire browser UI. So if you put it on an infinite loop, that was it. You had to kill the browser process to shut it off.
Matheus28··on Tesla discontinues its Solar Roof tiles, not economically viable
I can't wait for them to deliver the new Roadsters!!
Matheus28··on Google fixed more Chrome bugs in June than over the past two years, thanks to AI
I’ll take a Qt application over the Electron garbage that we see all the time nowadays.
Matheus28··on C++20 Improved the For-Loop Syntax
https://en.cppreference.com/cpp/io/print
Matheus28··on C++: The Documentary
And replace it with what?
Matheus28··on How to convert between wealth and income tax
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··on How to convert between wealth and income tax
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··on A web page that shows you everything the browser told it without asking
Why? Some web apps might want to present a different interface if you’re in landscape.
Matheus28··on Use string views instead of passing std:wstring by const&
Since C++11, data() is also required to be null terminated. Per your own source and cppreference.
Matheus28··on Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords
“I quit!” Even includes a special character
Matheus28··on MacBook Air with M5
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··on iPhone 17e
Except 120 Hz display I believe, which is big reason for me
Matheus28··on AI fatigue is real and nobody talks about it
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··on Self Driving Car Insurance
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··on Stop using low DNS TTLs
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··on Show HN: Server-rendered multiplayer games with Lua (no client code)
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··on DNS LOC Record (2014)
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··on Binmoji: A 64-bit emoji encoding
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··on Show HN: I'm building a browser for reverse engineers
How are you gonna throw an error inside Array.prototype.push?
Matheus28··on Show HN: I'm building a browser for reverse engineers
You can just use Proxy to get around toString shenanigans and prevent any detection whatsoever.
Matheus28··on `std::flip`
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··on `std::flip`
Should be using empty base optimization or [[no_unique_address]] for that implementation
Matheus28··on Top DNS domains seen on the Quad9 recursive resolver array each day
Probably some sort of command and control for a botnet.

They calculate a random domain name based on the timestamp (so it’s constantly changing every X days in case it gets seized), and have some validation to make sure commands are signed (to prevent someone name squatting to control their botnet).

Matheus28··on Evolution Mail Users Easily Trackable
Why do we need AI for that? Can’t we just strip html tags?
Matheus28··on FFmpeg merges WebRTC support
You’re basically asking people to do your homework for you at this point…
Matheus28··on FFmpeg merges WebRTC support
You don’t need an LLM to do that. The code in there is almost complete…
Matheus28··on [dead]
Blogspam
Matheus28··on The Rise of the Japanese Toilet
The drying is awful in my Toto, it's not enough air pressure. It'd take 20+ min to dry completely. It's nothing like those hand dryers in public bathrooms.
Matheus28··on Airlines are charging solo passengers higher fares than groups
Fully refundable tickets are an entirely different fare (and much more expensive)
Matheus28··on Airlines are charging solo passengers higher fares than groups
Do you have any examples of a one way direct being more expensive than a round trip, with both of them sharing the same outgoing flight?
Page 1 of 16Next →