aliquote.org

Latest micro-posts

You can also also view the full archives of micro-posts. Longer blog posts are available in the Articles section.

2024-01-11 20:19 #

A simplified boxplot, with (much) fewer Stata commands than the one proposed in this old post:

sysuse auto
graph box mpg,  over(foreign) box(1, color(white)) ///
  medtype(marker) medmarker(mcolor(black) mlwidth(0)) ///
  cwhiskers alsize(0) lines(lpattern(solid) lwidth(medium)) ///
  ylabel(, nogrid) yscale(noline) ///
  title("{bf}Box Plot", pos(11) size(2.75)) ///
  subtitle("City Mileage over number of cylinders", pos(11) size(2))
graph export /home/chl/tmp/better-bxp.eps

img

2024-01-08 21:07 #

It looks like this site renders properly on sixel-aware terminal with w3m (w3m -sixel -o auto_image=TRUE https://aliquote.org):

2024-01-08 09:07 #

I still hold 14 draft posts in my inbox, but for now let’s start this fresh new year with some good vibes.

2023-12-18 11:29 #

TIL that you can use xeyes to check if an app is running under Wayland or XWayland.

2023-12-13 09:40 #

Micro-posting goes well as far as I can tell.

img

2023-12-13 08:59 #

Just when I was about to try out boosting and bagging in Stata (rforest and boost), I realized that most programs now require Stata 15 or newer. Even Lasso penalization has been integrated in the core modeling facilities starting with Stata 18. At least, I can still run lassopack to perform L1, L2 regularization or a combination thereof. They use the same convention as in glmnet, where the parameter $\alpha$ stands for the elasticnet mixing parameter ($\alpha=0$ corresponds to the ridge penalty while $\alpha=1$ is the lasso penalty). The authors compared Stata builtin and R regularized estimation, which is great: Replication of glmnet and StataCorp’s lasso. See also An introduction to the lasso in Stata on the Stata blog. #stata

2023-12-12 10:27 #

To choose an implementation is to choose a tribe. Since Scheme is so minimal, you begin to rely on extensions that are only present in your implementation, and so through code you bind yourself to a world of code, people, and practice, loosely bound to the rest of the Scheme world through a fictional first-person-plural. This is OK! Going deep into a relationship with an implementation is the only way to do great work. The looser ties to the rest of the Scheme world in the form of the standards, the literature, the IRC channel, and the mailing lists provide refreshing conversation among fellow travellers, not marching orders for a phalanx. — an opinionated guide to scheme implementations

2023-12-11 19:45 #

♪ Jelly Cleaver · Black Line

2023-12-06 13:22 #

iMessage, explained: When you learn what com.apple.madrid does on your machine, and all the other goodies Apple put into their APNs.

2023-12-06 13:19 #

A good explanation of how Shazam work in practice, and an implementation in Python.