Skip to main content
Donate to support Ukraine's independence.

Learning Rust: porting a simple Java exercise to Rust

Many of the IT people working in enterprise settings are familiar with classical OOP (Object Oriented Paradigm) and languages built with OOP in mind, like Java, C#, Python and C++. However these years functional programming and languages focused on memory safety are emerging and becoming popular. One of the languages which is emerging is Rust, which focuses on memory safety and “fearless concurrency” (cit.); you can still use it with OOP in mind, but with some caveats.

An introduction to Redux with React

Many React applications (if not most of them) need to manage some sort of state in order to be fully functional. When state changes, the DOM must also change. Moreover the information displayed might be different and specific to a certain state. Generally we can manage state in React using some hooks like useState and useContext. More specifically the React Context API is very useful for managing non-local component-wide (or app-wide) state, but it has some cons. This is where Redux comes in.

Dissecting JWT (JSON Web Tokens)

Authentication may be a scary and delicate topic, since dealing with it involves diving into the security details of an application. There are various ways for dealing with authentication, such as HTTP BASIC AUTHENTITCATION, OAuth 1.0, OAuth 2.0, etc. However recently I came across JWT (JSON Web Token), so here we will see how these tokens work.