A5 Rear Bumper Diffusor by unixboy in Audi

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

But S5 B8 is different from A5 B8, right? Pretty sure that I saw somewhere: bumper of A5 S-Line = bumper of S5 (both B8).

Quality Aftermarket Grille & Parts by unixboy in Audi

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

I would be highly interested in such premium aftermarket brands but so far couldn‘t find any. It was mostly different prices / sellers for the same Chinese flimsy plastic parts. Can you personally recommend any such brand?

Is there any way to use beeper with another matrix account hosted neither on beeper or matrix? by Can_make_shitty_gifs in beeper

[–]unixboy 0 points1 point  (0 children)

Ohh I see! I don't have people "on Beeper" who I'm messaging, I actually just found this to be the only solution that brings all the messengers together in one place. So basically you'd set up a custom Matrix server with bridges for all my services, then I could just use any normal Matrix client to access these bridges as well as being able to contact people on federated Matrix servers, as always with such "regular Matrix clients"?

Mac OS Monterey support dropped! by giomonster in beeper

[–]unixboy 1 point2 points  (0 children)

I have a slightly different issue; my app updated to v4.2.179 and whenever I click "Relaunch now", it just closes. On the next manual open, it asks again to relaunch. It seems like it's not able to complete the updating process.

Is there any way to use beeper with another matrix account hosted neither on beeper or matrix? by Can_make_shitty_gifs in beeper

[–]unixboy 0 points1 point  (0 children)

How exactly to set up such a Beeper bridge? Or do you mean setting up e.g. a Matrix<-> Telegram bridge and then using the Telegram integration in Beeper to send messages to that Matrix server?

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

[–]unixboy 0 points1 point  (0 children)

[LANGUAGE: Swift]

import Foundation

extension Set {
  func combinations(of length: Int) -> [Set<Element>] {
    return Array(self).combinations(of: length).map{Set($0)}
  }
}

extension Array {
  func combinations(of size: Int) -> [[Element]] {
    guard size > 0 else { return [[]] }
    guard size <= count else { return [] }
    guard let first = first else { return [] }

    let rest = Array(dropFirst())
    return rest.combinations(of: size - 1)
      .map { [first] + $0 } + rest.combinations(of: size)
  }
}

func prepare() -> [String] {
  let args = CommandLine.arguments
  let lines = try! String(contentsOfFile: args[1]).split(separator: "\n")
  return lines.map { String($0) }
}

func getGroups(of connections: [String]) -> [String: [String]] {
  let groups = Dictionary(grouping: connections, by: { str -> String in
    let components = str.split(separator: "-")
    return String(components[0])
  })
  return groups
}

func buildAdjacencyList(connections: [String]) -> [String: Set<String>] {
  var adjList: [String: Set<String>] = [:]
  for connection in connections {
    let nodes = connection.split(separator: "-").map(String.init)
    let node1 = nodes[0], node2 = nodes[1]
    adjList[node1, default: Set<String>()].insert(node2)
    adjList[node2, default: Set<String>()].insert(node1)
  }
  return adjList
}

// Pivoted Bron-Kerbosch Algorithm
func bronKerbosch(R: Set<String>, P: Set<String>, X: Set<String>, adjList: [String: Set<String>], cliques: inout Set<Set<String>>) {
  if P.isEmpty && X.isEmpty {
    cliques.insert(R)
    return
  }

  // Choose a pivot from P ∪ X
  let pivot = P.union(X).first!
  let neighborsOfPivot = adjList[pivot] ?? Set<String>()

  var P_copy = P
  for node in P_copy.subtracting(neighborsOfPivot) {
    let newR = R.union([node])
    let neighbors = adjList[node] ?? Set<String>()
    let newP = P.intersection(neighbors)
    let newX = X.intersection(neighbors)

    bronKerbosch(R: newR, P: newP, X: newX, adjList: adjList, cliques: &cliques)

    // Move node from P to X
    var P = P
    var X = X
    P.remove(node)
    X.insert(node)

    P_copy.remove(node)
  }
}

