prologic

twtxt.net

"Problems are Solved by Method" 🇦🇺👨‍💻👨‍🦯🏹♔ 🏓⚯ 👨‍👩‍👧‍👧🛥 -- James Mills (operator of twtxt.net / creator of Yarn.social 🧶)

Recent twts from prologic
In-reply-to » Buenas noches, no entiendo la relación entre TWTXT y YARM.SOCIAL ?? ---> Lo que me gustaría hacer es instalar en un servidor un POD de YARM.SOCIAL

@darch technically it’s the interchange format, the protocol is actually HTP

⤋ Read More
In-reply-to » hi guys. I am trying to solve the following problem in Go: I have a go template that just uses {{.Body}} or {{printed "%s" .Body}} for output. on the go side I am using templates.ExecuteTemplate(w,"view.html",data) as input. the data.Body is a []byte which contains valid HTML. The problem is, in the browser, or the templates.Execute only send escaped text to the browser. But it should not so I can create html on the server side

@carsten@yarn.zn80.net Yup

⤋ Read More
In-reply-to » hi guys. I am trying to solve the following problem in Go: I have a go template that just uses {{.Body}} or {{printed "%s" .Body}} for output. on the go side I am using templates.ExecuteTemplate(w,"view.html",data) as input. the data.Body is a []byte which contains valid HTML. The problem is, in the browser, or the templates.Execute only send escaped text to the browser. But it should not so I can create html on the server side

@carsten@yarn.zn80.net You want to use template.HTML in this case, to mark the “HTML” as safe to render as-is without escaping it. This is by design and for security. If you know your input is safe, then use this instead of a string

⤋ Read More
In-reply-to » A Linux custom OS/distro that can be booted in under ~100ms Hmmm 🤔 Intrigued? 🤔

@mckinley Close, based on some of the work of uLinux 😅 – Still working on it, haven’t opened up the repo yet, but needless the init is basically entirely written in Go (with a few exceptions, like I’m using mdev from busybox, haven’t figured out how to replace that yet).

⤋ Read More
In-reply-to » Don't forget, weekly video call coming up soon at 0500 (UTC)

@mckinley Actually, I’m really sorry about this. But I think I’m going to have to pull out. I blame myself, I was up till 3am last night working on something (shhh 🤫) and I got up late. We have friends over today so that’s going to collide 😅 You guys however can host a call (it’s a community thing anyway) and have a video Yarn and post what y’all talked about 🤗

⤋ Read More