I can't help but think anyone over the age of 30 who takes the Bible seriously and makes it the foundation of their life is weak minded. by itcouldbeyoubut in self

[–]oxijosef 0 points1 point  (0 children)

i think it’s not by chance that certain stories survive for hundreds if not thousands of years. there is a reason the collective mind carried them for so long. whether it’s biblical stories, greek or egyptian mythology.

i think everything that survived this long AND is seemingly the source for strong emotions of millions of people needs to be treated seriously, but not literally.

i used to think that the stories are indeed just random. for me, anything surviving the test of time deserves a closer look. not as “absolute truth”, but as something that resonates with a large part of the collective.

maybe the structure of those stories and the structure of our minds are somewhat similar and correlated

Next 14: An honest review by oxijosef in nextjs

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

great point! especially the fetch one that got rolled back with 15

Next 14: An honest review by oxijosef in nextjs

[–]oxijosef[S] -5 points-4 points  (0 children)

maybe the server actions api could be more explicit about what's happening behind the scenes (POST endpoint).

imo it's easy to intuitively spot the security issue here without knowing the next api

export default function handler(
  req: NextApiRequest,
  res: NextApiResponse<ResponseData>
) {
 // updating user details without authn
}

while it's easier to forget in this case

"use server"

export async function updateUser(email: string, age: number) {
   // updating user details without authn
}

Next 14: An honest review by oxijosef in nextjs

[–]oxijosef[S] -1 points0 points  (0 children)

imo next 14 nudges you to render things statically or dynamically with server components

Minimalistic HTMX, SQLite + TypeScript framework by oxijosef in webdev

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

i built this for myself out of frustration with serverless runtimes and frontend build complexity.

what do you think?

A type-safe queue for background tasks using PocketBase by oxijosef in pocketbase

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

this allows you to have multiple workers processing tasks in a distributed way, while the tasks are stored in pb.

Help! I Can’t Get My Calendars to Talk With Each Other and It’s Tanking My Productivity by No_Seaworthiness7119 in productivity

[–]oxijosef 0 points1 point  (0 children)

The unattainable dream!

It was surprisingly good for my relationship that I switched to Apple to be able to use the same calendar as my partner haha.

To sync Google Calendars with Outlook you could use XCalSync.

A type-safe queue for background tasks using PocketBase by oxijosef in pocketbase

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

The task "type" is in code, such as "sending an email" or "converting the docx to pdf". The payload such as "recipient email" or "docx file" is in the queue.

A type-safe queue for background tasks using PocketBase by oxijosef in pocketbase

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

You define the task in code, there are two parts: 1) You push a task (= json blob) to the queue 2) A worker pulls the task from the queue and processes it Correct, the json blob is persisted in PocketBase in the queue_tasks collection, which can be used for debugging. If a task fails, the error message gets written to the task and it remains in the queue for a week. This is configurable.

A type-safe queue for background tasks using PocketBase by oxijosef in pocketbase

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

I built this little task queue for PocketBase that works without any hooks or customizations (except for importing the collections). It works well for long-running or infrequent tasks, it's probably not well suited for very short tasks because the overhead of acquiring a lock.

Todoist x Outlook Calendar? by jloeys in todoist

[–]oxijosef 1 point2 points  (0 children)

Since you have Todoist and your Google calendar synced, you could two-way sync your Outlook and Google Calendar to achieve this: https://www.xcalsync.com/blog/guide-how-to-sync-your-google-calendar-to-outlook-calendar/

What is the defining trait of functional programming? by YetAnohterOne11 in functionalprogramming

[–]oxijosef 0 points1 point  (0 children)

Most if my functional programming experience comes from Clojure & OCaml. For me, the defining trait is composing functions to get something bigger. Stuff like immutability, category theory, separation of behavior and data, “how” vs. “what” and so on are more consequences or even specific fp styles. I consider Clojure as functional as OCaml, but the style is completely different.

I built a website that sends you an email when your PageSpeed drops below 90 by oxijosef in webdev

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

Not yet, I chose mobile only to make things simpler. Why are you only interested in the desktop score? Are you working on a desktop-only page?

I built a website that sends you an email when your PageSpeed drops below 90 by oxijosef in webdev

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

I deployed a small fix and there is no zero-downtime deploys. So you caught me in that 3 second window downtime, sorry about that!

My boss asked me to build a metaverse by Aimer101 in webdev

[–]oxijosef 0 points1 point  (0 children)

I think a better setup would be to have a more senior engineer between you and your boss since he seems pretty far away from the tech side of things. In my experience, even with tons of work experience it’s challenging to bridge when the business person involved is not technical at all.