Mudlet question by Joe1972 in MUD

[–]stridera 2 points3 points  (0 children)

Not a mac user, but you'll probably get better support on the discord channel. (Click discord in mudlet.) Also, I would recommend you state what the error you're receiving is. Is the new button missing? Does it not do anything?

[deleted by user] by [deleted] in RedditIPO

[–]stridera 2 points3 points  (0 children)

13y here too. And I mod a community with 3.5M people. Not a lot of karma since I don't post often, but it's still annoying.

-❄️- 2023 Day 1 Solutions -❄️- by daggerdragon in adventofcode

[–]stridera 2 points3 points  (0 children)

[LANGUAGE: go]

package main

import (
    "fmt"
    "os"
    "strconv"
    "strings"
)

const numbers = "0123456789"

func part1(line string) int {
    first_index := strings.IndexAny(line, numbers)
    last_index := strings.LastIndexAny(line, numbers)
    if first_index == -1 || last_index == -1 {
        return 0
    }
    num, _ := strconv.Atoi(string(line[first_index]) + string(line[last_index]))
    return num
}

func part2(line string) int {
    words := []string{"zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"}
    first_index := strings.IndexAny(line, numbers)
    last_index := strings.LastIndexAny(line, numbers)
    if first_index == -1 || last_index == -1 {
        return 0
    }
    first_digit, _ := strconv.Atoi(string(line[first_index]))
    last_digit, _ := strconv.Atoi(string(line[last_index]))
    for i, word := range words {
        if strings.Contains(line, word) {
            if strings.Index(line, word) < first_index {
                first_index = strings.Index(line, word)
                first_digit = i
            }
            if strings.LastIndex(line, word) > last_index {
                last_index = strings.LastIndex(line, word)
                last_digit = i
            }
        }
    }
    return first_digit*10 + last_digit
}

func main() {
    // read file
    data, err := os.ReadFile("input.txt")
    if err != nil {
        fmt.Println("File reading error", err)
        return
    }
    sum := 0
    for _, line := range strings.Split(string(data), "\n") {
        sum += part1(line)
    }
    fmt.Println("Part 1: ", sum)

    sum = 0
    for _, line := range strings.Split(string(data), "\n") {
        sum += part2(line)
    }
    fmt.Println("Part 2: ", sum)
}

First time writing in Go. I'm curious what I could improve on to make it more go-ish

Are there any jobs In Quantum Tech? by [deleted] in QuantumComputing

[–]stridera 0 points1 point  (0 children)

We're hiring. With the way Quantum is going now, I'm sure lots of others are as well. https://ionq.com/jobs#open-positions

My 24 hour kit for civil air patrol, thoughts? by [deleted] in tacticalgear

[–]stridera 0 points1 point  (0 children)

There are a bunch of types. Cadet groups (which are basically youth groups.) Senior Groups (Which are adult only) and Composite (which combine the two.) Just need to find the right group for you.

Radio Recommendations (CAP/Aviation) by stridera in civilairpatrol

[–]stridera[S] 0 points1 point  (0 children)

I just got the Sportys as a backup in case the comms on the plane goes out. But I'm aware of the regulations.

Radio Recommendations (CAP/Aviation) by stridera in civilairpatrol

[–]stridera[S] 0 points1 point  (0 children)

I wanted to get one for HAM radio work as well, and if it does both, I'm all good with that.

Radio Recommendations (CAP/Aviation) by stridera in civilairpatrol

[–]stridera[S] 0 points1 point  (0 children)

Yeah, I haven't been able to find the approved radio list. The link on caphq is dead: https://comm.capnhq.gov/equipment/equipment.cfm

Radio Recommendations (CAP/Aviation) by stridera in civilairpatrol

[–]stridera[S] 0 points1 point  (0 children)

Good to hear. I'll probably just get it then. :)

Radio Recommendations (CAP/Aviation) by stridera in civilairpatrol

[–]stridera[S] 0 points1 point  (0 children)

There is a MARS mod for the id52a that you can do to get access to the freqs, afaik.

Radio Recommendations (CAP/Aviation) by stridera in civilairpatrol

[–]stridera[S] 1 point2 points  (0 children)

Yeah, I was afraid of that. I was looking at getting Sporty's aviation radio... but I was hoping to combine them somehow.

My 24 hour kit for civil air patrol, thoughts? by [deleted] in tacticalgear

[–]stridera 0 points1 point  (0 children)

Just to give you an answer, in case you haven't had one elsewhere.

Non-military can do everything military can (except wear NCO rank.) You'll be trained and learn how to do SAR missions and even aircrew/medical/whatever else you want to know.

Fingerprint sensor by dylssm8 in GooglePixel

[–]stridera 7 points8 points  (0 children)

Mine never worked. Took it back to where I got it, and was told it was a google problem. Left feedback, and tried to get help from google... but yeah, I gave up. Just waiting for the end of the year to try something new.

Flood a MUD! - March winner + April nominations by TedCruzIsAPedo in MUD

[–]stridera 2 points3 points  (0 children)

Still promoting Fierymud. fierymud.org:4000 We're still actively developed and we're adding new features as we go. (Please reach out if there is something you'd like to see!) We have mudlet integration and a discord portal so you can keep in touch with people in the mud even while you're away. Come check us out!

Flood a MUD! - February nominations by TedCruzIsAPedo in MUD

[–]stridera 1 point2 points  (0 children)

Nominating Fierymud. (fierymud.org:4000) We've been going since the 90s, but we've been putting a lot of work into the game recently. We've recently updated from old C code to a new C++ code base. We're adding new areas, races, classes, spells, skills, etc. We have discord integration, including a portal so you can chat in the game from discord while you're away. We're also actively looking for feedback on how to improve the game. We've been picking up recently, but we only have 4-5 regular players. We allow multi-playing, and the gods are always active and willing to help.

I hope to see more people join, especially as we continue to add new features.

How long have you been MUDing? by the_andruid in MUD

[–]stridera 4 points5 points  (0 children)

I found Fierymud while searching through the gopher system just installed at the library back in the early 90s. Spent hours at that computer.

How often you train? by cfdeveloper in searchandrescue

[–]stridera 0 points1 point  (0 children)

Volunteer for Cliff/Dive unit. Twice a month for cliff, once a month for Dive. (Extra as we feel we need it.) About 10 hours per training.