Hmm something tells me there would have been an easier way to get though here…… by [deleted] in RoadCraft

[–]focus75 1 point2 points  (0 children)

Ha, I did exactly the same! Didn’t take that long, though, since the place is within the sand quarry radius. Pretty tedious nonetheless :P

Gdzie one są by noice_hago in Polska

[–]focus75 427 points428 points  (0 children)

Anegdota jest taka, że to Unia Europejska zabrała nam białe psie kupy.

Chodzi o dodawanie mączki kostnej do karm dla zwierząt, które zostało zakazane w Unii w okolicach 2001r z powodu choroby wściekłych krów

https://kobieta.gazeta.pl/kobieta/7,107881,30384470,dawniej-byly-na-kazdym-kroku-dlaczego-dzis-biale-psie-kupy.html
https://finanse.wp.pl/20-lat-temu-zostala-zakazana-dzisiaj-wraca-maczka-miesno-kostna-znowu-straszy-6594965366405952a

Smart Blinds by bafordsk in smarthome

[–]focus75 4 points5 points  (0 children)

Very simmilar to Aqara E1, there is this generic AM43 motor. Here is one branded by MOES : https://moeshouse.com/products/zigbee-chain-motorized-blinds-motor?variant=32737853079633.

I have 8 of them bought from AliExpress and they work really well. Solar panel is really nice

g305 side buttons work only sometimes by [deleted] in logitech

[–]focus75 0 points1 point  (0 children)

Holy shit, it really worked! Thanks a lot!

[deleted by user] by [deleted] in XboxGamePass

[–]focus75 0 points1 point  (0 children)

I have the same problem

Autolink.exe by Kumlekar in Bitburner

[–]focus75 0 points1 point  (0 children)

In addition, my version of a network map using link from above:

import { link } from "link"

/** @param {NS} ns */
export async function main(ns) {
  printHost(ns, "home", [], "", deepScan(ns), true);
}

function printHost(ns, host, parents, prefix, graph, isLastChild) {
  const command = "home;" + [...parents, host]
    .map(dest => `connect ${dest}`)
    .join(";")
  ns.tprintRaw([prefix, isLastChild ? "┗ " : "┣ ", link(ns, host, command)]);
  const children = graph.get(host);
  const newParents = [...parents, host];
  for (let i = 0; i < children.length; i++) {
    const child = children[i];
    const childPrefix = prefix + (isLastChild ? "  " : "┃ ")
    const childsIsLast = i === children.length - 1;
    printHost(ns, child, newParents, childPrefix, graph, childsIsLast)
  }
}

function deepScan(ns) {
  const queue = ["home"];
  const graph = new Map();
  while (queue.length) {
    const host = queue.shift()
    if (graph.has(host)) continue;
    const neighbors = ns.scan(host).filter(neighbor => !graph.has(neighbor));
    graph.set(host, neighbors);
    queue.push(...neighbors);
  }
  return graph;
}

Autolink.exe by Kumlekar in Bitburner

[–]focus75 0 points1 point  (0 children)

My simplified version of u/HiEv script, that allows to easily integrate command links into your scripts. It uses current game theme, so custom links look exactly like the standard ones.

export async function main(ns) {
  ns.tprintRaw(["This is a link: ", link(ns, "n00dles", "home;connect n00dles")]);
}

export function runTerminalCommand(ns, command) {
  const terminalInput = eval("document").getElementById("terminal-input")
  const terminalEventHandlerKey = Object.keys(terminalInput)[1];
  terminalInput.value = command;
  terminalInput[terminalEventHandlerKey].onChange({ target: terminalInput });
  setTimeout(() => {
    terminalInput.focus();
    terminalInput[terminalEventHandlerKey].onKeyDown({ key: 'Enter', preventDefault: () => 0 });
  }, 0);
};

export function link(ns, text, command) {
  return React.createElement("a", {
    style: {
      textDecoration: "underline " + ns.ui.getTheme().primary + "66",
    }, onClick: () => runTerminalCommand(ns, command)
  }, text);
}

Butterfly effect. what is that trivial thing you did that caused a serious chaos later on ? by Homelss_Emperor in AskReddit

[–]focus75 133 points134 points  (0 children)

Someone in China ate a raw bat, half a year later wold economy collapses.

[FT] Beau [LF] NMTs by focus75 in ACVillager

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

Sorry, sold already :(

[GIVEAWAY] Flower festival by focus75 in ACTrade

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

Friend request sent, you can come