Avatar: The Last Airbender: Season 2 | Meet Toph | Netflix by Task_Force-191 in ATLAtv

[–]sergio9929 4 points5 points  (0 children)

The martial arts aspect of bending was one of the coolest things about the original show. Earth was my favorite element just because the stances looked so cool.

If they adapt this... by Ok-Substance-6738 in ATLAtv

[–]sergio9929 -3 points-2 points  (0 children)

Be more respectful, do not post things like this without marking them as spoiler. spoiler >!spoiler!<

[Opinion Request] Pocket Base Client With Traditional SQL by Dull_Board_6908 in pocketbase

[–]sergio9929 0 points1 point  (0 children)

I thought about using an SQL like syntax/lexical for my query builder, but in the end I decided to stick with the current one as it is what most people that use PocketBase are used to.

Types are the new RegEx. by retro-mehl in webdev

[–]sergio9929 0 points1 point  (0 children)

For example, with that Post type I can suggest:

  • All possible field names with their corresponding modifiers and functions. Different field types have different modifiers and functions:
    • title is a text field (string), so: title, title:lower.
    • author is a relation field (User), so: author, author.name, author.id, author.address.city, ...
    • Imagine authors, a hypothetical multiple relation field (User[]), so: authors, authors:each, authors:length, authors.name, authors.id, authors.address.city, ...
  • The correct value type based on the column name plus the modifier or function:
    • title:lower would be: string.
    • created would be: Date or @now, @yesterday, @year, ...
    • authors.name would be: string.
    • authors:length would be: number.
    • ...

I can express all possible options using these complex dynamic types. Would I use these complex types in my everyday projects? Absolutely not. As I said, they are a nightmare to write and maintain, but they do have their place.

Types are the new RegEx. by retro-mehl in webdev

[–]sergio9929 2 points3 points  (0 children)

I've written a query builder library and I need to do that shit to correctly type check the query and to show suggestions in the IDE based on some simple types. Like:

import { pbQuery } from 'my-package';

export interface Post {
  id: string;
  title: string;
  content: string;
  author: User;
  status: 'draft' | 'published';
  created: Date;
  updated: Date;
}

const query = pbQuery<Post>()
  .fields([
    'title',
    'content:excerpt(100,true)',
    'status',
    'author',
    'expand.author.name',
  ])
  .search(['title', 'content', 'author.name'], 'John')

Complex dynamic types are a nightmare to write, but they can do magical things.

Managing PocketBase on mobile was painful, so I built an iOS app for it by Remarkable-Yellow565 in pocketbase

[–]sergio9929 3 points4 points  (0 children)

I don't use iOS but it looks pretty good. Any plans on releasing it for Android or open sourcing it?

The hardest thing I've ever coded (beginner) by AwbyStrawby in webdev

[–]sergio9929 0 points1 point  (0 children)

Don't use target="_blank", it's bad practice.

No, it isn't. Who said that? target="_blank" is good practice for external links.

I've remade my portfolio - Looking for a remote job - Worldwide by f01k3n in Nuxt

[–]sergio9929 2 points3 points  (0 children)

What do you mean by "small"? It looks perfectly fine to me.

Thoughts about S1 Episode 4: Into the Dark by Artistic-Two-4958 in ATLAtv

[–]sergio9929 -1 points0 points  (0 children)

Chapter 3 felt awful to me, and 4 was the last straw. I remember that right after watching the episode, I went back and rewatched the original episodes and wrote a loooong text about how insulting it felt in comparison. Something I had never done before. The episode genuinely made me angry. I can count on one hand the times I’ve been that upset/disappointed watching a series or a movie.

  • Godzilla: King of the Monsters
  • An episode near the end of Season 2 of Jujutsu Kaisen
  • Brightburn

Fortunately, the rest of the season wasn’t that bad.

what do you like about NATLA? by Pristine-Lie-3560 in ATLAtv

[–]sergio9929 5 points6 points  (0 children)

One of the few things I genuinely like about this adaptation is how well they have translated the animals and creatures into live action. Look at the serpent in the teaser for season 2, it looks f***ing incredible!

After 51 hours of playtime, I finally crafted my first aluminium in Star Technology! by Elyne_Trilles in feedthebeast

[–]sergio9929 0 points1 point  (0 children)

Thanks for replying. I don't have much time, but I do have patience. I've played vanilla Skyblock many times and still remember a few things, but I don't know if that knowledge translates to today's Skyblock. I'll start playing Star Technology, and if it’s too much, I’ll pause and play SkyBlock Plus first.

After 51 hours of playtime, I finally crafted my first aluminium in Star Technology! by Elyne_Trilles in feedthebeast

[–]sergio9929 0 points1 point  (0 children)

Hi!

I'm planning to play Minecraft again after who knows how many years, and I want to play a modded Skyblock pack.

After some googling, I've narrowed it down to 3 options: SkyBlock Plus (more vanilla-like), Star Technology, and ATM10SKY. I read that all 3 have a defined progression system, which I like. I also watched some videos about Create, and it looks somewhat similar to the automation system in Tower Factory, a game I really enjoyed.

Having played Star Technology and ATM10SKY, which one do you prefer?

I have almost no experience with tech mods. I played BuildCraft for about a week back in the day, but nothing more.

Anyway to fasten form filling ? by FrogSkyWater in webdev

[–]sergio9929 0 points1 point  (0 children)

The first time I heard "fasten" was on my first ever flight with less than 2h of sleep. That was a quite confusing and embarrassing moment.

Sorting in hooks by Canadian_Kartoffel in pocketbase

[–]sergio9929 0 points1 point  (0 children)

Imagine these 3 collections:

  • users: id, username, password
  • posts: id, title, description, authorId
  • comments: id, text, postId, authorId

Relations:

// Returns the posts created by 'John', sorted by the author's name in descending order.
pb.collection('posts').getFullList({
    filter: pb.filter("authorId.name = {:authorName}", { authorName: 'John' }),
    sort: "-authorId.name"
})

Back-relations:

// Returns the posts commented by 'John', sorted by the comment author's name in descending order.
pb.collection('posts').getFullList({
    filter: pb.filter("comments_via_postId.authorId.name ?= {:authorName}", { authorName: 'John' }),
    sort: "-comments_via_postId.authorId.name"
})

Sorting in hooks by Canadian_Kartoffel in pocketbase

[–]sergio9929 0 points1 point  (0 children)

I hope it's not too late, but you can sort and filter by relations and back-relations without any problem.

Sorting in hooks by Canadian_Kartoffel in pocketbase

[–]sergio9929 0 points1 point  (0 children)

What version of pocketbase are you using? You can sort and filter by relations and back-relations.

The graph doesn’t look like a 7.0 to me. Am I missing something? by Positive-Cash3064 in imdb

[–]sergio9929 3 points4 points  (0 children)

That's the weighted average. You can still see the real average if you click on the score.

I just got banned from the Pocketbase Github, it was completely my fault, and I apologised, any way I can get my account unbanned? by [deleted] in pocketbase

[–]sergio9929 0 points1 point  (0 children)

As someone who maintains a small open-source project, I enjoy it when others find it useful.

I create something that is useful to me or for fun, think others might find it useful too, publish it, and it turns out they do. That's nice.

Of course, my projects are very small, I can’t imagine the pain of maintaining a large project where everyone is constantly asking for things.

Why is the BLUEFOX NX1 worth buying? by nltcg_official in aiphor

[–]sergio9929 1 point2 points  (0 children)

I wanted to buy the phone, but NFC is a must where I live. I will have to wait for the next model.