Can't quite believe that the last two weeks of #nixwrt development have mostly been about "writing an init replacement in lua" but, hey, here we are.
(Although it'd actually be more accurate to call it a monit/supervisord replacement, I don't plan on running it as PID 1)
"microphones to be muted during final Presidential debate" says the BBC news. I think this is a great idea, let them express their answers through sign language or interpretative dance
In #nixos, how do I refer to the current directory (and not an empty directory in nix/store) in shell.nix? https://discourse.nixos.org/t/how-to-refer-to-current-directory-in-shell-nix/9526?u=telent
Asking for a man who isn't winning at Search Engines today
I’m developing a package that includes some Lua library files. Supposing my...NixOS Discourse
I have written a program that only behaves correctly when run under strace
It may be time to put the computer down and do something else for a while
Probably alone in this, but I reckon it'd be nice if our times could be precedented again for a bit.
@dan this is unambiguously supported (there's a USE_LONG in addition to USE_FLOAT and USE_DOUBLE) in Lua 5.0, as Programming in Lua implies: https://www.lua.org/pil/2.3.html
based on http://lua-users.org/lists/lua-l/2013-01/msg00348.html, it seems like changing every number setting in luaconf.h individually is at least not likely to horribly break anything
I just added 314k of lua interpreter to my nixwrt router image as a preventative against having to deal with debugging my own shell scripts
Hopefully I can get the size down a bit (I think I read that it's possible to disable floating point), but even at the current cost I think it's a tradeoff I'm prepared to make
I don't xpost from Twitter much (I don't post to twitter much either), because I tend to post snark there and (sometimes marginally) more constructive stuff here, but this was a reply to a question: "do you have a piece of technical writing that was important to you (book, blog, whatever...) you learned something from it, it changed your perspective"
https://ww.telent.net/2020/10/7/nixwrt_5_4_branch did anyone ask for another telent blog post? No? Shame, here it is anyway.
Less than two months since the previous one, too. Maybe it is possible to get back into the swing of writing longish-form again.
tired: reconfiguring your qemu vm running on a NATted host, and the host, to use tap networking and bridging so that you can run an L2TP tunnel from a nixwrt device attached to that VM to a tunnel endpoint on the internet
[root@nol:~]# socat -v udp-listen:1701 udp-connect:my.l2tp.tunnel.host.com:1701
Wondering whether/how I can do something in a linux vm that forwards pppoe packets on eth1 to an l2tp server on the internet. Assume it should be either trivial or entirely misconceived
(Context: I want to test #nixwrt pppoe support and don't have a spare dsl/broadband line to plug it into)
Now dogfooding #NixWRT with kernel 5.4, on Mediatek-based wireless access points in the annex and the study, and have an image for ath79 that builds/boots/brings up wifi. I think this branch is good enough to merge (and have merged it)
https://kevinmahoney.co.uk/articles/applying-misu/ a nice example of "making invalid states unrepresentable" (lobste.rs pedants will claim it's only less representable, but that doesn't detract from the point) which is uncannily close to a thing we have at work. Tooting this now so I don't forget to spam it into $WORK Slack tomorrow
not sure I was expecting to win again this evening, but look! first pass at support for the mt76 wireless driver in mt7628 soc! now I can make wireless extenders with the yellow boxes as well as the blue ones
mood: kinda stoked
Some advice from someone that's done both frontend and FPGA dev:
Any tool named any variation of "webpack" means you're going to have a Bad Time.
TFW you spent the last hour making small cleanups and rerunning make to check it hasn't changed anything, and only just noticed that actually you were running make -n