Skip to main content
Home

Main navigation

  • Home
User account menu
  • Log in
By Skander , 14 August, 2024

Clean and Reusable Property Validation Using TypeScript Decorators

typescript logo

In this blog post, we’ll explore how to implement two custom object property validators using TypeScript decorators. While popular libraries like class-validator already provide a rich set of decorator-based validators, our goal here is to demonstrate how to build your own—specifically, a @Positive validator and a @NotEmpty validator—in a clean and reusable way.

By Skander , 15 June, 2013

Inferno By Dan Brown

Dan Brown Inferno Book Cover

I am an avid reader of Dan Brown books. I loved reading "Angels and Demons". His book "The Davinci Code" motivated me to learn more about the three major monotheist religions from a historical point of view.

I was anticipating the publication of "The Lost Symbol" book. The book came after a three-years delay and it was such a disappointment. I had the impression that Daniel Brown was writing his book for Holywood and not for his readers. I said to myself, Brown is dead as an author and he will never dare to publish a book again. A passing fashion.

Novels
By Skander , 11 March, 2013

What Is Your Erdös Number?

Paul erdos

I have purchased, last weekend, Paul Hoffman's book The Man Who Only Loved Numbers. This is a biography of the great and equally eccentric number theorist of all times Paul Érdös.

The book has been published in 1998, two years after the death of Érdös in Warsaw. The first 25% of Hoffman's book is interesting and entertaining at the same time. It tell the story of a man who devoted his whole life to Mathematics, who travelled from country to country carrying all his belongings in a briefcase and a bag.

Science books
By Skander , 20 January, 2013

Configuration de la SlingBox 500 avec le service Vidéotron

Slingbox 500

Je viens d'acquérir une SlingBox. La SlingBox est un équipement que l'on connecte à un terminal de réception télé et à un routeur. La SlingBox permet par la suite de contrôler ce terminal télé à distance là où une connexion Internet est disponible et aussi d'écouter la télé à l'autre bout du monde comme si on était chez soi. La SlingBox vient en deux moèles la SlingBox 350, à 179$, et la SlingBox 500 à 299$. Le dernier modèle dispose d'une connexion sans fil et d'un port HDMI.

Technology
By Skander , 11 December, 2012

An Erdos-Renyi Random Graph Generator and Analyzer

UPDATE this application is now part of SKapps.

 

Apps
By Skander , 2 December, 2012

A K-Means Clustering Animator

UPDATE: KMeans Animator is now part of SKapps.

 

This JavaScript application implements the popular k-means clustering algorithm. Intermediate clusters and centroids are drawn at every step.

k-means is an iterative, simple and fast clustering algorithm. It groups a set of n data points into k clusters. The number of clusters being a prameter of the algorithm.

Apps
By Skander , 29 September, 2012

Collatz Conjecture Calculator

UPDATE The Collatz conjecture application migrated to skapps repository.

 

Apps
By Skander , 23 September, 2012

Easy Integration of Rich Internet Applications with Drupal - The Installation Hooks

This is the last post in the Easy Integration of Rich Internet Applications with Drupal series. It describes the Drupal installation hooks that automate the creation of the Rich Internet Application content type as well as that of its related fields..

Technology
  • More From Skander

My Apps

  • One-dimensional Cellular Automata Simulator
  • Collatz (Syracuse) Sequence Calculator / Visualizer
  • Erdős–Rényi Random Graph Generator / Analyzer
  • KMeans Animator
  • Language Family Explorer

New Articles

What Started as a PHP Security Patch Became a Full Server Upgrade
Modeling Passenger Behavior and Subway Platform Congestion During Service Disruptions with NetLogo
Superintelligence — Reflections on Nick Bostrom's Most Influential Book on AI
Agent-Based Modeling: Exploring Complexity Through Simulation
Pedalytics, Part 1 — Scoping, Architecting, and Generating an MVP with AI

Skander Kort