Posts
4401
Following
315
Followers
467
Software Engineer at Opinsys Oy
Entrepreneur at Siltakatu Solutions Oy

OpenPGP: 3AB05486C7752FE1
And also typst embeds the shield to the footer :-)
0
0
0

Jarkko Sakkinen

Edited 1 year ago

I published source code for my #resume here, which is entirely made with Typst:

https://codeberg.org/jarkko/resume

I tried to take extra care properly cover everything with CC-BY-NC-SA-4.0 before publishing it.

The reason why I posted is however this nice small script that I did:

❯ cat scripts/license-photo.sh 
#!/usr/bin/env sh

exiftool \
  -XMP-xmpRights:UsageTerms="CC-BY-NC-SA-4.0" \
  -XMP-xmpRights:WebStatement="https://creativecommons.org/licenses/by-nc-sa/4.0/" \
  images/photo.jpg
exiftool images/photo.jpg | grep -E "^Usage Terms|^Web Statement"

The script injects CC-BY-NC-SA-4.0 as part of the EXIF metadata embedded to the image.

Not doing this would have caused my weird OCD symptoms and sleepless nights ;-)

Ya, and also in this my Git starts with a “merkle commit”:

❯ git log --oneline      
21f8497 (HEAD -> main, origin/main, origin/HEAD) Initial commit
a79299e 

I.e. “the empty set” is public domain and not enforced by CC-BY-NC-SA-4.0 ;-) I like licensing and security borders that are clear and visible…

1
0
0

Edited the repository a bit.

I find this cool way to create the first commit:

❯ git log --oneline
d210dc8 (HEAD -> main, origin/main, origin/HEAD) feat: ramp up `alacritty-install`
dfba58b

I.e. “merkle tree root” having neither commit message nor payload. my “autistic tendencies” really tickle for this ;-)

0
0
0

Jarkko Sakkinen

Alacritty upstream NAK’d my install script so I created a repository for it:

https://codeberg.org/jarkko/alacritty-install

I also modified it to install the icon and desktop file by default with the perfix ~/.local .

Usage:

alacritty-install -h
usage: alacritty-install [-bhp]
-b <wayland|x11> select the rendering backend
-h               usage information
-p <prefix>      select the installation prefix (defaults to '/usr/local')

Just a convenient way to get the bleeding edge binary, which is convenient because typical Rust app is a single fat binary.

1
0
0
@vague yeah ofc :-) nice to hear!
1
0
1

Jarkko Sakkinen

A true time saver ;-)

git-init-linux () {
  git config sendemail.envelopeSender "jarkko@kernel.org"
  git config sendemail.from "Jarkko Sakkinen <jarkko@kernel.org>"
  git config sendemail.sendmailCmd "/usr/bin/env msmtp"
}

Given that, I don’t want to keep this in the #global #git config.

#linux #kernel

1
1
0

Jarkko Sakkinen

My life at the free town of Codeberg (Germany) has started: https://codeberg.org/ticho/irssi-matrix/pulls/8

N=1 in PR's :-)

#codeberg #irssi
1
1
0

Jarkko Sakkinen

apparently also #irssi is hosted at #codeberg: https://codeberg.org/irssi/ #irc
0
1
2

@ikkeT and LF is funded by private money so there’s no similar issue.

EU just came to mind from this quote: “The organization selected the European Union for their headquarters and computer infrastructure, due to members’ concerns that a software project repository hosted in the United States could be removed if a malicious actor made bad faith copyright claims under the Digital Millennium Copyright Act.”

0
0
1

Jarkko Sakkinen

Edited 1 year ago
@ikkeT it is not a business.

and we need govern ourselves from copilot and other stuff that does not belong to git hosting
1
0
1

Jarkko Sakkinen

Edited 1 year ago
The main budget hit comes obviously from CI.

Also, #Woodpecker #CI usability for local builds could be perhaps improved, in order lower the barrier to do them (and to get that done, it would require money for sponsorship/bounty/grant).
0
0
0

Jarkko Sakkinen

Edited 1 year ago
#Wikipedia has a great coverage on what #Codeberg is all about:

https://en.wikipedia.org/wiki/Codeberg

I'd like to see actors like EU and Linux Foundation give some donations/funding/hosting for the sake of providing non-profit but still easy to use and competitive Git hosting for the open source ecosystem (but that is not up to me).
1
0
0
Stimulus to try out Codeberg came from looking for a plugin for enabling matrix in irssi: https://codeberg.org/ticho/irssi-matrix

Codeberg is clean and snappy, and so much less noisy than Gitlab and Github. I move my own projects and hacks here, and only use aforementioned for upstream contributions from now on.
0
0
1

Jarkko Sakkinen

Edited 1 year ago

It took me hours to figure out that I need a branch called pages for deploying the generated content in .woodpecker.yml.

Even after figuring out that I could not find any information on how to first initialize it, so here’s how I did it:

git checkout --orphan pages
git rm -rf .
git commit -a --allow-empty --allow-empty-message

This results nice empty commit, i.e. a commit which has neither payload nor commit message:

❯ git show
commit a6e593d5e8f3d75c3bb682762ac2940dc237080b (HEAD -> pages)
Author: Jarkko Sakkinen <jarkko.sakkinen@iki.fi>
Date:   Tue Jun 18 06:02:33 2024 +0300

After a single CI run:

❯ git n log
commit 05e254e5d6b2dc8c29ac2d36ddfa68b9b1d56d2f (HEAD -> pages, origin/pages)
Author: Codeberg CI <jarkko.sakkinen@iki.fi>
Date:   Tue Jun 18 03:08:27 2024 +0000

    CI a7dc6158185fa87bc6d31431e417a10a00c6a6f8

commit a6e593d5e8f3d75c3bb682762ac2940dc237080b
Author: Jarkko Sakkinen <jarkko.sakkinen@iki.fi>
Date:   Tue Jun 18 06:02:33 2024 +0300

Gives expected results so I guess this works :-)

1
0
1

Jarkko Sakkinen

Migrating my stuff from #Github and #Gitlab to #Codeberg. The first successful CI run done. And seems to generate legit results: https://jarkko.codeberg.page/ #Woodpecker #CI
1
0
2
@valthonis Yep, that's what competition tends to do...
0
0
0
@codrusofathens wasm had no previous "dominator", Rust came out with right timing and as a language it fits quite well to the wasm architecture. In all other domains there's something already existing, which people find useful and productive.
0
0
0
Show older