Posts
3460
Following
207
Followers
342
Linux kernel maintainer. Compilers and virtualization at Parity Technologies.
Edited 4 months ago

Another step forward towards making the compiler omniscient:
https://discourse.llvm.org/t/rfc-overflow-idiom-exclusion/80093
(Excluding "test for overflow" code patterns when using the unexpected overflow checker in Clang.)

0
3
0

Jarkko Sakkinen

Edited 4 months ago

Built a site with a PDF resume (see /about) using Jekyll and Typst:

https://jarkko.codeberg.page/

Woodpecker CI puts everything together for every push building both site and the resume:

https://codeberg.org/jarkko/pages/src/branch/main/.woodpecker.yml

And resume made with Typst is a separate project, which can be updated independently while publication is taken care by the site project: https://codeberg.org/jarkko/resume

This is convenient…

#codeberg #woodpecker

0
1
1

Jarkko Sakkinen

Edited 4 months ago

I just realized that #vim has these in the distribution:

❯ ls -1 /usr/share/vim/vim91/pack/dist/opt/
cfilter
comment
dvorak
editexisting
editorconfig
justify
matchit
shellmenu
swapmouse
termdebug

Thus, I can shrink my plugin list a bit:

diff --git a/.vimrc b/.vimrc
index a66c03b..383ea80 100644
--- a/.vimrc
+++ b/.vimrc
@@ -35,13 +35,14 @@ nnoremap <silent> <C-l> :nohl<C-R>=has('diff')?'<Bar>diffupdate':''<CR><CR><C-L>
 nnoremap <silent> <leader>lcd :lcd %:p:h<CR>:pwd<CR>
 nnoremap <silent> <leader>n :set number!<CR>
 
+packadd! comment
+packadd! editorconfig
+
 if !empty(globpath(&rtp, 'autoload/plug.vim'))
   call plug#begin()
   Plug 'ap/vim-buftabline', { 'as': 'buftabline' }
   Plug 'catppuccin/vim', { 'as': 'catppuccin' }
-  Plug 'editorconfig/editorconfig-vim', { 'as': 'editorconfig' }
   Plug 'kaarmu/typst.vim', { 'as': 'typst' }
-  Plug 'tpope/vim-commentary', { 'as': 'commentary' }
   Plug 'vim-scripts/git_patch_tags.vim', { 'as': 'git_patch_tags' }
   call plug#end()
 endif

Leaving only:

if !empty(globpath(&rtp, 'autoload/plug.vim'))
  call plug#begin()
  Plug 'ap/vim-buftabline', { 'as': 'buftabline' }
  Plug 'catppuccin/vim', { 'as': 'catppuccin' }
  Plug 'kaarmu/typst.vim', { 'as': 'typst' }
  Plug 'vim-scripts/git_patch_tags.vim', { 'as': 'git_patch_tags' }
  call plug#end()
endif

#holiday activities

0
0
4

Jarkko Sakkinen

I think #hmac #encryption series for #TPM went well, and also think that enabling it by default only for x86-64 at first was the right call. The recent issue on power architecture proved it. It is better increase scope per request by architectures instead. #linux #kernel
0
1
0

Jarkko Sakkinen

holiday activities
0
0
0

Jarkko Sakkinen

Edited 4 months ago

I use ctags myself but if I’d really wanted to use LSP with kernel tree I’d put this running to a tmux pane:

echo vmlinux | entr scripts/clang-tools/gen_compile_commands.py

In English: every time vmlinux changes, compile_commands.json will change.

For more information, see https://eradman.com/entrproject/.

0
1
2

Apple has committed to allowing rivals to access the 'tap and go’ technology of iPhones.

Today’s decision opens up competition.

From now on, competitors will be able to effectively compete with Apple Pay for mobile payments using iPhone in shops.

Read more: https://europa.eu/!tmg37y

0
4
0

you gained +5 windows xp

0
4
1

Jarkko Sakkinen

Edited 4 months ago

print the initial commit ID: git rev-list --max-parents=0 HEAD #git

0
0
0

Jarkko Sakkinen

Edited 4 months ago
LOL, took time and learnt to use #vim's internal spell checker after using it since 1998. Thought that I should do it since my worst side at #LKML is that I have misspelling in every second #email.

I also have minor dyslexia so reading those emails before sending might not help.

#linux #kernel
0
1
4

Jarkko Sakkinen

In an art exhibition of some sort
0
0
0

Jarkko Sakkinen

Considering the possibility of rendering #typst #polylux slides as a "deck' of SVG files without header and footer.

Then in the 2nd phase the SVG files would be embedded into company or organization template, as if each slide contained a full size image.

I guess this could potentially work out well, as long as aspect ratio matches.

I've been also thinking of creating a private deck.git, which would just contain random conclusion composed into "raw" slides. I'm lazy at preparing presentations so this could be a key to improve my game a bit in this area :-) I.e. capture an idea into a slide and commit at the time of realizing something...
0
0
0

Jarkko Sakkinen

time to work on a track #bitwig
0
0
2

Jarkko Sakkinen

I believe that this was written by AI ;-)

The story goes like that some people use #Vim and #Emacs, and others use #IDE 's, and one should use the tools that help to get the job done.

OK, cool, who cares? I don't. Write your kernel patches with Microsoft Word if that works for you, as far as I'm concerned...

https://stackoverflow.blog/2020/11/09/modern-ide-vs-vim-emacs/
1
0
3

Jarkko Sakkinen

Edited 4 months ago

I wonder if #NetworkManager will integrate as client of networkd? People like to hate NM but I actually like nmcli.

For instance, if I need to throw a bridge, I simply just:

nmcli connection add type bridge ifname br0 stp no
nmcli connection add type bridge-slave ifname enp63s0 master br0
nmcli connection up bridge-br0

NM is just an interface for whatever shenanigans below so I guess it should be possible to interface it to networkd, right?

Is #GNOME going to move forward with this eventually, or is NM going to be ditched? I don’t actually care how soon such thing might happen, I’m just worried about loosing good old NM ;-)

#systemd

1
0
1

Jarkko Sakkinen

Edited 4 months ago
Great! I got my #nolife back! #OpenPGP expiration dates bumped! I need to send critical bug fixes for Linux 6.10 and it is my first holiday week, so was a crap timing... #holiday #life
1
0
0

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

Edited 4 months ago
It is pretty obvious that #Zig will eventually have weight given what #Ueber has shown it can do in production: any C/C++ project can be converted within days to a Zig project.

ncdu is an open source example of the same: https://dev.yorhel.nl/ncdu. I'd bet some larger scale and notable C/C++ open source project will convert to Zig within next few years.

If Rust is the new C++, I guess Zig is the new Objective-C...
1
1
1
Show older