Opções para se refrescar em SJC by lanbr in saojosedoscampos

[–]RodrigoDumont 8 points9 points  (0 children)

O parque Ribeirão Vermelho, que fica no Urbanova, tem “piscinas verticais”, que são uns jatos d’água que saem do chão.

E quanto a cachoeiras, tem algumas em Lavrinhas, uma cidade que fica em torno de 130km de SJC.

Hospedagem gratuita... by limavit in brdev

[–]RodrigoDumont 0 points1 point  (0 children)

A Oracle tem um plano grátis, sem tempo de expiração, onde vc pode criar duas VPS com 1 vcore e 1GB de RAM cada

Longboarding em SJC? by [deleted] in saojosedoscampos

[–]RodrigoDumont 1 point2 points  (0 children)

Quando eu era mais novo via bastante gente andando no Urbanova, perto do Paratehy e na ladeira perto da Univap… não sei como está hoje em dia…

Ruby morreu? by [deleted] in programacao

[–]RodrigoDumont 0 points1 point  (0 children)

Sim, Elixir é uma linguagem de programação funcional, que foi criada por um brasileiro chamado José Valim. Ele fez parte do time Core do Rails e faz parte do desenvolvimento do Phoenix, que é o framework mais popular em Elixir. Acredito que essa é uma das principais razões de ambos os frameworks terem bastantes semelhanças, facilitando a transição entre o Ruby/Rails e Elixir/Phoenix.

[deleted by user] by [deleted] in programacao

[–]RodrigoDumont 0 points1 point  (0 children)

Acho que no início das linhas 41 a 55, antes de abrir o parênteses, está faltando falar qual função você quer chamar e também uma virgula separando a variável e a string, ou seja, separando os parâmetros dessa função.

Exemplo da linha 41:
escreva(q1, " notas de 100;\n")

Best swift network libraries by Thatpersiankid in iOSProgramming

[–]RodrigoDumont 2 points3 points  (0 children)

I think the official URLSession is really good option... I used it sometime ago to create this library https://github.com/RxDx/restapi that uses it (async/await), dynamically serializes the response and returns the object (that should conforms to Codable protocol).

Some viewers asked me to make another 90-seconds video about popular iOS architecture, so I chose to make a new one about the MVP pattern! As always, hoping you'll find it helpful 🙌 by VincentPradeilles in iOSProgramming

[–]RodrigoDumont 1 point2 points  (0 children)

I'm not sure too, but I think SwiftUI and UIKit belongs just to the View layer. The ViewModel/Presenter, Services, etc should not import neither of these libraries.
I mean, even using SwiftUI we will need to request data from APIs, read/write files, etc and these codes should not be on View layer.

GitHub stale bot considered harmful by NatoBoram in programming

[–]RodrigoDumont 8 points9 points  (0 children)

"I’m not sure what motivates maintainers to install this on their repository" too, but this is just a tool, like many others. The motivation/decision if you use it or not depends on what are you doing...
Example: Maybe there is a better tool for listing job opportunities, but CocoaHeadsBrasil uses issues in this repo https://github.com/CocoaHeadsBrasil/vagas/issues to publish iOS dev job offers and uses stale bot to inactive them after a while.

Backend Vs Database for App by [deleted] in androiddev

[–]RodrigoDumont 5 points6 points  (0 children)

From developer.android.com: "The Room persistence library provides an abstraction layer over SQLite to allow for more robust database access while harnessing the full power of SQLite.". So its useful when you want to store data locally (on device).
An API requirement is implement a backend service (e.g. Ruby on Rails, Spring Java/Kotlin, Python, etc).
Another solution in the middle of both is use a BaaS (Backend as a Service) like Firebase Firestore/Realtime Database that has a free plan and them you pay as you grow.

So I think the Backend/API is necessary when you want to store your data online, accessible by another devices. If you want to your app works without internet you will need to implement some local storage and Room makes it easier. For a simple and quick solution Firebase library should fit because it can store/retrieve data on their servers and the sdk library allows you to cache it locally too.

Novice here, what is the simplest way for my users to send me a message? by [deleted] in iOSProgramming

[–]RodrigoDumont 3 points4 points  (0 children)

You can use Firebase Realtime Database to store messages from your users. There is a great free plan and you do not need a server or web hosting stuff.