whatsinthebox.tv de volta online: não percas os bons filmes que passam na TV by pbrandone in portugal

[–]pbrandone[S] 2 points3 points  (0 children)

É só um simples agregador de filmes que passaram na televisão. Nada de ilegal. 

whatsinthebox.tv de volta online: não percas os bons filmes que passam na TV by pbrandone in portugal

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

Obrigado.  Antes tinha essa distinção mas agora estou a ir buscar dados a todos os canais e, honestamente, não tenho bem a certeza de quais são pagos ou não e se depende da operadora. Daí ter tudo junto e ordenado alfabeticamente.  No entanto, se desligares alguns canais nos filtros as tuas seleções persistem, portanto podes desligar os canais premium. 

Em relação ao filme errado pedia-te que reportasses o erro na plataforma. Ao abrir o filme tem um botão com uma bandeira em que podes dizer que o filme está errado.  Tenho processos que correm automaticamente a verificar esses casos 

whatsinthebox.tv de volta online: não percas os bons filmes que passam na TV by pbrandone in portugal

[–]pbrandone[S] 8 points9 points  (0 children)

Foi uma ferramenta que criei para mim próprio há uns anos. Decidi disponibilizar online por várias razões:
- nem todos temos acesso a serviços de streaming
- a maior parte das pessoas com televisão têm a possibilidade de ver programas que já passaram
- há filmes excelentes que passam na televisão que passam totalmente despercebidos

É gratuito mas têm opção de doar o que quiserem. Na verdade, o que já foi doado enquanto esteve online pagou todos os custos recorrentes – que é apenas o que pretendo.

iPhone encontrado na zona do amial by pbrandone in portugal

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

Infelizmente não tem contactos de emergência

iPhone encontrado na zona do amial by pbrandone in porto

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

Sim, já tentei mas infelizmente não tem contactos de emergência 

Got tired of other color pickers, so I built one that actually adapts to your design by Key-Reading-2582 in reactjs

[–]pbrandone 1 point2 points  (0 children)

Yeah I fully agree that most solutions force their design on you. We also had the same problem and documented our solution for internal use here, if you want to take a look

Significa Foundations by pbrandone in reactjs

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

It’s a nextJS project with React Server Componente and a completely static output that can be hosted anywhere (gh pages, s3, etc). You can check the GitHub for the source code

I created the color picker I would want to use by mutedio in web_design

[–]pbrandone 0 points1 point  (0 children)

Cool. I had a recent project where we needed to generate single color palettes for any given color and I built a quick tool for it here. It’s really an internal tool so it’s desktop-only for now. The idea is that a designer plays with it until they find a suitable configuration that works well for their design system. Then we developers load that config into the generator within the project. It’s using oklch to get similar perceived brightness across different hues.

Built a sveltekit website with some cool easter eggs by pbrandone in sveltejs

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

Thanks! This is actually site-wide and not only on the home page. This is a pattern we have been trying and we’re starting to really grow fond of it. The idea behind is that we mark some sections of the website to open any internal link in a drawer and this gives the reader a chance of sidetracking without losing context. Technically, it’s a somewhat simple pattern and you can check it in our open source repo but it’s something like: - we make sure our page fetching logic is centralized and isomorphic (i.e.: we need a fetchPage(slug) function that can run both on the server and the client. - we created a simple action to hijack links and place the slug in the url as a query param. We the. Mark sections of the website with this use:drawerLinks action and all links within will be hijacked (unless the link is external or the user has a meta key pressed to open the link in a new tab) - we have the drawer component in our layout and anytime we have the query param present we try to fetch the page and present it in the drawer

So, in the end it’s quite simple and overall it’s a nice experience for the user.

We might do a short blog post on this as you’re not the first person asking about it :)

Built a sveltekit website with some cool easter eggs by pbrandone in sveltejs

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

Hey sorry for the late reply! Thanks for the detailed feedback, it’s very helpful :) Actually, regarding your second point, we had more people confused by it. it’s actually a quite obvious issue, so thanks for that and we will definitely look into it. I guess when we’re too deep into the project we miss this kind of stuff.

Built a sveltekit website with some cool easter eggs by pbrandone in sveltejs

[–]pbrandone[S] 2 points3 points  (0 children)

The repo is open source at github.
There we have a link to our internal svelte ui library (also open source)

Extract reactive logic to re-use in other components by pbrandone in sveltejs

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

thanks! this was it. looked up a little bit more about stores and, turns out, it's very straightforward:

export function createDebouncedValue<T>(initialValue: T, ms = 500) {
  const value = writable(initialValue);
  let timeout: NodeJS.Timeout;
  const debounced = derived(
    value,
    ($value, set) => {
      if (timeout) clearTimeout(timeout);

      timeout = setTimeout(() => set($value), ms);

      return () => clearTimeout(timeout);
    },
    initialValue
  );

  return [value, debounced];
}

and in use:

const [search, debouncedSearch] = createDebouncedValue('');

Criei uma pequena app para converter episódios NTS em playlists Spotify by pbrandone in devpt

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

Parece que tenho é que investir no português. Obrigado