• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Code Specialist

Code Specialist

Code and Programming Blog

  • Home
  • Clean Code
  • Code Principles
  • Code Interview
  • Python

Latest Posts

In this article we want to take a look at the k-means algorithm. The k-means algorithm is used to determine clusters. It is often the first algorithm you will see in any machine learning introduction, as it is easy to understand. We will code the algorithm in Python and also visualize it.

January 31, 2021

Visualize K Means Algorithm in Python
5 (2)

In this article we want to take a look at the k-means algorithm. The k-means algorithm is used to determine clusters. It is often the first algorithm you will see in any machine learning introduction, as it is easy to understand. We will code the algorithm in Python and also visualize it.

Category iconAlgorithms,  Learn to Code,  Python Tag iconData Science

books and dictionaries containing tricks

December 8, 2020

Dictionary-Tricks in Python
5 (3)

In Python, the dictionary is one of the most powerful data structures you can use. There are many features and techniques concerning dictionaries that you may not have on your radar yet, but they will help you to simplify your code and gain more flexibility. This post will present you the 10 most important dictionary-tricks in Python!

Category iconPython,  Write Better Code Tag icondictionaries,  Pythonic,  Tricks

grey metal marching cubes

December 5, 2020

Marching Cubes Algorithm
5 (3)

The Marching Cubes Algorithm is a meshing algorithm in the field of computer graphics. It is used to extract a polygonal mesh out of an isosurface from a three- or two-dimensional scalar field. It is primarily used for visualization modeling because it makes it easy to adjust the generated mesh.

Category iconAlgorithms Tag iconComputer Graphics,  Marching Cubes,  Meshing

December 1, 2020

Midpoint Line Algorithm
4.9 (7)

The midpoint line algorithm is a drawing algorithm in the field of computer graphics. It is used to determine how lines are translated into pixels.

Category iconAlgorithms,  Python Tag iconComputer Graphics

colored easter eggs in green grass

October 28, 2020

7 Python Easter Eggs
4.8 (5)

Python is an exciting language and has always some surprises in store, no matter how long you have been working with it. In this Post, I will present 7 really cool easter eggs in Python. Feel free to try them out on your own, I hope you enjoy it!

Category iconPython Tag iconCode,  Easter Eggs,  funny,  Nice to know

construction worker working on toggle switches

October 25, 2020

Compensating the Switch-Statement in Python
4.8 (8)

Most common programming languages feature the switch-statement, while Python doesn’t. At first glance, you maybe ask why Python doesn’t support such a common and basic control pattern. This post will explain it and show alternatives for the switch statement!

Category iconPython,  Write Better Code Tag iconAlternative,  Clean Code,  dictionaries,  switch

September 29, 2020

How to use Linux Ubuntu with Windows 10
4.7 (3)

If you are a developer or plan to become one, developing on Windows as the operating system (OS) can be… pretty unpleasant. Therefore I want to list some ways on how to use Linux Ubuntu 20.04 with Windows 10. Often it’s no option to install the Linux OS directly to the computer. That’s when virtualization comes into play.

Category iconEnvironment,  Learn to Code,  Technical Background Tag iconUbuntu 20.04,  Virtualization with Windows

September 29, 2020

Underscores in Python
4.7 (3)

Python is a great language in my eyes, it’s simple to understand, write and its indentation forces at least a bit of styling into the code. But when it comes to underscores, there’s often confusion.

Category iconLearn to Code,  Python Tag iconPythonic,  Underscores

August 18, 2020

… \r’: No such file or directory
4 (2)

If you encountered this error when executing a bash script its probably because you use a script that was written under Windows and you want to use this in an Unix system now. The problem is that the control characters of your file are different, depending on wich OS (Operating System) you use. 1. Fix […]

Category iconErrors Tag iconControl Characters,  Unix

  • « Go to Previous Page
  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to Next Page »

Primary Sidebar

Search

Categories

  • Algorithms
  • Code Interview
  • Code Principles
  • Environment
  • Errors
  • Hardware
  • Learn to Code
  • Nice to know
  • Object Orientation
  • Python
  • Technical Background
  • Write Better Code

Tags

Alternative (1) Announcement (1) Clean Code (6) Code (1) Code Interview Question (2) Code Philosophy (1) Comments (1) Computer Graphics (2) Concurrency (1) Control Characters (1) Data Science (1) Data Structures (1) decorators (2) dictionaries (3) Easter Eggs (1) funny (1) Github Actions (1) Marching Cubes (1) Meshing (1) Nice to know (1) Parallelisation (1) Programming Facts (1) Pythonic (3) PyYAML (1) Readability (4) Simple is good (2) Software Engineering (2) switch (1) Syntax (1) Tricks (1) type hints (1) Ubuntu 20.04 (1) Underscores (1) Unix (1) Video (1) Virtualization with Windows (1)

Footer

Recent Posts

  • 5 Hardware Ideas to Upgrade your Programming Experience
  • 5 Programming facts every programmer must know
  • Decorators in Python
  • New Syntax Features in Python 3.9
  • 5 Ways to Speed Up Python Code

Tags

Alternative Announcement Clean Code Code Code Interview Question Code Philosophy Comments Computer Graphics Concurrency Control Characters Data Science Data Structures decorators dictionaries Easter Eggs funny Github Actions Marching Cubes Meshing Nice to know Parallelisation Programming Facts Pythonic PyYAML Readability Simple is good Software Engineering switch Syntax Tricks type hints Ubuntu 20.04 Underscores Unix Video Virtualization with Windows

Categories

  • Algorithms
  • Code Interview
  • Code Principles
  • Environment
  • Errors
  • Hardware
  • Learn to Code
  • Nice to know
  • Object Orientation
  • Python
  • Technical Background
  • Write Better Code

Recent Comments

  • Nina on Bubble Sort in Python and how to Visualize it
  • Bhan on Concurrency in Python

Follow Us

  • Facebook
  • Instagram
  • Pinterest
  • Twitter

Quicklinks

  • About us
  • Become a writer

Privacy Policy | Legal Notice | Contact

 

All rights reserved © 2020-2021 code-specialist.com