• Home
  • About
    • Anirban photo
    • About Me
    • Email
  • Blog Posts
    • Writings
    • Tags
  • Skill Set

data.table work diary: Dec 2 - 6

  • Dec 2, ‘24:

1) Worked on the GHA for #6458 with a fresh start (last one didn’t use LaTeX-compatible .Rd patterns to construct \itemize entries in openmp-utils.Rd), using anchor points. (5 hours)

2) Edited the atime paper. (1 hour)

  • Dec 3, ‘24:

1) Worked on data.table.threads - fixed #29, found out and documented a regression, investigating/debugging. (8 hours)

2) Made suggested changes to my GHA blog post @Raft. (1 hour)

3) Edited the atime paper. (1 hour)

  • Dec 4, ‘24:

1) Fixed the issue and updated the readme for data.table.threads. (3 hours)

2) Continuing work for #6458. (4 hours) My scipt so far:

set -e
files_using_OpenMP=$(grep -Rl '#pragma omp' src/ | sed 's|src/||')
updated_list=$(echo "$files_using_OpenMP" | sed 's|^|\\item\\file{|; s|$|}|' | tr '\n' '\n  ')

anchor_start="Internally parallelized code is used in the following places:"
anchor_end="}"

awk -v anchor_start="$anchor_start" -v anchor_end="$anchor_end" -v updated_list="$updated_list" '
  BEGIN { in_section = 0 }
  {
    if ($0 ~ anchor_start) {
      print; 
      print "  \\itemize{"; 
      print updated_list;
      in_section = 1;
    } else if (in_section && $0 ~ anchor_end) {
      print "  }";
      in_section = 0;
    } else if (!in_section) {
      print;
    }
  }
' man/openmp-utils.Rd > man/openmp-utils.Rd.tmp
mv man/openmp-utils.Rd.tmp man/openmp-utils.Rd
  • Dec 5, ‘24:

1) Wrote the steps section for the GHA post, taking inspiration from my slides. (6 hours)

2) Edited the atime paper. (1 hour)

  • Dec 6, ‘24:

1) Wrote a bit (specifically ‘Background’ and ‘Related work’ sections from the template; drafting a coding plan) sections for a GSoC project involving my GHA. (7 hours)

2) Edited the atime paper. (3 hours)