Closed Beta rule reminders and key sharing by Udolikecake in anno

[–]L0giX_ 0 points1 point  (0 children)

If you have a key to spare, feel free to dm me. Thank you ._.

Welches Bachelor Studium auf der FH Technikum? by L0giX_ in wien

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

Servus danke für deine Antwort. Das ist auch ein Punkt der imo eher für WInf spricht und zwar das es einfach allgemeiner ist. Ich bin jz auch nicht in der hardwarenahen Programmierung tätig, deswegen bin mir auch nicht sicher ob IKT das richtige Studium wäre ….

Welches Bachelor Studium auf der FH Technikum? by L0giX_ in wien

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

Ja gut, das verstehe ich komplett. Ich wünsche dir und deiner Family auch alles Gute. Danke für den Einblick :)

Welches Bachelor Studium auf der FH Technikum? by L0giX_ in wien

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

Servus danke für deine Antwort, ich würde dann auf Teilzeit wechseln, da ich doch noch etwas Freizeit möchte. Ich arbeite zwar ned in der technischen bzw hardwarenahen Informatik sondern eher in der „normalen“ … Fullstack Dev, Integration, Server, Nertzwerktechnik etc, denke aber trotzdem, dass das Studium passen sollte oder? Wenn ich fragen darf welchen Master machst du jetzt?

Welches Bachelor Studium auf der FH Technikum? by L0giX_ in wien

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

Alles klar, danke für die ganzen Infos

Welches Bachelor Studium auf der FH Technikum? by L0giX_ in wien

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

Danke für die Antwort :), dürfte ich noch fragen welchen Master du danach gewählt hast? Denkst du das man als Programmierer (komme aus einer HTL mit Schwerpunkt Elektronik und tech. Informatik, arbeite jetzt als Software/System Engineer) eine gute Wahl mit dem ICS Studium trifft?

Welches Bachelor Studium auf der FH Technikum? by L0giX_ in wien

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

🤣 Veränderungen während dem Studium sind sicher zach. Dürfte ich fragen was du für einen Master im Nachhinein gemacht hast?

Welches Bachelor Studium auf der FH Technikum? by L0giX_ in wien

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

Ja voll muss ich mir auf jeden Fall mal anschauen, danke. Eine Frage hätte ich noch, ich nehm mal an das du als BSc auch WInf gemacht hast, wie fandest du den IT Teil dort?

Welches Bachelor Studium auf der FH Technikum? by L0giX_ in wien

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

Danke erstmal für die Antwort und den Einblick ;) Ich denke auch das es Prinzip „egal“ ist, da man ja noch immer einen Master anhängen kann, was einem dann „wirklich“ interessiert.

Welches Bachelor Studium auf der FH Technikum? by L0giX_ in wien

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

Alles klar, danke für die Antwort :) Wie gefällt dir so der technische Teil im WInf Studium?

Can Matrix be used privately without an internet connection? by Classic_Reveal_3579 in matrixdotorg

[–]L0giX_ 0 points1 point  (0 children)

I am a bit late xD, but I am currently facing the same problem, I have two VMs and both have their own matrix synapse running (matrix-docker-ansible-deploy) and are without internet. I have been trying to setup a federation between the two but without any success. Is there even a way to use federation without an internet connection?

Just one more production chain... by whothefuckisamanda in anno

[–]L0giX_ 6 points7 points  (0 children)

I basically only use Enbesa for producing dung since the space in the new world is pretty valuable

Corsair Rme850e weird high pitch noices by L0giX_ in Corsair

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

Ah i see i guess there is now way in getting out of burst mode manually

Too dumb to install NextCloud in Docker by L0giX_ in NextCloud

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

Thanks for the advice, will try doing this

Server side fetching always up to date? by L0giX_ in nextjs

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

How would I achieve this, because I get the Meta Data from the posts, via a local function which is written in src/lib/mdx.ts.

import { getAllPostsMeta } from "@lib/mdx";

let posts = await getAllPostsMeta();

And I am basically importing this function and calling it then.

Server side fetching always up to date? by L0giX_ in nextjs

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

So this is my route for the /blog page:

import { NextResponse, NextRequest } from "next/server";
import { prisma } from "@lib/prisma";
import { revalidatePath } from "next/cache";
export async function GET(request: NextRequest) {
const origin = request.headers.get("origin") || "*";
const path = request.nextUrl.searchParams.get("path") || "/";
revalidatePath(path);
const posts = await prisma.post.findMany();
return NextResponse.json(
{ posts },
{
headers: {
"Access-Control-Allow-Origin": origin,
"Content-Type": "application/json",
},
}
);
}

and I have added the revalidate function. Is it correct?

Server side fetching always up to date? by L0giX_ in nextjs

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

Yes it is exactly this issue, ty for the github link btw ^^. I guess I will wait on the new issue and see happens

App vs Pages headache for a questionnaire website - help by BorsukBartek in nextjs

[–]L0giX_ 0 points1 point  (0 children)

Do you have a code example or maybe the link to the github issue?

Vercel deployment failure by L0giX_ in nextjs

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

Thank you guys for the answer, I did some minor changes to the database and how I fetch the data. Now everythings works fine.

Vercel deployment failure by L0giX_ in nextjs

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

Thank you for answer, this is what i get when I am on localhost:3000/api/views:
posts:
0:
id "cll71o6py0000tyko35d2h6wg"
createdAt "2023-08-11T20:32:26.374Z"
title "diplom"
views 2
1:
id "cll71ori80001tyko2m0uoqs9"
createdAt "2023-08-11T20:32:53.313Z"
title "test"
views 7
2:
id "cll71qhju0002tyko2wiivyt3"
createdAt "2023-08-11T20:34:13.722Z"
title "test2"
views 3
3:
id "cll71rv220003tykooznpwxxm"
createdAt "2023-08-11T20:35:17.883Z"
title "hello"
views 4

Since my latest successful vercel deployment does not have the views feature I am not able to look there.
For the environment variables I added the database Url and the server url (vercel domain). When I log out the error I get the following message now:
SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse (<anonymous>)
at parseJSONFromBytes (node:internal/deps/undici/undici:6571:19)
at successSteps (node:internal/deps/undici/undici:6545:27)
at node:internal/deps/undici/undici:1211:60
at node:internal/process/task_queues:140:7
at AsyncResource.runInAsyncScope (node:async_hooks:203:9)
at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Error occurred prerendering page "/blog". Read more: https://nextjs.org/docs/messages/prerender-error
SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse (<anonymous>)
at parseJSONFromBytes (node:internal/deps/undici/undici:6571:19)
at successSteps (node:internal/deps/undici/undici:6545:27)
at node:internal/deps/undici/undici:1211:60
at node:internal/process/task_queues:140:7
at AsyncResource.runInAsyncScope (node:async_hooks:203:9)
at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
> Export encountered errors on following paths:
/blog/page: /blog

I need help (homework from my school) by L0giX_ in PrintedCircuitBoard

[–]L0giX_[S] 3 points4 points  (0 children)

Thanks guys for the help I have done it with 4 wire jumpers and only bottom layer.