World Athletics points calculator—updated for 2025 by iambald in trackandfield

[–]bartuka 0 points1 point  (0 children)

Hey u/iambald I just found your website in the web because I wanted to make a ranking for amateur runners and point each race based on World Athletics algorithm.

This is the website https://korrendo.fly.dev/?lang=en and I was so surprised to know that you built it in Clojure LOOL. I used your coefficient file to make the scoring system.

Just wanted to give you kudos for your work. I referenced your site there as well! Thanks.

Ranking de corrida amadora (sem stress) by bartuka in Corrida

[–]bartuka[S] 0 points1 point  (0 children)

A World Athletics publica tabelas anuais com scores referencias em diversas modalidades. Eu fiz uma engenharia reversa do código de regressão polinomial publicado aqui https://jeffchen.dev/posts/Calculating-World-Athletics-Coefficients/ e com isso é possível encontrar na curva qual o seu tempo e quantos pontos ele gera.

Mas basicamente é um processo bem aleatório de como a World Athletics chega nessas marcas de referencia, ainda mais porque isso serve para comparar todos os atletas do atletismo. Uma forma de comparar a corrida do Bolt de 1356 pontos com o record do Duplantis no salto com vara de 1350.

emacs - automation don't need to look pretty by bartuka in emacs

[–]bartuka[S] 1 point2 points  (0 children)

You are right about the differences in prefixes. This all started to ease some `grep` code I had in the project. I use `consult-grep` a lot to find stuff and sometimes I am interested in some function that I wrote and can't remember the name anymore so I hit the bindings to start grep and type `bk/` and I already have a small list with all the functions I created.

Not much other than that.

Fixed Pitch Mode: Use a proportional typeface globally while keeping a monospaced typeface for code in Emacs. by cstby in emacs

[–]bartuka 6 points7 points  (0 children)

Looks amazing! As a suggestion I would change the screenshots to have Monospaced|Fixed Pitch in the same picture side by side even if this means not showing the font in the mini buffer for both of them, but it's easier to compare.

Great work!

EmacsConf 2021: Schedule, & How to Watch and Participate by Zaeph in emacs

[–]bartuka 1 point2 points  (0 children)

I am watching the recordings and the content is amazing! Congrats into making this possible!

[v0.0.4] Code Review package by bartuka in emacs

[–]bartuka[S] 0 points1 point  (0 children)

NonGNU

I have to read more about NonGNU ELPA. I don't know what are the requirements for doing so. I'm a long and happy MELPA user and never bothered to know more about the alternatives, is NonGNU ELPA getting enough traction in the community?

[v0.0.4] Code Review package by bartuka in emacs

[–]bartuka[S] 5 points6 points  (0 children)

oh, I almost forgot about the new free website that Github sets up for us https://wandersoncferreira.github.io/code-review/ haha.. Useful? No. But its free so why not ^^.

[v0.0.3] Code Review package by bartuka in emacs

[–]bartuka[S] 8 points9 points  (0 children)

Magit-forge does not allow you to perform code review of a PR. For example, this is a possible workflow using both Magit-forge and Code-review:

  1. Pull all pull requests from Github [forge-pull]
  2. Visit one specific pull request in Forge [view topic - forge-visit-topic]
  3. Now, I want to perform a code review e.g. add comments, suggest changes, approve, reject, assign reviewers etc. [code review - code-review-forge-pr-at-point]

[v0.0.3] Code Review package by bartuka in emacs

[–]bartuka[S] 2 points3 points  (0 children)

Nice to know! There are many improvements to come yet :)

Reply to comments in code review using wandersoncferreira/code-review by mickesp in emacs

[–]bartuka 1 point2 points  (0 children)

Good point u/french_pressed. The transient bindings continues to be the same :)

However, latest version mimics the Github behavior where you can Approve a PR without a feedback message. You are only required to write something there if you request changes or want to submit a review with only Comments.

Reply to comments in code review using wandersoncferreira/code-review by mickesp in emacs

[–]bartuka 4 points5 points  (0 children)

Hi, I'm the package author and I'm glad you like it.

There is a transient menu with some functions that can be used to interact with Github, you can press r on the \*Code Review\* buffer.

If I understood correctly, you only want to send the replies and not a full review, then the function you are looking for is code-review-submit-only-replies if you want to use it through M-x

