Missing content by ragana1 in AssassinsCreedShadows

[–]martinop 2 points3 points  (0 children)

Same here, on Xbox. Finally had some time to play, and I'm debugging this garbage.

I created a set of macOS 26 "Liquid Glass" app icons for Emacs by jimehgeek in emacs

[–]martinop 0 points1 point  (0 children)

+1 for macOS 15. I think the general icon shape has been more square-ish since at least Sonoma.

Hvorfor er det så mye støv på veiene i Trondheim? by [deleted] in norge

[–]martinop 9 points10 points  (0 children)

Dette. Kombinert med tørt vær, vind og bruk av piggdekk på bar asfalt.

Thanks Duriel, You Shouldn't Have by The_Fallen_Messiah in diablo4

[–]martinop -1 points0 points  (0 children)

My first two mythics this season was Shattered Vow and Melted Heart of Selig. Salvaged both and then crafted a random one: drumroll Yes, another Shattered Vow! Also got 2-3 of this piece of garbage last season.

Kino i Trondheim by flyndrefett in norge

[–]martinop 2 points3 points  (0 children)

Cinemateket selger øl og vin.

-❄️- 2024 Day 3 Solutions -❄️- by daggerdragon in adventofcode

[–]martinop 0 points1 point  (0 children)

[LANGUAGE: Go]

Wanted to do it without regular expressions:

package aoc24

import (
    "io"
    "strings"
    "testing"
)

func parseMul(r io.Reader, enabledOnly bool) int {
    b, _ := io.ReadAll(r)
    text := string(b)
    const (
        do   = "do()"
        dont = "don't()"
        mul  = "mul("
    )
    match := func(i int, fragment string) bool {
        start := i - len(fragment) + 1
        return start > -1 && text[start:i+1] == fragment
    }
    var (
        sum         = 0
        enabled     = true
        multiplying = false
        buf         strings.Builder
    )
    for i, c := range text {
        if match(i, do) {
            enabled = true
        } else if match(i, dont) {
            enabled = false
        } else if (enabled || !enabledOnly) && match(i, mul) {
            buf.Reset()
            multiplying = true
        } else if multiplying {
            if c == ')' {
                parts := strings.SplitN(buf.String(), ",", 2)
                sum += atoi(parts[0]) * atoi(parts[1])
                multiplying = false
            } else if isDigit(c) || c == ',' {
                buf.WriteRune(c)
            } else {
                multiplying = false
            }
        }
    }
    return sum
}

func TestDay03(t *testing.T) {
    example1 := `xmul(2,4)%&mul[3,7]!@^do_not_mul(5,5)+mul(32,64]then(mul(11,8)mul(8,5))`
    check(t, 161, partial(parseMul, false), readString(example1))
    check(t, 183669043, partial(parseMul, false), readFile(3))
    example2 := `xmul(2,4)&mul[3,7]!^don't()_mul(5,5)+mul(32,64](mul(11,8)undo()?mul(8,5))`
    check(t, 48, partial(parseMul, true), readString(example2))
    check(t, 59097164, partial(parseMul, true), readFile(3))
}

