Posts
3556
Following
214
Followers
361
Linux kernel maintainer. Compilers and virtualization at Parity Technologies.
@chrisdenton I'm considering a T-shirt design:
0
1
1

Jarkko Sakkinen

Edited 5 months ago

#rustc blows up completely when replacing a source file under ~/.cargo/registry/src with random data. It really should do better. This is not appropriate way to signal memory corruption, shouldn’t memory safety take care of this? :-) #rust #rustlang

2
1
1
Sixel test. It is funny how much sixels have late years go appreciation when they were invented by DEC already in 1987, when they introduced VT-320 series of dummy terminals ;-)
0
0
0

Jarkko Sakkinen

Edited 5 months ago
During holidays I found about #IBM Plex: https://www.ibm.com/plex/

Love this font! Best thing from IBM in years.
1
1
4

Jarkko Sakkinen

My apartment is about 7 min walk from central railway station of Tampere and I get these all the time. I really have to fight myself of not fuzzing in...
0
0
0

Jarkko Sakkinen

Tampere Sunday sightseeing
0
0
4

Jarkko Sakkinen

Unfortunately many new open source projects have performance benchmarks that seem to be heritage of Apple marketing.

Zed editor is a great example of this. There's so many moving parts missing here that I could write a book just listing those one by one ;-) This is objectively marketing propaganda because absolute timing values without context and environment do not have any other meaning than giving preferred impression.

Examples of reasonable ways to analyze performance can be found from e.g. https://www.akkadia.org/drepper/cpumemory.pdf.
0
0
2

Jarkko Sakkinen

holiday activities
0
0
0

Jarkko Sakkinen

In an art exhibition of some sort
0
0
0

Jarkko Sakkinen

time to work on a track #bitwig
0
0
2

Jarkko Sakkinen

Got a pile of random #vinyl ’s from my ex because she was moving that I had forgotten. Literally from the attic.
2
1
4

Jarkko Sakkinen

This is still IMHO a strong merit in #GNOME #Evolution, when having multiple identities.

In my case, I use a sub-address (RFC 5233) for bouncing kernel.org but it shares the account with my personal email address. Identities map to envelope addresses, and based on that msmtp will pick the correct SMTP server.

msmtp also allows to share SMTP configuration with #Git. E.g. for a freshly cloned repository, I might for instance:

git config from "Jarkko Sakkinen <jarkko@kernel.org>"
git config sendemail.envelopeSender "jarkko@kernel.org"
git config sendemail.sendmailCmd "/usr/bin/env msmtp"

#email #smtp

1
0
0

Jarkko Sakkinen

X aka "never ever touch this crate" tag ;-) That is how I literally interpret it.

#Rust #RustCrypto #rustlang
1
2
8

Jarkko Sakkinen

Edited 5 months ago

If #Radare2 vs #Rizin makes no sense to you, perhaps #Python will. It is pretty solid tool for driving #Capstone :-)

Transcript:

raw = open('/home/jarkko/work/nnn/nnn', 'rb')
from elftools.elf.elffile import ELFFile
elf = ELFFile(raw)
symtab = {s.name: s for s in (elf.get_section_by_name('.symtab')).iter_symbols()}
sym = symtab.get('move_cursor')
addr = sym['st_value']
size = sym['st_size']
text = elf.get_section_by_name('.text')
offset = addr - text['sh_addr'] + text['sh_offset']
raw.seek(offset)
payload = raw.read(size)
from capstone import Cs, CS_ARCH_ARM64, CS_MODE_ARM)
disasm =  Cs(CS_ARCH_ARM64, CS_MODE_ARM)
for opcode in disasm.disasm(payload, addr):
    print(f"0x{opcode.address:x}:\t{opcode.mnemonic}\t{opcode.op_str}")

Just got a bit familiar this. The main benefits are obviously:

  • Recursive traversal #disassembly (vs linear sweep style in objdump)
  • Re-usable analysis
  • No boundaries how you can post-process the analysis (or visualize it)

I find this super fascinating!

3
4
1

Jarkko Sakkinen

another classic piece of software with *uncluttered* Tk GUI: #gitk :-) #git
0
0
0

Jarkko Sakkinen

#Python #IDLE is still rockin' :-) Always have it open as my calculator (and doing binary analysis and whatnot).
0
2
2

Jarkko Sakkinen

1
0
4
@ljs @lkundrak @pony Maybe a bit pointless but working image preview is a thing for me in kitty :-) There's also standard called Sixels for showing images on terminal but kitty's own protocol as widely supported (because it is the precursor of doing this) and generally just works better and is more efficient and glitch-free.

It even has tool called icat for raw shell.
1
0
2
@mikebabcock Yep, breakin' the law I guess 😅 But you know this WFM me best...
1
0
0
it does the job it was meant to in any case
0
0
0
Show older