20 random bookmarks
Bookmarks and whatnot. Закладки и всякое.
Bookmarks and whatnot. Закладки и всякое.
Using NetBSD and proxied by a Caddy installation somewhere else. No caching. Works well for some reason. A cheap VPS is still cheaper than what the author pays for electricity for this setup though, despite them saying otherwise.
Давайте посмотрим на историю и устройство Palm OS, а также поговорим о философии дизайна ПО Palm и его наследии
Do not provide too many choices in your interface. The author talks about user interface, but I think it also applies to programming interfaces. I try to follow this principle.
ntfy is a simple HTTP-based pub-sub notification service. It allows you to send notifications to your phone or desktop via scripts from any computer, and/or using a REST API.
curl \
-d "Backup successful 😀" \
ntfy.sh/mytopic
Free notifications!
UPD. Used it in my SystemD service files to notify me of service restarts. It was extremely easy to do so. Will use it for now, until I migrate to a proper monitoring system.
Runs on Cardigan Bay. Has a long history
A difficult part of technology instruction is not that things are unknowable, but that no one is ever starting at the beginning, not in 2024.
Stamen's toner map style is lovingly crafted and free for the taking.
A good snippet. I used it at work.
func track(name string) func() {
start := time.Now()
return func() {
log.Printf("%s, execution time %s\n", name, time.Since(start))
}
}
func main() {
defer track("main")() // do not forget about the second parentheses
time.Sleep(2 * time.Second)
}
Realtime personal pages
The specs.
HTML for email is probably the hardest code to write. Even a teeny-tiny deviation from the rules will break the email in untold combination of os/desktop/mobile clients.
It's mid 2024. Almost 50 years since email was invented and 35 years since HTML was born. A 'basic-open-source-HTML-email-designer' must be a solved problem, right? We thought so too.
Sadly, that's not the case.
There are a few decent open source email designers but they carry dependencies that make them cumbersome to embed within your app. That's why we decided to open source our HTML Email Designer.
The SENDUNE email designer focuses on simplicity and ease of use. It is light-weight. It does pure HTML - no intermediate code wranglers like mjml. There is no lock-in of any kind. Save HTML output as a template and use with ANY email service provider.
The
<model>element will provide a way to easily present 3D content in a web page without any scripting. Just like with<img>and<video>, HTML makes it possible for<model>to work in a robust and simple manner across web browsers on any platform. Model is still undergoing specification and is subject to change, but we expect it will work like this:<modelsrc="asset/example-3d-model"width="400"height="300"></model>
New WebKit brings easy 3D-models to web.
Tedu wrote a tool that lets you handle errors in Go like this:
func decomp(filename string) ([]byte, error) {
fd := ^os.Open(filename)
defer fd.Close()
zd := ^gzip.NewReader(fd)
data := ^io.ReadAll(zd)
return data, nil
}
Funky!
Whenever I explain my research at Google into mobile text editing, I’m usually met with blank stares or a slightly hostile “Everyone can edit text on their phones, right? What’s the problem?”
Essays from the htmx developers. I'm sure you'll like them.
It might be worth to prepare your data for a big electric spark. The spark is unlikely, but still. Your safest bets are discs and paper, the two optical storage media.
TL;DR: Alpine is boring, this is good.
Recently I've had an issue with Alpine, which I had to resolve with some workaround from GitHub issues. But otherwise it's boring yeah. Cool. One day I'll use it on all of my servers! For now, I only use it on CI.
Edbrowse, a text based editor browser.
This compressed JSON file (better than XML, right?) would be a well-known path for every site, like “/.well-known/index.json.xz”. It lists all the pages on your domain, and their keywords.