Show newer

Some important rules when considering adding ML to your app:
1. Start building without machine learning
2. Continue without machine learning
3. Be blissfully unaware of concept drift, model versioning, AUC, and feature engineering
4. Turn off the computer
5. Go outside and buy a small child an ice cream cone
6. Sit with your beloved under the stars and, wonder at the vastness of the universe and your small role in it
7. Turn the computer back on, you’re now ready to add only linear regression

This week for #projects — in the vein of what @simon has been posting — I have been partnering with @miek on his github.com/miekg/gitopper, which a small, simple agent to manage GitOps on a node.

It's a therapeutic project to work on. I have a lot of configuration management sins from earlier in my life to atone for, so I want to do right. But in all seriousness, I find the problem statement compelling: miek.nl/2022/november/15/provi.

Happy hacking!

% stat <file>

Birth: 2022-11-24 14:06:32.415338146 +0100

BIrth??? Since when is that tracked
(ext4 fs)

FUSE gives you such a powerful feeling.... Stand aside you ext2/3/4, XFS amateurs, here comes hobby FS

I'm in the process of looking for a write once filesystem. Open a file, write, close and now it's immutable. Does such a thing exist?aube as overlay or fuse (overlay)?

You can bind mount a single file in Linux... Makes sense, but was unexpected that would just work

Optimist: The glass is ½ full.
Pessimist: The glass is ½ empty.
Excel: The glass is January 2nd.

I regret nothing

ssh.Handle(func(s ssh.Session) {
if len(s.Command()) == 0 {
io.WriteString(s, http.StatusText(http.StatusBadRequest))
s.Exit(http.StatusBadRequest)
return
}
....

With the Twitter reinstatement of the former US President who attempted to incite a fascist coup after losing an election, now would _really_ be a good time to stop cross-posting your Twitter RTs here.

If you feel that cross-posting is the only way to maintain a presence here, please consider limiting it to original posts without mentions or RTs, to avoid cluttering timelines with Twitter URLs. Thank you kindly for your consideration.

github.com/miekg/gitopper is feature complete, I just added a way to bootstrap the whole thing.
It's amazing simple still considering what you can do with it

The last developers at Twitter are the guys who can’t leave easily because of work visas.

sending yourself a HUP signal in Go

done := make(chan os.Signal, 1)
signal.Notify(done, syscall.SIGHUP)
log.Info("Config change detected, sending SIGHUP")
done <- syscall.SIGHUP

ugly..., but robust enough - I think

Show older
mastodon.cloud

Everyone is welcome as long as you follow our code of conduct! Thank you. Mastodon.cloud is maintained by Sujitech, LLC.