Profile for nikita

Header for nikita
Display name
nikita
Username
@nikita@raum.klang.is
Role
admin

About nikita

Fields

open source personal patreon
https://patreon.com/nikkicoon
Festival Crowdfunding Campaign
https://gofund.me/cb27f01e

Bio

a little bit of everything, skills, jobs and interests all over the place with some intersections.
orga at platzhirsch festival

Stats

Joined
Posts
11341
Followed by
70
Following
93

Recent posts

is there something similar to ReplaceAllStringFunc for golang's regexp which takes fn(string,string) so that I can strings.trimSuffix(s, "::") or is there a more generalized way how I can get this:
re := regexp.MustCompile("(?m)^[^#][a-zA-Z]+::")
re.ReplaceAllString(s, *re, but with one of the trailing double collons removed*)

Open thread at this post

if your hostname(1) doesn't have -f (for fully qualified domain name), how do you get the fqdn?
os.Hostname() in golang would return the hostname as reported by the kernel.

package main

import (
"fmt"
"os"
)

func main() {
n, _ := os.Hostname()
fmt.Println(n)
}

-> results in: rhun

hostname -f
-> results in: rhun.klang.is

I've written a wrapper function for hostname -f, but there seems to be no go native way to get the fqdn without a lot of annoyance involved

Open thread at this post

Ich glaube mir folgen hier nicht so viele aus der Gegend, aber:

unsere Konzert von Trio LDL am Mittwoch und Jessica Moss am Donnerstag (beides in der Säule, Duisburg) haben nicht so viele Tickets im VVK verkauft. Viele andere Veranstalter sagen die Konzerte deswegen ab. Wir haben uns scheinbar entschlossen die Konzerte auf freier Eintritt zu ändern, Spenden wären trotzdem gut.

Open thread at this post

speaking of bands, do you know any bands from Germany (or even world wide) which play interesting variations of doom metal (ideally: not a lineup full of men)? asking for a smaller doom metal festival.

I've gathered some regional and outside of this region, but I'm happy for new recommendations (also I just love listening to new music)

Open thread at this post

I added a first way to process zig.build.zon files (for zig packages with dependencies) for pkgsrc, it works for zls (regardless of chroot'ed installs of zig being broken right now in pkgsrc).
To be solved: website independent, no name field other than "$foo = .{ .... }," where "$foo" is the name, so no easy way to extract a name for a distfile to save in distfiles - doubtful if it works in a chroot.

#pkgsrc #zig #netbsd

Open thread at this post