Posts
4819
Following
319
Followers
487
Linux kernel hacker and maintainer etc.

OpenPGP: 3AB05486C7752FE1
@pchaigno I drafted a quick plan what I want to do https://social.kernel.org/notice/AkA1B7U8A1zpNR8gEa.

I've previously used bpftrace to hook into tpm_transmit and then see similar information in "raw statistics form". now i'm aiming to level up and make graph that gets updated periodically.

I quickly drafted yesterday something just to see that I'm able to make a C project with bpftool and libbpf shenanigans: https://codeberg.org/jarkko/hello-ebpf. I know it is useless cruft at this point but this was at least enough to see that given the investment in time i can make it happen ;-)

Next thing I'm planning look at is bpf ring buffers.
1
0
0

Jarkko Sakkinen

Edited 1 year ago

Life hack for github-cli gh repo clone $(printf 'squidowl/halloy%.0s ' {1..2}), i.e. clone into owner/repo directory, not just repo. #github

EDIT:

I wrote a small #bash (obviously works also for #zsh) function to make cloning easier in my environment:

gh-repo-work() {
  local url=$1
  # Strip path from URL:
  local url_path=${url#*\.*/}
  # Clone to the Github tree:
  gh repo clone $url_path "$HOME/work/github/$url_path"
}

“Demo”:

~ main*
❯ gh-repo-work m4b/goblin
Cloning into '/Users/jarkko/work/github/m4b/goblin'...
remote: Enumerating objects: 7261, done.
remote: Counting objects: 100% (1215/1215), done.
remote: Compressing objects: 100% (326/326), done.
remote: Total 7261 (delta 977), reused 922 (delta 889), pack-reused 6046
Receiving objects: 100% (7261/7261), 3.22 MiB | 4.69 MiB/s, done.
Resolving deltas: 100% (5565/5565), done.

~ main*
❯ ls -1 work/github/m4b/goblin
CHANGELOG.md
Cargo.toml
LICENSE
Makefile
README.md
assets
etc
examples
fuzz
fuzz-afl
src
tests

~ main*
❯ rm -rf work/github/m4b/goblin

~ main*
❯ gh-repo-work https://github.com/m4b/goblin
Cloning into '/Users/jarkko/work/github/m4b/goblin'...
remote: Enumerating objects: 7261, done.
remote: Counting objects: 100% (1227/1227), done.
remote: Compressing objects: 100% (337/337), done.
remote: Total 7261 (delta 988), reused 923 (delta 890), pack-reused 6034
Receiving objects: 100% (7261/7261), 3.23 MiB | 6.68 MiB/s, done.
Resolving deltas: 100% (5564/5564), done.

~ main*
❯ ls -1 work/github/m4b/goblin
CHANGELOG.md
Cargo.toml
LICENSE
Makefile
README.md
assets
etc
examples
fuzz
fuzz-afl
src
tests
0
0
0

The list of papers accepted at the 2nd workshop has been published by ACM: https://dl.acm.org/doi/proceedings/10.1145/3672197#tableOfContent.

1
2
1
@pchaigno during my holiday s ive got into learning bpf and now im writing profiler with libbpf to detect performance issues in recently added bus encryption for TPM driver. Got addicted!
1
0
0

Jarkko Sakkinen

Edited 1 year ago
Since I use #IRC "professionally" I spent 50 something euros to for annual #IRCCloud subscription.

The main reason is the bouncer they have in it that "just works" without even trying: https://blog.irccloud.com/bouncer/

If I ever build a company I will get IRCCloud Teams instead of Slack ;-)
0
0
4
@djuuss @gimulnautti lol nobody has ever called me a part of group called "psytrance folks". Non taken ;-)

Unfortunately only music personality I follow is @polarity who is also only Bitwig expert I follow at Youtube. I generally try to avoid watching or reading anything "music production" related because then you end up learning 1000000 and 1 ways to use EQ and compressor in a wrong way, get a headache and feel bad for yourself 😆

