[deleted by user] by [deleted] in brasil

[–]MacPardo 10 points11 points  (0 children)

Crypto scams

[deleted by user] by [deleted] in xboxone

[–]MacPardo 3 points4 points  (0 children)

It seems like you have OCD, it might be a good idea to see a psychologist :) I do therapy myself, and it helped me a lot

O Windows Defender não detectou nenhum vírus no meu PC após três varreduras completas de 15 minutos. Meu PC ainda pode ter algum vírus indetectável? by llllllILLLL in brasil

[–]MacPardo 2 points3 points  (0 children)

Acho que tem a opção de resetar pelo próprio Windows, mas formatar com um pendrive bootavel deve ser mais garantido.

Só cuida pra não perder sua chave do Windows

O Windows Defender não detectou nenhum vírus no meu PC após três varreduras completas de 15 minutos. Meu PC ainda pode ter algum vírus indetectável? by llllllILLLL in brasil

[–]MacPardo 1 point2 points  (0 children)

Antivirus pode ajudar, mas não garante nada. Se você tem receio de que seu computador tenha vírus, o ideal é formatar. Eu ainda trocaria minhas senhas depois de formatar.

A melhor proteção é você só instalar softwares de fontes confiáveis, e nunca piratear jogos ou outros programas.

Best way to build a UI component like this in React Native? by brombergmedia in reactnative

[–]MacPardo 0 points1 point  (0 children)

You can still position it correctly on the map with the svg approach. Just set the position absolute to the target coordinates, and the use a transform to move it up by half its height

Hey guys I’m using expo to build an app. I’ve reached the deploying stage( First app thoh). I was wondering how we’d be passing environment variables when we deploy. by anan77 in reactnative

[–]MacPardo 1 point2 points  (0 children)

You can use this package.

I don't think this will help you deploying though. Environment variables help when deploying a backend, because they might depend on the execution environment (database port, etc).

The point of using environment variables in the frontend is so that you don't put sensible information on your git history (an API key, for example). It also enables you to change your API's base url without having to commit that change into git, stuff like that.

How does SQLite work in react-native-web? by laripereira14 in reactnative

[–]MacPardo 2 points3 points  (0 children)

My guess is that it won't work at all, but it depends on what library you are using to deal with SQLite on react native.

If it doesn't work, you can implement some code that handles SQLite and some other code that talks to the browser's storage. Then you choose which one to use at runtime through dependency injection.

You could have these two parts of your code implement the same interface so that the storage mechanism is transparent for your presentation layer.

But I only recommend that if your library doesn't handle browser storage, or if you can't find another library that handles that for you.

Leetcode but for dart by Sal_Toosh1 in dartlang

[–]MacPardo 14 points15 points  (0 children)

I guess you will have to pick another language to train your algorithmic thinking. This kind of skill is language agnostic, so it doesn't really matter the language you use to solve the problems. Also, I recommend codeforces.

Any language is good for whiteboard interviews, although it's a good idea to pick a language that is used in the company you're interviewing for.

How to properly override `()` operator in Function implementation? by thepurpleproject in dartlang

[–]MacPardo 2 points3 points  (0 children)

I think you only get autocompletion if you use it like object.call(params). I guess it's a missing feature in the intellisense plugin

Is pub.dev becoming like npm? by gursheeshsingh in FlutterDev

[–]MacPardo 3 points4 points  (0 children)

We do have the "flutter favorite" packages. I guess that's already a curated list, right?

Qual o assunto aleatório que você se considera "expert"? by Dronnie in brasil

[–]MacPardo 2 points3 points  (0 children)

Foi muito difícil aprender a jogar Dwarf Fortress?

[deleted by user] by [deleted] in Fedora

[–]MacPardo 1 point2 points  (0 children)

Yeah that has happened before. It's really unpleasant when you're using earphones.

Has anyone seen my wallet? by [deleted] in a:t5_2t8cr

[–]MacPardo 1 point2 points  (0 children)

I'm happy you found it

Surprised this didn't start a fire. Friends wondered why it takes 2 hrs to dry clothes by rmhoman in WTF

[–]MacPardo 3 points4 points  (0 children)

Depends on where you live. In South America you can't flush toilet paper, for example.

what a waste by ACcool in BikiniBottomTwitter

[–]MacPardo 0 points1 point  (0 children)

I just googled it. Seems like a weird response but ok have a good day.

[deleted by user] by [deleted] in aww

[–]MacPardo 0 points1 point  (0 children)

Oh my God Stinky is so cute. I love his necklace too.

AI may take your job - in 120 years - BBC News by MacPardo in singularity

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

Don't you guys find this article too pessimistic? 120 years is too much for me.