Musing Mortoray

Programming and Life

Menu

  • About Edaqa
  • What is Programming?

System Architecture for Edaqa’s Room

By mortoray on 2021-04-15 • ( Leave a comment )

Highly inefficient invisible animations (CSS/Firefox/Chrome/React)

By mortoray on 2021-01-16 • ( 1 Comment )

High-Throughput Game Message Server with Python websockets

By mortoray on 2020-12-06 • ( 1 Comment )

What I look for while play-testing

By mortoray on 2020-11-23 • ( Leave a comment )

How to write a custom selector in React

By mortoray on 2020-08-16 • ( Leave a comment )

I Wrote an Online Escape Game

By mortoray on 2020-07-31 • ( Leave a comment )

Messy error handling in Rust with `try!`

By mortoray on 2015-10-21 • ( 20 Comments )

I just read the documentation for std::result in Rust. A friend had pointed it out and said it left a sour taste in his mouth, as it does mine. These are essentially […]

Adding the first type expression to Leaf: type_infer

By mortoray on 2015-10-17 • ( 5 Comments )

I’ve added the ability to type a variable based on an expression. The type_infer type operator resolves to the type of the provided expression — a useful feature for parametrics. Though not […]

Defects allowed by imprecise access modifiers

By mortoray on 2015-10-14 • ( 9 Comments )

I recently fixed a defect that I felt the compiler could have caught. Some initialization code was not being run as I was calling a protected function instead of the correct public […]

Robot journalist predicts programmers will be obsoleted

By mortoray on 2015-09-24 • ( Leave a comment )

Am I, as a programmer, in danger of being obsoleted by a program of my own creation? A recent BBC article gives programmers an 8% chance of being automated, whereas an NPR […]

The curse of varargs

By mortoray on 2015-09-07 • ( 2 Comments )

Unexpectedly I needed to add support for variable argument functions to Leaf long before I intended to. I just wanted to print out a value, but it turns out that the standard […]

Reusing existing test suites for new features

By mortoray on 2015-08-10 • ( Leave a comment )

Redundancy is one of the biggest sources of problems on any project, especially in tests. Having an unmaintainable test suite is in nobody’s interest. Eliminating redundant code is one of those things […]

Calculating square root using Newton’s iterative method

By mortoray on 2015-07-29 • ( 4 Comments )

I suddenly had a desire to calculate square roots. It’s been one of those things that just sits at the back of my mind lingering. I knew roughly that an iterative method […]

A real cost of low performing applications

By mortoray on 2015-07-27 • ( Leave a comment )

The platform as a service model adds new importance to the performance of our software. Despite ever decreasing hardware costs, metered services make every bit count. My previous article on performance touched […]

You can’t trade privacy for security

By mortoray on 2015-07-15 • ( 1 Comment )

The idea that one can give up privacy in exchange for security is misguided and dangerous. It’s a cliché peddled by politicians who either just don’t understand or are intentionally misleading the […]

Essential facts about floating point calculations

By mortoray on 2015-07-06 • ( 14 Comments )

Floating point numbers are everywhere. It’s hard to find software that doesn’t use any. For something so essential to writing software you’d think we take great care in working with them. But […]

Be a good mentor, not a dickhead

By mortoray on 2015-06-24 • ( 5 Comments )

I’ve worked with a lot of people of varying skill levels, from superstar programmers to not-sure-how-they-got-the-job types. Integrating and working with new people is always a daunting task. For great people, it’s […]

Antialiasing with a signed distance field

By mortoray on 2015-06-19 • ( 1 Comment )

When drawing basic primitives we want nice smooth edges. This means both pixel correctness and antialiasing. In my previous article about drawing a rectangle I showed how to use a distance function. […]

Get rid of those boolean function parameters

By mortoray on 2015-06-15 • ( 13 Comments )

I need to make a quick variation of a function. The calculation, or behaviour, differs slightly on the needs of the caller. I throw in a bool parameter to do this switch. […]

Combining several GL draw calls into one: a rounded rectangle

By mortoray on 2015-06-12 • ( 10 Comments )

My previous article explains how I draw a rounded rectangle using a shader instead of tesselation. The biggest remaining issue is using eight calls to draw; one draw call would be much […]

Posts navigation

‹ Newer 1 … 4 5 6 7 8 9 10 11 12 13 14 … 18 Older ›

Read My Book

Do you know what it takes
to become a great programmer?

  • People are the reason software exists.
  • At the heart of any software is source Code.
  • Behind the screen is a real person: You.
Read Now
 

Follow Me

Like my work?
Signup to my mailing list
  • Instagram
  • Twitter
  • Medium
  • LinkedIn
  • Facebook

Search

Recent Posts

  • System Architecture for Edaqa’s Room
  • Highly inefficient invisible animations (CSS/Firefox/Chrome/React)
  • High-Throughput Game Message Server with Python websockets
  • What I look for while play-testing
  • How to write a custom selector in React

Several links on my site are affiliate links to Amazon.

🇺🇸   🇨🇦   🇫🇷   🇬🇧   🇮🇳   🇩🇪
As an Amazon Associate I earn from qualifying purchases.

Hosted by WordPress.com.

I use Netim and Hover for domain names.

  • Top categories: Programming python
  • Social links:
    TwitterFacebookGoogle+TumblrLinkedIn
Create a website or blog at WordPress.com |
  • Follow Following
    • Musing Mortoray
    • Join 7,584 other followers
    • Already have a WordPress.com account? Log in now.
    • Musing Mortoray
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...