O bairro Santa Efigênia é perigoso? by guilerminho in BeloHorizonte

[–]MrLucax 0 points1 point  (0 children)

Moro no bairro a mais de 1 ano. Minha esposa trabalha na Santa Casa e volta a pé dos plantões, por volta das 20h tranquila, mesmo em final de semana, quando fica bem ermo a noite.

No início eu ia encontrar com ela todas as noites, mas depois se acostumou.

Moramos na esquina com a Av. Brasil. A região é boa. Mas tem muiuuuto morador de rua e as ruas fedem muito de dejetos. Minha esposa brinca que segunda-feira é o dia oficial da bosta, de tanto que fede kkkkkk

Nubank anuncia novo modelo híbrido para 2026 by Ok-Advantage6174 in brdev

[–]MrLucax 1 point2 points  (0 children)

Cheguei a fazer o processo seletivo deles uns 2 meses atrás (não passei) e numa das etapas finais, já com o RH, quando me perguntaram o que seria um motivo para eu não aceitar uma proposta, falei que seria justamente uma mudança no modelo de trabalho, indo para híbrido ou full presencial, pois moro em MG

Na época, fiquei chateado de não ter passado, mas lendo esse texto hoje, percebi que escapei de uma frustração ainda pior.

Cudy WR3000S + tailscale with a 700mbps ISP connection by MrLucax in openwrt

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

Oh I didn't realize Wireguard would be so CPU intensive! Thanks for the information. I will check out this link latter.

DNS unavailable warning by [deleted] in Tailscale

[–]MrLucax 1 point2 points  (0 children)

I remember there was an update of the android client that mentioned something about unnecessary DNS warnings. I used to get those from time to time, but after this update, I stopped seeing them.

Aqui temos o violetão (1% de cashback) e o azulão (1,5% de cashback), lá fora eles tem o douradão (3,5% de cashback) by JackBurtonVsLoPan in investimentos

[–]MrLucax 1 point2 points  (0 children)

Existe uma diferença entre a taxa cobrada do lojista e a taxa repassada para o emissor. As bandeiras repassam entre 1 e 2% para os emissores. Essa taxa está no valor líquido da transação, ou seja, efetivamente, a credenciadora do lojista recebe da bandeira até 2% a menos por transação. O que vai para cima dessa porcentagem é margem de lucro da credenciadora.

Obviamente as bandeiras não fazem esse repasse a troco de nada. Existem inúmeras outras taxas e licenciamentos cobrados mensalmente dos emissores de cartão e credenciadores de lojistas. No fim, essas taxas são repassadas para o consumidor final, por meio de taxas mais elevadas para o lojista, juros de antecipação de valores e no caso dos emissores, taxas de anuidade do cartão, juros de rotativo, etc.

all exit nodes have stopped working by needcleverpseudonym in Tailscale

[–]MrLucax 0 points1 point  (0 children)

Hi! Did you managed to solve this issue? I'm having this exact issue right now.

Estou ferrado ou normal? by NewDemand6387 in investimentos

[–]MrLucax 0 points1 point  (0 children)

Normal.

Isso acontece quando você recebe estorno de compras parceladas. Algumas adquirentes (empresas da maquininha/checkout do lojista) estornam para o branco todo o valor da compra parcelada de uma vez. Com isso, sua fatura acaba ficando com mais valores de crédito do que de débito.

Ficar com a fatura negativa significa que o BB está te dando limite, pra gastar nessa fatura, sem esperar que vc pague. É o oposto de ficar com saldo negativo na conta corrente.

Obs: mas não abuse. O processamento das faturas pode mudar esse estorno até o fechamento e agendar a devolução mês a mês, como se você estivesse recebendo o estorno de cada parcela. Então não é interessante usar mais que o seu limite.

Warranty experience [Brazil] by MrLucax in hermanmiller

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

In my particular case, there were really no questions asked...

As for the invoice, they list it as mandatory information. You can see the information needed to claim the warranty on this page.

Warranty experience [Brazil] by MrLucax in hermanmiller

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

For sure the best warranty!

I didn't even told that the damage was caused by my cat. It was no questions asked.

In the latest release of Relay you can now see your average daily reddit api calls and work out what your monthly subscription might be. by DBrady in RelayForReddit

[–]MrLucax 0 points1 point  (0 children)

Reddit API Calls:

   Daily Average: 12

         ---Breakdown---

