Ubuntu Feed

Ruby concurrency is hard: how I became a Ruby on Rails contributor 1

Ruby concurrency is hard: how I became a Ruby on Rails contributor

For the past several weeks, I’ve been trying to fix a cranky spec in Karafka integrations suite, which in the end, lead me to become a Ruby on Rails micro-contributor and submitting similar fix to several other high-popularity projects from the Ruby ecosystem. Here’s my story of trying to make sense of my specs and …

Ruby concurrency is hard: how I became a Ruby on Rails contributor Read More »

RSpec story about disappearing classes 5

RSpec story about disappearing classes

ActiveSupport#descendants can be slow. In a bigger system with layers of descendants, finding all of them can be time-consuming: puts Benchmark.measure do 100.times { Dispatchers::Base.descendants } end # 5.235370 0.015754 5.251124 ( 5.251069) In the code I’ve been working on, it meant that a single lookup was taking around 50ms. That is a lot, especially …

RSpec story about disappearing classes Read More »

Karafka framework 2.0 announcement 6

Karafka framework 2.0 announcement

I’m thrilled to announce the new and shiny Karafka 2.0. It is an effect of my work of almost four years. For those who wonder what Karafka is, Karafka is a Ruby and Rails multi-threaded efficient Kafka processing framework. Karafka 2.0 is a major rewrite that brings many new things to the table but removes …

Karafka framework 2.0 announcement Read More »

How to Install Latest Node.js on Ubuntu 13

How to Install Latest Node.js on Ubuntu

If you’ve been exploring the world of front-end and JavaScript, you might have come across Node.js. It is a server-side framework that uses Google’s V8 engine to execute JavaScript code. Developers can use Node.js as it provides them with an easy way to build fast and scalable network applications, using single-threaded asynchronous events. In this …

How to Install Latest Node.js on Ubuntu Read More »

Setup Selenium with Python and Chrome on Ubuntu & Debian 14

Setup Selenium with Python and Chrome on Ubuntu & Debian

Selenium is a versatile tool that can be used for automating browser-based tests. It has a wide range of features that make it an ideal choice for automating tests. Selenium can be used to automate tests for web applications and web services. Selenium supports a number of programming languages, including Java, C#, Python, and Ruby. …

Setup Selenium with Python and Chrome on Ubuntu & Debian Read More »

How to Setup Squid Proxy Server on Ubuntu and Debian 15

How to Setup Squid Proxy Server on Ubuntu and Debian

What is Squid? Squid is a proxy server that can be used to improve network performance and security. It can be used to cache web pages and images, allowing your users to access these files more quickly. Squid can also be used to protect your network from malicious content. If you’re an experienced system administrator, …

How to Setup Squid Proxy Server on Ubuntu and Debian Read More »

How to Add and Remove Users on Ubuntu 22.04

How to Add and Remove Users on Ubuntu 22.04

One of the most essential tasks of a system administrator is to learn the method to add and remove users on a Linux-based system such as Ubuntu 22.04. By default, when you start a new system, the access related to the root account is given to you. However, Ubuntu 22.04 system also permits you to …

How to Add and Remove Users on Ubuntu 22.04 Read More »

How to Set Up SSH Keys on Ubuntu 22.04

How to Set Up SSH Keys on Ubuntu 22.04

Secure Shell Technology or SSH is a network communication protocol that permits two systems to securely communicate in an unsecured network. This cryptographic protocol is also utilized for command–line executables or remote login programs such as terminal applications. Users who want to use SSH for connecting to other remote systems must have SSH configured on …

How to Set Up SSH Keys on Ubuntu 22.04 Read More »

Setting Up Environment Variables on Ubuntu 46

Setting Up Environment Variables on Ubuntu

An environment variable contains a value, that is used to change the behaviors of the processes at run time. Similar to the other operating systems, we can also set the environment variables on a Ubuntu system. You can set the environment variables in 3 ways: Using the export command Using /etc/environment file Adding shell script …

Setting Up Environment Variables on Ubuntu Read More »

How to Install Apache Maven on Ubuntu 22.04 47

How to Install Apache Maven on Ubuntu 22.04

Apache Maven is developed for the building the Java-based applications. It can also build applications written in C#, Ruby, Scala, and other languages. Maven is very helpful for starting new build applications in various environments. It can manage a project’s build, reporting, and documentation from a central piece of information. Maven maintains its own repository …

How to Install Apache Maven on Ubuntu 22.04 Read More »