Tag: programming

Home / programming
Linear Programming for Data Scientists
Post

Linear Programming for Data Scientists

As Data Scientists we become acquainted with the concept of optimization very early in our careers. Optimization lies at the heart of every machine learning model. But our relationship with optimization goes way back; we’ve been [unknowingly] solving optimization problems since before we can remember: The fastest way to get to work Organizing our budget...

Here’s How Not to Suck at JavaScript
Post

Here’s How Not to Suck at JavaScript

Let’s be honest. A lot of JavaScript code sucks. Change that! JavaScript is a force to be reckoned with. It is the single most widely-used programming language in the world. Its simplicity and the abundance of learning resources make it approachable for beginners. Large talent pools make JavaScript appealing to companies of all sizes. A...

What to expect in Python 3.8
Post

What to expect in Python 3.8

The upcoming version on Python is on its way. The Python 3.8 beta cycle begun with Python 3.8.0b1 last month. Earlier this month, the second beta was released, making Python 3.8 feature complete. Python 3.8 will go through two more planned beta release previews before the official version is released in October. According to the...

How to Avoid Common Difficulties in Your Data Science Programming Environment
Post

How to Avoid Common Difficulties in Your Data Science Programming Environment

Reduce the incidental issues in your programming environment so you can focus on the important data science problems. Consider the following situation: you’re trying to practice your soccer skills, but each time you take to the field, you encounter some problems: your shoes are on the wrong feet, the laces aren’t tied correctly, your socks are...

Go Language and Object-Oriented Programming
Post

Go Language and Object-Oriented Programming

Is Go an Object-Oriented Language? Yes and No. Although Go has types and methods and allows an object-oriented style of programming, there is no type hierarchy. The concept of “interface” in Go provides a different approach that we believe is easy to use and in some ways more general. There are also ways to embed types...

How To Make Python Faster
Post

How To Make Python Faster

Follow These Quick Wins To Make Python Run Faster Python is too slow, often people complain. But wait, there are many ways to improve its performance This article aims to highlight the key tips in a succinct manner. It is useful for anyone who wants to improve the performance of your python code. I reduced the...

The Art of Command Line
Post

The Art of Command Line

Meta Basics Everyday use Processing files and data System debugging One-liners Obscure but useful macOS only Windows only More resources Disclaimer Fluency on the command line is a skill often neglected or considered arcane, but it improves your flexibility and productivity as an engineer in both obvious and subtle ways. This is a selection of...

How to Write A Programming Language
Post

How to Write A Programming Language

Under the Hood Have you ever found yourself writing code and wondering exactly what is going on under the hood? How does programming really work? In an attempt to peel back at least one of the curtains, Jessica Betts and I created our own Esoteric Programming Language based on Lord of the Rings lore called My_Precious. There are many...

These are the most insecure programming languages
Post

These are the most insecure programming languages

WhiteSource review of programming language security errors reveal which languages have the most security holes. The winner? C. But that’s only the start of the story. From top to bottom, technology is riddled with security errors. At the lowest level, we have hardware errors such as Intel’s Meltdown and Spectre bugs. Just above those, we have...

5 programming languages developers love most, and 3 they hate
Post

5 programming languages developers love most, and 3 they hate

Spoilers: One coding language ended up on both the most loved and most hated lists, according to a Hired report. Employer demand for certain programming languages may be strong, but that doesn’t mean developers always love coding in those languages, according to Hired’s 2019 State of Software Engineers report, released Thursday. What’s Hot at TechRepublic Inside the Raspberry...

Microsoft’s TypeScript programming language rising fast, almost makes top 10
Post

Microsoft’s TypeScript programming language rising fast, almost makes top 10

Microsoft TypeScript is popular and it’s here to stay as a prominent language, according to analyst RedMonk. TypeScript, Microsoft’s language for building JavaScript at scale, is now one of the most popular languages with developers and hot on the heels of Apple-backed Swift. TypeScript, released by Microsoft in 2012, is now in 12th spot in the...

Asynchronous programming in JavaScript
Post

Asynchronous programming in JavaScript

37.1. A roadmap for asynchronous programming in JavaScript 37.1.1. Synchronous functions 37.1.2. JavaScript executes tasks sequentially in a single process 37.1.3. Callback-based asynchronous functions 37.1.4. Promise-based asynchronous functions 37.1.5. Async functions 37.1.6. Next steps 37.2. The call stack 37.3. The event loop 37.4. How to avoid blocking the JavaScript process 37.4.1. The user interface of the browser can be blocked 37.4.2. How can we avoid blocking the...

Building Code
Post

Building Code

How were programming languages built? Here’s a brief history. We, humans, have always been on the lookout for somebody to do our heavy and unwanted lifting. First it was simple machines, then steam powered beasts, and at the end a bunch of semiconductors and a quartz. But how do you get a simple stone to do...

This week’s repository on Github: atto
Post

This week’s repository on Github: atto

Atto is an insanely simple functional programming language It features a syntax driven entirely by polish notation and no delimiters to speak of (it ignores all non-separating whitespace). What do you get for this simplicity? Well… an insanely simple language with a ~200 line self-hosted interpreter. Despite these design limitations, it’s actually possible to write...

Unsupervised Learning: Randomized Optimization
Post

Unsupervised Learning: Randomized Optimization

This is the 12th in a series of class notes as I go through the Georgia Tech/Udacity Machine Learning course. The class textbook is Machine Learning by Tom Mitchell. This marks the start of a new miniseries on Unsupervised Learning, the 2nd of 3 sub disciplines within Machine Learning. Our Goal: Optimization Given an input space X, and an...

Asynchronous programming. Await the Future
Post

Asynchronous programming. Await the Future

This is the third post of a series about asynchronous programming. The whole series tries to answer the simple question: “What is asynchrony?”. At first, when I just started digging into the question – I thought that I know what it is. It turned out that I didn’t know a clue about what asynchrony is...

Explain Python classes and objects to my nephew (+advanced use)
Post

Explain Python classes and objects to my nephew (+advanced use)

It is common secret that Python programming language has a solid claim to being the fastest-growing major programming language witnessing an extraordinary growth in the last five years, as seen by Stack Overflow traffic. Based on data describing the Stack Overflow question views which go to late 2011, the growth of Python relative to five other major...

Essential Books That Every Programmer Should Read
Post

Essential Books That Every Programmer Should Read

Never ask advice of someone with whom you wouldn’t want to trade places — Darren Hardy The idea to collect a list of books that knowledgeable, experienced and well-known programmers recommends to read comes to me from The long Journey to Ruby Mastery conference talk by Bozhidar Batsov. Here I share what I have found so far: the books recommendations...