Open in app

Sign In

Write

Sign In

Raimi Karim
Raimi Karim

2.1K Followers

Home

About

Published in Towards Data Science

·Pinned

Illustrated: Self-Attention

A step-by-step guide to self-attention with illustrations and code — The illustrations are best viewed on the Desktop. A Colab version can be found here (thanks to Manuel Romero!). Changelog: 30 Dec 2022 — Use Medium’s new code block for syntax highlighting 12 Jan 2022 — Improve clarity 5 Jan 2022 — Fix typos and improve clarity What do BERT…

Machine Learning

9 min read

Illustrated: Self-Attention
Illustrated: Self-Attention
Machine Learning

9 min read


Published in ITNEXT

·Sep 11, 2022

Design by Contract in Rust

An ergonomic design using proc macros — Changelog: 31 Dec 2022 — Use Medium’s new code block for syntax highlighting Today I came across a beautiful piece of work: the contracts crate. This crate provides programmers with procedural macros to annotate functions and methods with Design by Contract specifications. A little background — Design by Contract (DBC)…

Rust

3 min read

Design by Contract in Rust
Design by Contract in Rust
Rust

3 min read


Published in ITNEXT

·Aug 17, 2022

Rust Ownership: 50 Code Examples

Try them in the Rust Playground — Changelog: 2 Jan 2023 — Use Medium’s new code block for syntax highlighting Running into ownership problems like borrowing a value that has already been moved? If you are, then I’ve got 50 code snippets (fine, there are 53) for us to practise together in the Rust Playground. This article…

Rust

15 min read

Rust Ownership: 50 Code Examples
Rust Ownership: 50 Code Examples
Rust

15 min read


Published in ITNEXT

·Aug 5, 2022

Creating a Rust Web App with Rocket and Diesel

I had a blast — Changelog: 30 Dec 2022 — Use Medium’s new code block for syntax highlighting Declarative, decoupled, laconic, batteries-included — adjectives that I would associate Rocket with after tinkering with it. I would say I really enjoyed myself. See here for a quick review. This is yet another article on Rust +…

Rust

7 min read

Creating a Rust Web App with Rocket and Diesel
Creating a Rust Web App with Rocket and Diesel
Rust

7 min read


Published in ITNEXT

·Jul 28, 2022

Unhandled Exceptions in Kotlin Collections

Why didn’t you warn me earlier? — Kotlin’s collections package in the Kotlin Standard Library is full of wonderful goodies. Unfortunately, some of these methods can throw exceptions. This is extremely undesirable if your program doesn’t already handle these exceptions, causing your program to crash at runtime. Yucks. I have personally encountered exceptions like java.lang.IndexOutOfBoundsException or java.util.NoSuchElementException…

Kotlin

2 min read

Kotlin

2 min read


Jul 26, 2022

4 Ways to Take Control of Your Learning in College

Make the best out of it — Are you still in control of your learning? Or are you bogged down by how your lecturer delivers the course material? Is the course material insufficient? Are the slides not suited to how you learn? It’s time to regain control of your learning. 1. Look for other resources Don’t live your university life thinking that…

Learning

3 min read

4 Ways to Take Control of Your Learning in College
4 Ways to Take Control of Your Learning in College
Learning

3 min read


Published in Dev Genius

·Jul 9, 2022

Spring Boot Externalised Configurations: 4 Things to Avoid

And what you can do about them — Changelog: 30 Dec 2022 — Use Medium’s new code block for syntax highlighting In Spring Boot, configurations can be easily externalised so that we can work with the same application code across different deploys. However, there are some areas where you might shoot yourself in the foot later because of…

Spring Boot

5 min read

Spring Boot Externalised Configurations: 4 Things to Avoid
Spring Boot Externalised Configurations: 4 Things to Avoid
Spring Boot

5 min read


Published in Better Programming

·Feb 16, 2022

Going From Python to Kotlin: 10 Language Features to Know

Kotlin is fun — Changelog: 30 Dec 2022 — Use Medium’s new code block for syntax highlighting Mutability? Null safety? val and var? These are some Kotlin features alien to me when I first started. I was programming in Python before I picked up Kotlin (and JavaScript) for work a year ago. Transitioning from…

Python

7 min read

Going From Python to Kotlin: 10 Language Features to Know
Going From Python to Kotlin: 10 Language Features to Know
Python

7 min read


Published in ITNEXT

·Jan 30, 2022

Hacking the Python syntax: Alternate lambda syntax

In 60 lines of code — Introduction | Ternary operator | Alternate lambda syntax | No return keyword in function (coming soon)| List comprehension++ (coming soon) Changelog: 31 Dec 2022 — Use Medium’s new code block for syntax highlighting Table of contents Anonymous function Current syntax How are the others doing it? Target syntax Adding tokens Changing the grammar …

Python

8 min read

Hacking the Python syntax: Alternate lambda syntax
Hacking the Python syntax: Alternate lambda syntax
Python

8 min read


Published in Better Programming

·Jan 21, 2022

3 Perspectives I Uncovered From The Pragmatic Programmer

And how you can benefit from them too — Everyone’s talking about The Pragmatic Programmer. My boss recommended that we read it. Blogs say this is one of the must-read books for software engineers. So I decided to check it out. The book deals with software, knowledge, and uncertainty sensibly. But what’s more important are the perspectives I have…

Programming

6 min read

3 Perspectives I Uncovered From The Pragmatic Programmer
3 Perspectives I Uncovered From The Pragmatic Programmer
Programming

6 min read

Raimi Karim

Raimi Karim

2.1K Followers

🇸🇬 Software Engineer at GovTech • Master of Computing AI at NUS • Subscribe at remykarem.medium.com/membership

Following
  • Ayodeji Awosika

    Ayodeji Awosika

  • Thomas Oppong

    Thomas Oppong

  • Darius Foroux

    Darius Foroux

  • Tim Denning

    Tim Denning

  • Stephen Moore

    Stephen Moore

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech