Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

system

Elo rating system: start value when players can join the game constantly

May 2, 2023 by Tarik

You can start at zero and add a fudge factor to the displayed score to keep it above zero, or you can start at 1000 – they are the same thing. Yes, with the 1000 starting point you’ll have an increasing number of total ELO points in the system but it will always be the … Read more

Categories system Tags rating, system Leave a comment

Is Google’s Golang an interpreter or compiler?

April 20, 2023 by Tarik

This is really a compiler (in fact it embbeds 2 compilers) and it makes totally self sufficient executables. You don’t need any supplementary library or any kind of runtime to execute it on your server. You just have to have it compiled for your target computer architecture. From the documentation : There are two official … Read more

Categories system Tags gcc, go, system Leave a comment

How do I exit a Rust program early from outside the main function?

April 5, 2023 by Tarik

Rust 1.0 stable std::process::exit() does exactly that – it terminates the program with the specified exit code: use std::process; fn main() { for i in 0..10 { if i == 5 { process::exit(1); } println!(“{}”, i); } } This function causes the program to terminate immediately, without unwinding and running destructors, so it should be … Read more

Categories system Tags rust, system Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa