Programming Leftovers
-
Rlang ☛ How to Add a Row to a Data Frame in R | What & Why
To add a row to a dataframe in R, you can use rbind() for base R or add_row() from the dplyr package for a more flexible approach. add_row() allows you to specify the exact position where you want the row added.
-
Rlang ☛ Comparison of spatial patterns in continuous raster data for overlapping regions using R
This is the second part of a blog post series on comparing spatial patterns in raster data. More information about the whole series can be found in part one.
This blog post shows various methods for comparing spatial patterns in continuous raster data for overlapping regions, i.e., how to compare two rasters for the same region, but in different moments in time (or, in some cases, with different variables)1 using R programming language.
-
Education
-
Rlang ☛ Come Learn About Time Series with Me at ODSC West Wednesday October 30th, 2024
I’ll be teaching how to solve time series problems at ODSC West Wednesday October 30th, 2024. This is a neglected topic that can unlock a lot of value in your organization.
-
-
Shell/Bash/Zsh/Ksh
-
Simon Willison ☛ Experimenting with audio input and output for the OpenAI Chat Completion API
OpenAI promised this at DevDay a few weeks ago and now it’s here: their Chat Completion API can now accept audio as input and return it as output. OpenAI still recommend their WebSocket-based Realtime API for audio tasks, but the Chat Completion API is a whole lot easier to write code against.
-
-
Standards/Consortia
-
State of CSS 2024 ☛ State of CSS 2024
New CSS on the other hand is an approach that embraces Subgrid, :has(), variables, container queries, and the many new and exciting CSS features introduced in recent years to not only do away with extra tooling, but even start taking on tasks that previously required complex JavaScript workarounds.
This is all possible thanks to a renewed comittment by browser vendors to, you know, actually make this stuff work – and I can't shake the feeling that we've barely scratched the surface of everything New CSS can offer.
-