I like Polarity's stuff because it is more like cool insights and hacks rather than how to use EQ incorrectly.

That said, if there was a great Reaper tuber with emphasis on ReaScript, that would be something I'd be interested! I really would like learn that some day.

I don't have lot of emphasis on music ATM. I'm doing one collaboration track with Kirna. Actually good that this came out because I've been supposed to send him stems for last 2 months lol. It will be released some day at https://dopescience.bandcamp.com/.

The thing with Kirna is cool in the way that he is using Studio ONE so I have a real-world situation to try out .dawproject, which both Bitwig and Studio ONE support. I guess I'm geek first and music second, even when it comes to music ;-)

https://www.reaper.fm/sdk/reascript/reascript.php
1
0
1

Jarkko Sakkinen

Edited 1 year ago
Would be cool if there was TUI client for Google Sheets. I use it for tax reports etc. thanks to GoogleFinance() macro. Can't live without it. ****ings to #Google for this horrible vendor lock-in.

At #Intel I even developed a tax reporting template that became a minor internal hit among Intel #Finland employees :-) I hate myself for loving web app but it is soo convenient for moneyz.
0
0
1
@vbabka @ljs this one goes to crowdstrike and microsoft: https://www.youtube.com/watch?v=lNHRnhOP3hE ;-)
0
0
1
@vbabka @ljs does it matter ;-)
1
0
1
Edited 1 year ago

Trump to the press: I will crush you like the bugs you are.

Journalists: Haha there goes Trump again.

Biden: I'm incredibly disappointed in your coverage:

Journalists: How dare you? Resign immediately, you ungrateful pathetic SOB.

3
6
0

Jarkko Sakkinen

Flow planned for my cheapo #BPF flame graph for a single driver:

  1. tpm_transmit()
  2. Chop the backtrace into two pieces.
  3. Keep the top N rows, forget the the bottom.
  4. Publish N rows with 256 bytes per row room for a call entry, i.e. 0x100*N bytes to the BPF ring buffer.

The host side then consumes the fixed-size packets and puts matching stacks to the same bucket. A second thread can periodically then compose flame graph of the data corrected so far.

Somehow got into learning this eBPF stuff during the holidays :-) Super interesting and addicting.

#eBPF

0
0
0

Jarkko Sakkinen

#ladybird is compatible with #lwn ;-)
0
0
0

GitHub's co-founder and former CEO launched the Ladybird initiative, a brand-new independent browser written from scratch and backed by a non-profit.
https://linuxiac.com/ladybird-is-a-new-browser-initiative-backed-up-by-1m/

1
2
1

Jarkko Sakkinen

Edited 1 year ago
More GPLv3 there is in the world, more there is legal risks for AI companies. It has that power, even tho was not designed with this exact purpose in mind.
0
0
0

Jarkko Sakkinen

Edited 1 year ago

I think, just based on experience on previous tech revolutions, that #AI is neither useless nor it is going to repeal and replace human labor.

It just hasn’t hit the its roof, or more precisely constraints, yet.

Media only giving voice to either AI companies or AI researchers turned into doomsday predictors, is at least quite strong signal of a bubble.

If you feel that AI is evil, here’s couple of suggestions what you can do:

  1. Engage and support open source ecosystem. It is essentially a crowd-sourced alternative to AI where people work together to realize the best possible software for other people and for themselves.
  2. Consider #GPLv3 and #AGPLv3 as an alternative to making “standard Github choice” of #Apache or #MIT. It is a self-governing and collaboration enabling licensing model. I think AI makes #GPL more relevant than it ever has been so far in its history. I’ve at least started to pro-actively rethink how I license my own projects, instead of lazily just putting MIT or similar license.
2
1
5
I'm happy I got to see this sight in my lifetime ;-) The blue egg of death.
1
0
0
@ljs i still that in this case more relevant than what type of memory error we are talking about, is how long the rollback process took ;-)

i'd expect large cloud companies to test their emergency procedures, not just red teaming but also simulate faulty patches getting through.
1
0
0
Show older