novaburst

twt.nfld.uk

No description provided.

Recent twts from novaburst
In-reply-to » @jlj which peercalls variant you host on nfld, the original one in jabba the hutt script or prologic's rewrite?

@jlj@twt.nfld.uk I don’t usually bother with anything heavily involving a web browser besides misskey/yarn/nixers so not really

also either implementation is really really picky about web browsers (I presume it prefers firefox or chrome)

⤋ Read More
In-reply-to »

/*
   This is a silly nofetch(1) reimplementation in Go.
   Where most information is provided by yourself!
   i.e. OS, ARCH, HOSTNAME
*/

package main

import (
        "fmt"
        "os"
)

func main() {
        fmt.Printf("User: %s (%d) \n",os.Getenv("USER") ,os.Getuid())
        fmt.Printf("Editor: %s \n", os.Getenv("EDITOR"))
        fmt.Printf("Operating System: %s \n", os.Getenv("OS"))
        fmt.Printf("Architecture: %s \n", os.Getenv("ARCH"))
        fmt.Printf("Hostname: %s \n", os.Getenv("HOSTNAME"))
        fmt.Printf("Shell: %s \n", os.Getenv("SHELL"))
}

⤋ Read More

akoizumi@mizuki: /usr/home/akoizumi OS=$(uname -sr) ARCH=$(uname -m) HOSTNAME=$(hostname) go run nofetch.go
User: akoizumi (1001) 
Editor: emux 
Operating System: FreeBSD 13.0-RELEASE-p6 
Architecture: amd64 
Hostname: mizuki 
Shell: /bin/sh 

⤋ Read More
In-reply-to » Oracle Java Popularity Sliding, Reports New Relic InfoWorld reports that "While still the industry's leading Java distribution, Oracle Java's popularity is half what it was just two years ago, according to a report from application monitoring company New Relic." (With the usual caveat that data from New Relic's report "was drawn entirely from applications reporting to New Relic in January 2022 and does not provide a glo ... ⌘ Read more

@prologic@twtxt.net
Three billion devices suffer!
Java, #3 masochism platform

(#1 is JS, #2 is C#)

⤋ Read More
In-reply-to » RT by @mind_booster: Fun conversation with @creativecommons about our All The Music project, #copyright building blocks, #music, #creativity, #melodies, @GeorgeHarrison, @katyperry, @ledzeppelin, @edsheeran, and how all musicians stand on the shoulders of prior musical giants. https://anchor.fm/creativecommons/episodes/Damien-Riehl--Noah-Rubin-of-All-The-Music-e1i2d86 Fun conversation with @creativecommons about our All The Music project, [#copyright]( ... ⌘ Read more

@prologic@twtxt.net “retweet” in twitter slang, “boost” in mastodon slang

⤋ Read More
In-reply-to » ```

here’s a basic sketch in Go

package main                                                                                                                                                
                                                                                                                                                            
import (                                                                                                                                                    
        "flag"                                                                                                                                              
        "fmt"                                                                                                                                               
        "os"                                                                                                                                                
)                                                                                                                                                           
                                                                                                                                                            
var (                                                                                                                                                       
        kill = flag.String("k", "", "stop a unit")                                                                                                          
        restart = flag.String("r", "", "restart a unit")                                                                                                    
        start = flag.String("s", "", "start a unit")                                                                                                        
)                                                                                                                                                           
                                                                                                                                                            
main() {                                                                                                                                                    
        flag.Parse()                                                                                                                                        
        if flag.NArg() == 0 {                                                                                                                               
                fmt.Fprintf(os.Stderr, "Usage: svc [options] [service] \n")                                                                                 
                flag.PrintDefaults()                                                                                                                        
                os.Exit(1)                                                                                                                                  
        }                                                                                                                                                   
}

⤋ Read More

#!/bin/sh
set -e

svcdir="${svcdir:-$HOME/.svc}"
PATH="$PATH:$svcdir"

[ -d ${svcdir} ] || mkdir -p ${svcdir}
cd ${svcdir} || exit 1

fn_usage() {
    printf "Usage: %s [ -k | -r | -s ] \n" "$(basename "$0")"
}
if_exec() {
    if ! [ $(stat -l ${2} | awk '{print $1}') = "-rwxr-xr-x" ];then
        printf "%s: %s is not executable \n" "$(basename "$0")" "$2"
    fi
}
case $1 in
    -k)
        if_exec ${2}
        ${2} ${1}
        ;;
    -r)
        if_exec ${2}
        ${2} ${1}
        ;;
    -s)
        if_exec ${2}
        ${2} ${1}
        ;;
esac

⤋ Read More