back
user profile
matheusmoreira
28,294karma·11,402submissions·October 4, 2016
about
Brazilian hobbyist programmer. I mostly do my own thing but I've contributed to some free and open source projects.
I created the lone programming language, a lisp for Linux:
https://github.com/lone-lang/lone
The projects I've published are on GitHub:
https://github.com/matheusmoreira/
I can be reached via email:
hn@matheusmoreira.com
I also have my own website:
https://www.matheusmoreira.com/
If you like my work, consider sponsoring me:
https://github.com/sponsors/matheusmoreira
No pressure though. I do this because I enjoy it.
recent activity (11,402 total)
comment
Using a hardware token to protect the subkeys is important but it is also necessary to protect the primary key by keeping it offline. The best method I know is to store it on paper with the help of pa…
comment
The registers rdi, rsi and rdx are acknowledged in the article but they don't appear in the disassembly: 000000000040f9c0 <__libc_write>:
40f9c0: 83 3d c5 bb 2a 00 00 cmpl $0x0…
comment
Mobile Chrome does not support extensions.
comment
Another fun calculation: maximum amount of decimal digits a binary number could have. digits = ceil(bits * log10(2))
A 10 KiB picture can be thought of as one 24 661 digit number. A 2 GiB video…
comment
Multiplayer Windows games in general ship anti-cheating software implemented as kernel modules that are more invasive than even draconian DRM.
comment
> It’s like 3 control characters to color text It's important to note that each specific terminal can have different control codes. The xterm ended up being the de facto standard but it'…
comment
Well gdb is pretty hard to use. I learned how to step through programs recently but I'm still not confident using it. The fact that printing variables is still the quickest and easiest way to g…
comment
Unity builds are useful too but they have limitations. They are equivalent to full rebuilds and can't be done in parallel. The optimizations they enable can also be achieved via link time optimiz…
comment
It's actually the domain of build systems. Splitting code into as many independent files as possible gives the build system more data to work with, allowing it to compile more parts of the progra…
comment
The game hacking community does highly professional work. Many games have been completely reverse engineered and open sourced. https://github.com/pret https://github.com…
comment
Splitting things up into multiple independent translation units enables incremental compilation. One function per file is the most extreme version of this. For example: https://git.musl-lib…
comment
This is the truth about leadership. As long as everyone is getting their due, few will care about the overt sociopathy of the leader and those that do will have no political power to change it. That…
comment
> He's just going to do it again And after he graduates criminal university, he's probably going to do far worse.
comment
Yeah. No guidance, no nuclear codes for authorization, no way to abort the launch, nothing but a "handle with care" message on the nuke itself. The only reason humanity survived is nobody da…
comment
Lua was made for this! Here's a simple example: https://gist.github.com/Vesnica/3672425 It loads and runs a Lua source code file which calls the exported C function. Lua com…
comment
An up-scaled replica of the 6502 with a lot of LEDs to visualize the state of the processor while it works: https://monster6502.com/ …
comment
> encouraged a tremendous amount of public debate I don't think "debate" is the right word for what happened in that thread. > then single-handedly reverted Isaac Childers' c…
comment
> The reasons given in this complaint were his request for an open and civil phone call, and a picture of Mr. Wood wearing a MAGA hat. It is the only possible conclusion given this information. Is …
comment
There were valid reasons to reject the change: > Us maintainers tend to reject tiny doc changes because they're often more trouble than they're worth. > You have to collect and check t…
comment
How hard is it to understand that people do not want to be tracked? How many times do we have to say it before they understand? Should we paraphrase it for them? Explain it like they're five?
comment
Good question. I usually see highly upvoted articles about the evils of widespread data collection but apparently it's totally fine to publish confidential medical information on the news and mak…
comment
> There is no scrutiny to stop this idiocy, and the average consumer has no idea why this is bad, and no idea that those blue screens were because of a headset . Yeah. Microsoft doesn't exerc…
comment
When they change names, they usually write something like: > Some names and identifying details have been changed to protect the privacy of individuals. The author did not write that. I don't …
comment
How many 54-year-old Steves exist? How many of those have multiple sclerosis, cerebral palsy, heart disease, and diabetes at the same time? How many were homeless? I've seen people identify patie…
comment
> Brenner shows me data on a patient named Steve, a 54-year-old with multiple sclerosis, cerebral palsy, heart disease, and diabetes. No patient confidentiality?
comment
> But in any case, there’s already a push to switch to new cryptographic codes that already exist and that we think are quantum-resistant. Hopefully this will happen soon. I don't know of any …
comment
For some reason latency keeps getting worse. https://danluu.com/input-lag/
comment
Yeah. I just visited some news site and they gave me a cookie notice: > We use cookies for analytics, advertising and to improve our site. > You agree to our use of cookies by closing this messa…
comment
I'm impressed you actually made it that far. I stopped reading when they translated all the cause of death statistics into loneliness.