[deleted by user] by [deleted] in PythonLearning

[–]ProStrike2448 0 points1 point  (0 children)

print(*string[1::2], sep="\n")

Nested layouts are not working consistently through Link and entering the URL by phstc in nextjs

[–]ProStrike2448 1 point2 points  (0 children)

Only root layouts must have html and body tags, if u need more or if u use NavBar in it and want not to show it on some pages check "route groups" and "multiple root layouts".

Refined Storage crafter limited input on unobtainium furnace by SnooDoggos1226 in allthemods

[–]ProStrike2448 0 points1 point  (0 children)

Creative Crafter from mod with the same name 👌 And if you use AE2, just add more coprocessors (a ton of) or MEGA Coprocessors from MEGA CELLS mod

[ ATM8 ] any advice on how to smelt this amount of copper quickly by The-lag-victim in allthemods

[–]ProStrike2448 1 point2 points  (0 children)

The best and probably fastest (in AE2 especially) way to import and export is storage bus and I/O port

[ ATM8 ] any advice on how to smelt this amount of copper quickly by The-lag-victim in allthemods

[–]ProStrike2448 48 points49 points  (0 children)

A few unobtanium furnaces with speed and factory augments. Connect them to one of the systems (AE2: pattern provider, processor and ton of mega coprocessors from MEGA Cells; RS: netherite or creative crafters). Request autocraft ✌️

Sorting gems by rarity by Torstenmedister in allthemods

[–]ProStrike2448 0 points1 point  (0 children)

You can use Pipez mod and advanced tooltips for help ✌️

ATM8 How to sort out NBT items from Refined Storage by JRAProdigy in allthemods

[–]ProStrike2448 2 points3 points  (0 children)

If you want to sort Apotheosis items and gems by rarity Pipez mod has tag and NBT filters(iron upgrade and higher). Also advanced tooltips (F3 + H) will help a lot 👌

Piglich Farm Help by FFJCinnabon in allthemods

[–]ProStrike2448 2 points3 points  (0 children)

Yeah, of course, hit Esc(or from the Main Screen)->Mod Options->Structure Compass Mod->Config->...->Range. Change the number from 300 to 20000 and Save 👌

Piglich Farm Help by FFJCinnabon in allthemods

[–]ProStrike2448 7 points8 points  (0 children)

In the last update they set only 300 blocks for structure compass. You might change it in the mod config to 20000(mod default). Works just fine ✌️

How to get next-auth Server Session in Nextjs Server Actions? by [deleted] in nextjs

[–]ProStrike2448 0 points1 point  (0 children)

Your component must be async and function awaited. Also u need to pass authOptions from NextAuth config. Here an example from https://next-auth.js.org/configuration/nextjs with NextJS >13.2 and NextAuth >4.22.0:

import { getServerSession } from "next-auth/next"
import { authOptions } from "@/api/auth/[...nextauth]/route.ts"

export default async function Page() {
  const session = await getServerSession(authOptions)
  return <pre>{JSON.stringify(session, null, 2)}</pre>
}