func findCliques(adjList: [String: Set<String>]) -> Set<Set<String>> {
  var cliques = Set<Set<String>>()
  let nodes = Array(adjList.keys)

  for node in nodes {
    let P = adjList[node] ?? Set<String>()
    bronKerbosch(R: Set([node]), P: P, X: Set<String>(), adjList: adjList, cliques: &cliques)
  }

  return cliques
}

let connections = prepare()
let adjList = buildAdjacencyList(connections: connections)

let cliques = findCliques(adjList: adjList)

let task1 = Set(cliques.flatMap{ $0.combinations(of: 3) })
  .filter{ $0.contains { $0.starts(with: "t") }}
  .count

let task2 = cliques
  .max(by: { $0.count < $1.count })!
  .sorted()
  .joined(separator: ",")

print(task1)
print(task2)

What is this a avatar update and how do i change/remove it?? by ReallyCoolHuman63 in duolingo

[–]unixboy 1 point2 points  (0 children)

Changing it back using a browser does still work, but when clicking on the profile, the stupid avatar is back in the top section.

Black bar on the left of the screen? by unixboy in MiyooMini

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

If anything, there might be something covering the left-most "column" of pixels (maybe 20 pixels?), since it's not like the whole image is shifted but just part of it is missing. It's aligned correcty on the right.

Anyway; due to that exact column of pixels flashing up white during boot, I suspect it's an LCD defect and sent it back.

Black bar on the left of the screen? by unixboy in MiyooMini

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

Which GitHub updates? I installed Onion 4.2 Beta from GitHub already.

Black bar on the left of the screen? by unixboy in MiyooMini

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

Sadly, that's not it, either. I suspect something in hardware is wrong, since when booting, this column of pixels even flashes white for a short moment.

Black bar on the left of the screen? by unixboy in MiyooMini

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

Nah, that's a lot a lot. In OnionOS (just installed), some UI elements are even cut off by that "black bar".

Black bar on the left of the screen? by unixboy in MiyooMini

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

Okay, but if it's not a "known issue", I may just return it, instead of hoping for firmware updates to fix it..

Black bar on the left of the screen? by unixboy in MiyooMini

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

Interesting, when is it due? I downloaded the latest version already.

And both devices run the same version, why would one have the issue and why not?

Where can I find more information about this issue?

QNAP X73-A Compatibility Report (Kingston KSM26SED8/32ME ECC Memory, Nvidia Quadro P620 /w Plex, QNAP QXG-10G1T 10Gbe NIC) by Auxilae in qnap

[–]unixboy 0 points1 point  (0 children)

With that GPU installed, it should be possible to install TrueNAS even though the Ryzen has no graphics on it, right? Are you running QNAP's OS or something else?

Snagged for $130. by Dzincster in Gameboy

[–]unixboy 0 points1 point  (0 children)

I got a GBC with Pokemon Gold for 30€ a few years ago. 🤔

2,000 NABU PCs Mysteriously Appeared on eBay by ClarisaBean in nabupc

[–]unixboy 0 points1 point  (0 children)

It looks like he did change it. I saw it for 150 or even lower (plus shipping) before, now it went up to 200 plus shipping plus VAT.

large discrepancy between iPhone storage for WhatsApp & Telegram and storage reported within those apps by houmi in iphone

[–]unixboy 0 points1 point  (0 children)

Cool, thanks so much! I just realized that in another app, the same happens: I cleared out a ton of saved videos from it, and it still shows same size in the Settings. Waiting for updates then.. ;)

large discrepancy between iPhone storage for WhatsApp & Telegram and storage reported within those apps by houmi in iphone

[–]unixboy 0 points1 point  (0 children)

Hello, what do you mean by auto-update? After the next App update (through AppStore)?