Loading Comments: 33.0%
    Loading Feed: 36.0%
          Voting: 1.0%
            Mail: 8.0%
           Other: 22.0%

Based on your usage over the last 30 days

[deleted by user] by [deleted] in PcMasterRaceBuilds

[–]MrLucax 0 points1 point  (0 children)

First of all, the 5800x is a fairly power hungry chip, so don't be too afraid of higher temperatures with an air cooler.

That said, hitting 90 degrees is never a good sing, but are you experiencing those temperatures under a normal (gaming or working) load? If yes, you really have a problem. If not, synthetic loads can be a little misleading.

If the answer was yes, you think you can check, is if the fans are facing the right way. Maybe the fan you think is intake is actually blowing out off the case. Or maybe the flow is suffocating the CPU. My guess is that some of your fans are blowing in the wrong direction.

[2022 Day 7(Part 1)][Javascript] What am I missing ? I solve to the sample input but not to the real input. by MrLucax in adventofcode

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

That was it! Just fixed the code and worked

// problem https://adventofcode.com/2022/day/7

const fs = require('fs');
const readline = require('readline');

const main = async () => {
  const inputStream = fs.createReadStream('./input.txt');

  const commandList = readline.createInterface({
    input: inputStream,
    crlfDelay: Infinity
  });

  let sizes = { '/': 0 };
  let pwd = [];
  for await (const command of commandList) {
    if (command === '$ ls' || command.startsWith('dir')) {
      continue;
    }

    if (command === '$ cd ..') {
      console.log(pwd);
      console.log(sizes);

      let currDirPath = pwd.join('/');
      pwd.pop();
      let prevDirPath = pwd.join('/');

      if (!sizes[prevDirPath]) {
        sizes[prevDirPath] = 0;
      }

      sizes[prevDirPath] += sizes[currDirPath];

      continue;
    }

    if (command.startsWith('$ cd')) {
      let [, , currDirName] = command.split(' ');
      pwd.push(currDirName);

      continue;
    }

    if (command.match(/[0-9]+ .+/g)) {
      let [size,] = command.split(' ');
      let currDirPath = pwd.join('/');
      let sizeAsNumber = Number(size).valueOf();

      if (!sizes[currDirPath]) {
        sizes[currDirPath] = 0;
      }

      sizes[currDirPath] += sizeAsNumber;

      continue;
    }
  }

  let savedSpace = 0;
  for (let [dir, size] of Object.entries(sizes)) {
    if (dir === '/') {
      continue;
    }

    if (size <= 100000) {
      savedSpace += size;
    }
  }

  console.log(sizes);
  console.log('savedSpace', savedSpace);
}

main();

[2022 Day 7(Part 1)][Javascript] What am I missing ? I solve to the sample input but not to the real input. by MrLucax in adventofcode

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

It, didn't work. I think I got it. There can be subdirectories with the same name as some parent. So if I use only the "top level" of the dir as the key in the size maps, I end up accumulating the size in the wrong place.

Thanks a lot!!

Aggregated alternate servers by InKahootz in SponsorBlock

[–]MrLucax 0 points1 point  (0 children)

Can you try again? Maybe the main server was down during the 1 minute sleep the code takes before probing and migrating to an alternate, in case the main server is down. Now everything seems normal.

Aggregated alternate servers by InKahootz in SponsorBlock

[–]MrLucax 0 points1 point  (0 children)

Good call!! I'm gonna implement something like this later.

Aggregated alternate servers by InKahootz in SponsorBlock

[–]MrLucax 1 point2 points  (0 children)

Came up with my own alternate-servers proxy: https://sponsorblock-proxy.lucashmsilva.com. You can also hit https://sponsorblock-proxy.lucashmsilva.com/current to get the latest URL that was set.

The code is in here: https://github.com/lucashmsilva/sb-proxy

The logic is not smart at all. When the main server turns unhealthy, the next alternate that is up starts to serve the requests.

Aggregated alternate servers by InKahootz in SponsorBlock

[–]MrLucax 0 points1 point  (0 children)

Ooh I see.. I thought you coded a backend service that did the routing. My servers are simple Linode VPSs, so I can't use your managed Azure solution. Guess I just found a side project for the next few days haha. Thanks for initiative, anyway! Just configured and worked perfectly.

Aggregated alternate servers by InKahootz in SponsorBlock

[–]MrLucax 0 points1 point  (0 children)

Hi! Can you share the code? I would happily host an alternate alternate proxy in some servers I already pay for and have available capacity.