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-15 13:04 #

♪ Jelly Cleaver · Black Line

2024-01-15 12:48 #

Wanna get a plain text list of your Pocket bookmarks? Go to getpocket.com/export, then apply the following snippet on the HTML result file:

cat YOURFILE.html | grep -o '<a .*href=.*>' | sed -e 's/<a /\n<a /g' | sed -e 's/<a .*href=['"'"'"]//' -e 's/["'"'"'].*$//' -e '/^$/ d' > pocket.txt
2024-01-15 10:19 #

What strikes me about my personal experience with LLMs is that I have learned precisely when to use them and when their use would only slow me down. I have also learned that LLMs are a bit like Wikipedia and all the video courses scattered on YouTube: they help those with the will, ability, and discipline, but they are of marginal benefit to those who have fallen behind. I fear that at least initially, they will only benefit those who already have an advantage. — LLMs and Programming in the first days of 2024

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