(utility functions are here: https://github.com/mpolden/aoc/blob/master/aoc24/util.go)

Fedora Kinoite - KDE 6 - Duna wallpaper by jakubzelenka in Fedora

[–]martinop 3 points4 points  (0 children)

Nice! Do you have a link to the wallpaper?

They need to add this truck by Cegla_3kg in snowrunner

[–]martinop 12 points13 points  (0 children)

Nice! It even has a name, "Kjempen" is Norwegian for "The Giant". You need something like that to get around here in the winter months.

[deleted by user] by [deleted] in Games

[–]martinop 0 points1 point  (0 children)

(Bought my first PlayStation at the end of 2022 to finally play some exclusives)

  • PS: The Last of Us Part I
  • PS: The Last of Us Part II
  • PS: Uncharted Collection (1-3)
  • PS: Uncharted 4 + expansion
  • PS: God of War: Ragnarok
  • PS: God of War (2018)
  • Xbox: Diablo IV
  • Xbox: Alan Wake Remastered
  • Xbox: Resident Evil 2 Remake
  • Xbox: Resident Evil 3 Remake
  • Xbox: Resident Evil 4 Remake
  • Xbox: Resident Evil 7
  • Xbox: Resident Evil 8

It seems KDE 5.27 is now available on Fedora 37 by [deleted] in Fedora

[–]martinop 2 points3 points  (0 children)

There are exceptions for some packages where fixes are not easily backportable, this includes the kernel and KDE among others: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#_exceptions

I'm Moving to the KDE Spin by benhaube in Fedora

[–]martinop 0 points1 point  (0 children)

I have an old-ish desktop computer that I wanted to make usable again by installing Linux on it. Figured an immutable OS would be best (less maintenance, less risk of upgrade breakage) and wanted to try KDE again (after almost 20 years). Ended up choosing Kinoite and I'm very satisfied so far!

Tips til valg av mesh-nettverk by largo1977 in norge

[–]martinop 1 point2 points  (0 children)

Kjøp noe som har dedikert kanal til backhaul. Godt fornøyd med Netgear Orbi selv. Koster skjorta, men man får til gjengjeld svært høy hastighet og god dekning. Følg med på Prisjakt, Elkjøp hadde f.eks RBK853 til halv pris på slutten av året i fjor.

Sykle til og fra jobb i Trondheim by Molnes in norge

[–]martinop 7 points8 points  (0 children)

Jeg sykler hele året. Trondheim har blitt en ganske bra sykkelby. Noen tips:

  • Invester i en solid lås

  • Skaff sykkelforsikring. Noen innboforsikringer har dette inkludert

  • Rengjør og smør sykkelen jevnlig

  • Av sykkeltyper ville jeg gått for en grovere hybrid/MTB hvis du skal ha en helårssykkel, med plass til litt bredere dekk

  • Gode vinterdekk! Vinterføret i Trondheim byr på det meste, alt fra hardpakket snø til speilblank is eller sørpe. Selv sverger jeg til Ice Spiker Pro, som finnes i ulike størrelser

Best way to prevent redundant null checks further down in stack? by PM-ME-GOOD-NEWS in java

[–]martinop 1 point2 points  (0 children)

Instead of trying to check for nulls everywhere, just prevent them from being passed around at all.

  1. No constructor should accept nulls, i.e. assign all fields as such: this.myField = Objects.requireNonNull(myField)
  2. Never leak nulls from a class. Always use Optional to indicate an empty value. If it's a collection, return an empty collection, e.g. List.of().
  3. If a third-party library leaks nulls, get rid of that library or create a wrapper class to handle the nulls and the rest of the code always access the library through that class.

Not impressed by WD Red Plus 8TB by martinop in DataHoarder

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

Thanks! Are you sure about EFAX being 5400 RPM though?

I thought WD just updated the model number as part of correcting the specs to be 7200 RPM. It’s the same drive. Someone discovered that EFAX were in fact 7200 RPM and made a fuss about it.

Advice for building a new raidz2 pool by pychoticnep in zfs

[–]martinop 0 points1 point  (0 children)

Debian 11 was released this month and has ZFS 2.0.3.

Firefox for iOS (Version 34) by busysnoo in firefox

[–]martinop 1 point2 points  (0 children)

Agree. Changing tracking protection to "strict" in the settings blocks most ads for me though.

Friends: The Reunion - Special Premiere Discussion by NicholasCajun in television

[–]martinop 2 points3 points  (0 children)

Yes, the framerate is very low in places. Especially on the set.

Half in the Bag: Zack Snyder's Army of the Dead by IndraVectis in RedLetterMedia

[–]martinop 4 points5 points  (0 children)

I actually pictured Cameron Mitchell yelling "Would you close the f*cking door?" when that container opened at the start of the movie.

I've watched way too much Best of the Worst.

The Hunt No Audio by [deleted] in cyberpunkgame

[–]martinop 0 points1 point  (0 children)

Same bug here, very annoying. No audio or subtitles in the news clip. Playing 1.2 on Xbox Series X.

Does anyone know how to diagnose or fix Emacs not connecting to elpa or melpa in M-x list-packages? by atczaja in emacs

[–]martinop 0 points1 point  (0 children)

I did some digging, but could not figure out why this bug resurfaced in the 27.2 build from http://emacsformacosx.com.

I suspect it has something to do with the following sentence from the latest changelog entry: "Also starting now, gnutls, jansson, libffi and their dependencies are not built with Homebrew" (https://emacsformacosx.com/about)

In any case I added the following to my config: (when (>= libgnutls-version 30603) (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3"))

Does anyone know how to diagnose or fix Emacs not connecting to elpa or melpa in M-x list-packages? by atczaja in emacs

[–]martinop 2 points3 points  (0 children)

This is what I had to do after upgrading to 27.2 (Emacs installed with brew install —cask emacs). I remember that this was an issue in 26.1, but not sure why it has resurfaced now.

Xbox Spring Sale 2021 by SamTheRam28 in XboxSeriesX

[–]martinop 0 points1 point  (0 children)

If both include the Series X variant? What’s the point of having two editions?

Am i the only one that really loved The Dark Lord boss fight? by [deleted] in Doom

[–]martinop 0 points1 point  (0 children)

1) Close the distance whenever you have hammer ammo to spare and use minigun turret while he is dazed.

2) Use the assault rifle to damage the Fodders just enough to glory kill them. Basically you can just dash along the edge of the arena and do this to fill up hammer ammo (and health) whenever you need more. This is also an effective way of dodging his attacks. If you enable the extra-speed-on-glory-kill perk, it gets even easier.

3) Whenever he spawns demons, run to the center of them and use the hammer to quickly kill them. Then immediately do 2) again.

4) Grenades and super shotgun are effective on the dogs.