news
Programming Leftovers
-
Dirk Eddelbuettel ☛ Dirk Eddelbuettel: #50: Introducing ‘almm: Activate-Linux (based) Market Monitor’
Today we reconnect to a previous post, namely #36 on pub/sub for live market monitoring with R and Redis. It introduced both Redis as well as the (then fairly recent) extensions to RcppRedis to support the publish-subscibe (“pub/sub”) model of Redis. In short, it manages both subscribing clients as well as producer for live, fast and lightweight data transmission. Using pub/sub is generally more efficient than the (conceptually simpler) ‘poll-sleep’ loops as polling creates cpu and network load. Subscriptions are lighterweight as they get notified, they are also a little (but not much!) more involved as they require a callback function.
-
Rlang ☛ From Math to Code: Building GAM with Penalty Functions From Scratch
Enjoyed learning penalized GAM math. Built penalty matrices, optimized λ using GCV, and implement our own GAM function. Confusing? Yes! Rewarding? Oh yes!
-
Rlang ☛ Project Euler 35: Circular Primes below One Million
Euler Problem 35 takes us back to the world of prime numbers, in particular circular primes. The Online Encyclopedia of Integers (A068652) lists the fist 46 numbers for which every cyclic permutation is a prime.
-
Python
-
Didier Stevens ☛ Update: myjson-filter.py Version 0.0.9
I added value stdout for option -W. -W stdout: will write all items to stdout (binary) without any end-of-line.
-