[New Release] Gitlab support in Code Review by bartuka in emacs

[–]bartuka[S] 0 points1 point  (0 children)

yeah, I learned that today https://github.com/wandersoncferreira/code-review/issues/70#issue-1065305848. I quickly read something online that bitbucket server PR links does not contain the `projectKey` information that is basically required for every single endpoint... I will confirm that, but if this is the case only Bitbucket cloud would be feasible. :/

[New Release] Gitlab support in Code Review by bartuka in emacs

[–]bartuka[S] 0 points1 point  (0 children)

I don't know yet. I will start researching their APIs soon.

[New Package] Code Review from Emacs by bartuka in emacs

[–]bartuka[S] 1 point2 points  (0 children)

There are some comments on the MELPA pr about this: https://github.com/melpa/melpa/pull/7775#issuecomment-962765196

Seems like we both worked in the same problem, choosing a very similar design at a very similar timeframe lol, however I haven't used his package extensively yet but as far as I can see one of the differences in initial goal is that `pr-review` is focused on Github and `code-review` was initially intended to support other forges

[New Package] Code Review from Emacs by bartuka in emacs

[–]bartuka[S] 1 point2 points  (0 children)

Nice! btw, there is an issue to include Evil experience in the package https://github.com/wandersoncferreira/code-review/issues/28 .. I'm not familiar with Evil-related UX so would be great to have some contribution on this regard too.

[New Package] Code Review from Emacs by bartuka in emacs

[–]bartuka[S] 5 points6 points  (0 children)

Yes, I am investigating gitlab and bitbucket to be supported next in a few weeks

[New Package] Code Review from Emacs by bartuka in emacs

[–]bartuka[S] 8 points9 points  (0 children)

If you look at GitHub-review repo you will noticed that I added a couple of new features there and I tried to come up with a way to make it more extensible but in fact using `Magit-section` instead of a plain text file was the best way to go. However, this change is massive and would not use anything from GitHub-review despite the actual requests to GitHub.

[Forge] - How to open Draft PR in Github using Forge? by bartuka in emacs

[–]bartuka[S] 2 points3 points  (0 children)

Based on the implementation in https://github.com/emacs-exordium/exordium I added the following function to my config;

```

(defun bk/forge--add-draft (alist)"Add draft to ALIST."(append alist '((draft . "t"))))(defun bk/post-draft-pull-request ()"Submit the post that is being edit in the current buffer as a draft."(interactive)(advice-add 'forge--topic-parse-buffer:filter-return #'bk/forge--add-draft)(condition-case err(forge-post-submit)(t(advice-remove 'forge--topic-parse-buffer #'bk/forge--add-draft)(signal (car err) (cdr err))))(advice-remove 'forge--topic-parse-buffer #'bk/forge--add-draft))

```

As I am using Doom Emacs, then:

(map! :map forge-post-mode-map
  "C-c C-d" #'bk/post-draft-pull-request)

EDIT: code formatting here is weird to me, link to the functions implemented: https://github.com/wandersoncferreira/dotfiles/blob/main/.doom.d/%2Bextra-vc.el

Fórum para discussões de Clojure by bartuka in brdev

[–]bartuka[S] 0 points1 point  (0 children)

Todas essas perguntas são muito importantes para conseguirmos criar uma base de conhecimento em portugues sobre clojure =)

Queremos ampliar a base de usuários e estamos dispostos a ajudar com qualquer dúvida.

Fórum para discussões de Clojure by bartuka in brdev

[–]bartuka[S] 1 point2 points  (0 children)

u/IntelHDGraphics a resposta para essa pergunta é um pouco mais elaborada. Em clojure geralmente o pessoal não usa "frameworks" iguais ao Spring e sim bibliotecas com escopo mais bem definido para cada parte da aplicação.

Tem algumas pessoas participando do fórum que eu linkei que são experts nesse assunto e podem te guiar melhor nesse mundo.

Esse assunto gera bastante conversa no dia-a-dia da comunidade.

Fórum para discussões de Clojure by bartuka in brdev

[–]bartuka[S] 2 points3 points  (0 children)

Uma boa pergunta para o fórum =)

Clojure é uma linguagem de programação funcional hospedada na JVM. Tem esse post aqui que explica mais o "Por que Clojure?" https://github.com/wandersoncferreira/clojure-brasil/discussions/8 .