Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View marioidival's full-sized avatar
😶‍🌫️

Mario Idival marioidival

😶‍🌫️
  • Self Employed ;)
  • Campina Grande, Paraíba, Brazil
  • 03:13 (UTC -03:00)
  • X @marioidival
View GitHub Profile
@marioidival
marioidival / tucan_bibliography.md
Created July 14, 2022 14:12 — forked from mrnugget/tucan_bibliography.md
Tucan Bibliography. Majority of the resources I used to build Tucan, my toy optimizing compiler in Rust

Tucan - Bibliography

Majority of the resources I used to build Tucan, my toy optimizing compiler in Rust. This list is not complete but most of the things listed here are things I really read through and used.

Books

  • Engineering a compiler (I use this a lot! For SSA, dominance and optimizations)
  • [Static Single Assignment Book][ssabook] (I use this a lot!)
  • Types And Programming Languages

Roadmap de estudos de SQL

Aviso: Muitas vezes detalhes de várias operações podem variar de banco para banco. Em questões onde fiquei em dúvida, este documento segue o funcionamento do PostgreSQL, pois é o banco que conheço melhor.

Pré-requisito: Álgebra Relacional básica

Antes de começar a escrever SQL, você precisa entender o modelo de como um banco de dados relacional funciona. Não precisa se aprofundar muito, mas você precisa entender como que dados e relacionamentos entre eles são representados. (Nota importante: Relacionamento e relação não são a

@marioidival
marioidival / clojure-beginner.md
Created March 1, 2022 12:58 — forked from yogthos/clojure-beginner.md
Clojure beginner resources

Introductory resources

Keybase proof

I hereby claim:

  • I am marioidival on github.
  • I am marioidival (https://keybase.io/marioidival) on keybase.
  • I have a public key ASB2q40Mj307GJEtNPu2Ts6P-x3WbYV9uTZMU5pX8pBCvAo

To claim this, I am signing this object:

@marioidival
marioidival / grpc-load-balancing.md
Created March 8, 2021 11:41 — forked from rponte/grpc-load-balancing.md
gRPC Load Balancing may not be that easy

Why gRPC load balancing is so tricky?

At a high-level, we need to understand two points:

  • gRPC is built on HTTP/2, and HTTP/2 is designed to have a single long-lived TCP connection (a sticky and persistent connection);
  • To do gRPC load balancing, we need to shift from connection balancing to request balancing;

Some interesting articles about this subject

@marioidival
marioidival / README-Template.md
Created August 8, 2019 17:08 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@marioidival
marioidival / programacao101-parte01.md
Created March 4, 2019 02:09
Slides (patat) da alfabetização python.

title: Programação 101 author: Mário Idival ...

Antes de começar

  • Abra um arquivo de texto - ou um caderno - para anotação.
  • Interrompa caso tenha duvida em qualquer coisa que aparecer.
  • Anote a dúvida da outra pessoa.
@marioidival
marioidival / README.md
Last active August 1, 2018 22:11
Actix DBZ Scouter

ACTIX Dragon Ball Scouter

  • The "system" send RaisePower to Fighters, this "trigger" they to raise your Ki until Scouter stop the event loop.[1]
  • The result of [1] is a Ki of Fighter, this Ki is send to Scouter.
  • The Scouter just verify if : Ki > 9000, if true, Scouter just stop the event loop System::current().stop();

I'm trying 2 way...

  • 1° just execute action (RaisePower) to one fighter and blocked the event loop
  • 2° just execute action (RaisePower) to all, but once.
resp: 245
resp: 246
resp: 247
resp: 248
resp: 249
resp: 250
resp: 251
resp: 252
resp: 253
resp: 254
@marioidival
marioidival / palindrome_numeric.rs
Last active April 6, 2018 18:15
Solve challenges in Rust
/// Found palindrome numeric
fn is_palindrome_numeric(n: String) -> bool {
n == n.chars().rev().collect::<String>()
}
fn main() {
for i in 1..20 {
if is_palindrome_numeric(format!("{}", i)) {
println!("{}", i)
}