Programming Leftovers
-
Dirk Eddelbuettel: littler 0.3.16 on CRAN: Package Updates
The seventeenth release of littler as a CRAN package just landed, following in the now sixteen year history (!!) as a package started by Jeff in 2006, and joined by me a few weeks later.
littler is the first command-line interface for R as it predates Rscript. It allows for piping as well for shebang scripting via #!, uses command-line arguments more consistently and still starts faster. It also always loaded the methods package which Rscript only started to do in recent years.
littler lives on Linux and Unix, has its difficulties on macOS due to yet-another-braindeadedness there (who ever thought case-insensitive filesystems as a default were a good idea?) and simply does not exist on Windows (yet – the build system could be extended – see RInside for an existence proof, and volunteers are welcome!). See the FAQ vignette on how to add it to your PATH. A few examples are highlighted at the Github repo, as well as in the examples vignette.
-
Commandline and file IO in Nim
This post explains some more code fragments; concerning reading parameters from the commandline and file reading and writing. Also, some notes on string manipulation.
-
Re: “The web is a harsh manager”, Pt. II - Jim Nielsen’s Blog
It would be easy to conclude that, since you’re not sure what a “front-end engineer” is — The person who styles the page or queries the data layer? The person who animates things on screen or keeps the bundler and tooling humming along? — you can’t consider yourself a “real” front-end engineer.
-
Webhooks Aren't So Bad
Webhooks are the ultimate escape hatch to systems integration. Event publishing that doesn't require you to know much about who is listening on the other end. It's trivial to create a publisher or consumer (bring your own HTTP server/client). On the surface, Webhooks seem antithetical to the rise of the cloud native – it's easier than ever to set up servers that long-poll, managed pub/sub infrastructure, or simple event queues. But the opposite might be happening.
-
The Issues with Buildpacks
Buildpacks promise source-to-image generation. No need to write a Dockerfile or maintain dependencies. Get started with golden configurations for languages, frameworks, and more.
[...]
The trade-off between Dockerfiles and buildpacks is challenging for many developers to assess. We're usually much better at identifying upfront costs rather than future costs. And Dockerfiles have an initial learning curve.
-
OCaml Tips: Multiple Let Bindings - (think)
One thing that was a bit weird for me in OCaml early on was how to introduce multiple let bindings (e.g. in the body of a function definition).
-
the Kelly criterion and then some | R-bloggers
The Kelly criterion is a way to optimise an unlimited sequence of bets under the following circumstances: a probability p of winning each bet, a loss of a fraction a of the sum bet, a gain of a fraction b of the sum bet, and a fraction f of the current fortune as the sum bet.
-
Surprising Things You Can Do With R | R-bloggers
If you are interested to learn more about data science, you can find more articles here finnstats.
Surprising Things You Can Do With R, R has changed the way we think about data. R has had a significant impact on a wide range of data science fields, from machine learning and artificial intelligence to data visualization and analysis.
As a result, a large number of academic experts, data scientists, and analysts employ the incredibly flexible R programming language.
R, a long-standing participant in the TIOBE index that gauges the popularity of several programming languages, is utilized by individuals from all occupational fields.
-
debdb2pupdb.nim cross-compiled in OE
-
@data».sparkle | Playing Perl 6␛b6xA Raku
While reading solutions to the PWC, I spotted a pattern. There where plenty of .map-calls that contained only simple maths. It must not be so! Task 179-2 leans itself to use vector operations.