Blog

Main posts for this site
#rant, #slack, #teams

Teams vs Slack

Category: development rants

Slack has become the industry standard for modern developers’ communities, but Microsoft Teams has emerged as a challenger. However, what exactly does Teams offer, and why is it considered inferior?

The main reason is that Teams did not commit to conducting research on what is needed to facilitate effective communication in a rapidly growing environment. This lack of attention to detail is evident in certain elements of the interface.

Let’s start with the roster, which is a list of available chat entities and users. In Slack, it is streamlined and designed with use cases in mind, while in Teams, it is merely a simulacrum.

For instance:

  • In Slack, finding a chat only requires one click, while in Teams, you need to switch between group chats and private chats, which can be slow.
  • Slack has a well-designed interface for threads, making them easy to see and use. In contrast, Teams has a bloated and poorly functioning mechanism that is difficult to use.
  • In Slack, there is one roster for all chats, while in Teams, there are several different rosters for everything, which does not aid productivity.
  • The chat window and input area in Slack are simple yet sophisticated, while in Teams, they are overly complex and confusing.
  • Code pasting is impossible to do smoothly in Teams, whereas Slack allows for seamless pasting by simply inputting standard markdown backticks. Additionally, Teams do not differentiate between one backtick and triple backticks and does not change highlighting styles.
  • After pasting a message in Teams, the interface can cause the message to appear out of order and even before the previous message.

So why is Teams inferior to Slack? The main reason is that Teams has not invested enough in conducting research and designing an interface that is user-friendly and efficient. Slack, on...

#rails, #dev

Rails 7 introduce default healthcheck controller

Category: development rails

DHH introduce default HealthCheckController for Rails 7 ♦

Which is just this piece of code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# frozen_string_literal: true

class Rails::HealthController < ActionController::Base # :nodoc:
  rescue_from(Exception) { render_down }

  def show
    render_up
  end

  private
    def render_up
      render html: html_status(color: "green")
    end

    def render_down
      render html: html_status(color: "red"), status: 500
    end

    def html_status(color:)
      %(<html><body style="background-color: #{color}"></body></html>).html_safe
    end
end

PR https://github.com/rails/rails/pull/46936

#blog

Change colorscheme for code blocks highlighting

Category: blog

Code here is highlighted with https://github.com/mzlogin/rouge-themes1, I changed scheme a bit, now it looks brighter.

Here is the Python method example

1
2
def python():
    puts("Python method example")

Thats for Javascript

1
2
3
4
function test() {
    let sh = 1;
    console.log(sh);
}

PHP

1
2
3
4
5
class Testing {
    function __constructor() {
        $this->a = date('r');
    }
}

Rust

1
2
3
4
5
6
7
fn main() {
    // Statements here are executed when the compiled binary is called

    // Print text to the console
    println!("Hello World!");
}
#persons, #cars

Ken Block(43) R.I.P.

Category: share

Ken Block dies due to snowmobile incedent

Kenneth Paul Block (November 21, 1967 – January 2, 2023) was an American professional rally driver with the Hoonigan Racing Division, formerly known as the Monster World Rally Team. Block was also one of the co-founders of DC Shoes.[3] He also competed in many action sports events, including skateboarding, snowboarding, and motocross. After selling his ownership of DC Shoes, Block shifted his business focus to Hoonigan Industries, an apparel brand for auto enthusiasts. He was the co-owner and “Head Hoonigan In Charge” (HHIC) at the company before his death.[4]

He starting being widely famouse by this Gymkhana series and here is how to starts and progress:

There are many more on Hoonigans channel, take a look if you’re fan of Rally kind of staff.

More of him can be found on Wikipedia.

https://en.wikipedia.org/wiki/Ken_Block