Vytautas Šaltenis (@rtfb) profile picture
Vilnius
Joined September 2009
Photo by Vytautas Šaltenis (@rtfb)Photo by Vytautas Šaltenis (@rtfb)Photo by Vytautas Šaltenis (@rtfb)Photo by Vytautas Šaltenis (@rtfb)Photo by Vytautas Šaltenis (@rtfb)
It's that day when a one-liner "add" -> "sub" fix asks for a commit message the size of a blog post: github.com/rtfb/riscv-hobby-…
7
91
Turns out, the solution was both obvious and not. The obvious part: add-symbol-file. It can be specified with an offset, but a negative offset has to be two's complement: add-symbol-file out/os_virt -o 0xffffffff80000000 xitter.gq/rtfb/status/1761335870…
Hive mind, is there a way to rewrite symbol addresses in DWARF? I thoroughly fail to find even a decent library to write the symbols (as opposed to just reading them). Modifying them within gdb after loading would also suit me, but can't find that either.
1
5
196
Thanks to @__ReJ__ and @_eriq_ for their hints.
1
1
60
Hive mind, is there a way to rewrite symbol addresses in DWARF? I thoroughly fail to find even a decent library to write the symbols (as opposed to just reading them). Modifying them within gdb after loading would also suit me, but can't find that either.
2
1
1
444
Here's the use case: I run things in qemu-system and I have a function foo(), which lands at address 0x8000abcd. But I only ever execute that function with virtual addressing enabled, at address 0xabcd.
52
Timer interrupt handling in M+S modes on RISC-V is confusing. Here are some of my notes that others might find useful: github.com/rtfb/riscv-hobby-…
3
208
Let's get to the bottom of this - @elonmusk, чей Крым?
1
5
141
And a polite response to that is "no no no, this is a tobacconist's".
from the article “I Can Eat Glass”
226
Andrew took a very reasonable path of lesser resistance. More people should consider that instead of wasting 15 years learning a subset of C++.
I cannot stop thinking about this. Andrew created Zig and ~15 years ago asked on SO how to open a file in C++
1
4
288
Quoting the master strategist, "мы-то по большому счету всерьез пока ничего и не начинали" - the summit starts tomorrow!
Glad to announce that after the meeting I hosted with @RTErdogan & @SwedishPM, President Erdogan has agreed to forward #Sweden's accession protocol to the Grand National Assembly ASAP & ensure ratification. This is an historic step which makes all #NATO Allies stronger & safer.
63
Hey, @SbudnicS there's a sbudnic.space/repository section on the website, but it's empty. Are there plans to opensource some of the engineering details?
1
2
63
Same with naming an IDE after an astronomical phenomenon where one celestial body obscures the other by blocking the line of sight or illumination.
Naming a framework after Kafka, at least to me, adds some signals about the usability and the trials I'd have to go through to use it...
6
Shake-sort.
Neat example of how order can emerge from chaos: sorting this box of nails. tinyurl.com/rg8hkf7
2
As expected, natural stupidity is doing harm waaay before AGI is even developed. washingtonpost.com/technolog…
2
We do not always blog in English, but when we do, it's on Uber Engineering Blog: eng.uber.com/on-call-dashboa…
1
3
9
Survey: If there's on thing we could improve, what would it be? Me: No mandatory fields in survey forms.
1
Replying to @elonmusk
@elonmusk @SpaceX is there a reason not to do a grasshopper-like prelaunch "dynamic fire" tests now that landing has been proven to work?
Golang protip: never forget to PipeWriter.Close(), esp if wrapped in smth like gzip.Writer (close both). Or your io.Copy will never end.
1
Replying to @awscloud
@awscloud, Y U SUCH "Sorry, there was an error processing your request" today?
2
I hammered together a POC for godoctest (github.com/rtfb/godoctest), a tool a-la Python's doctest. Thoughts? Comments? Prior art?
1
2
@naktinis, ačiū už šitą puikų straipsnį! (delfi.lt/sveikata/sveikatos-…)
Kinda grabbed a rapier by the blade: $ touche /path/to/file touche: command not found
2