Anders TornbladAnders Tornblad

  • Services
  • Blog
  • Contact
  • Archives
  • Categories
Skip to main content

Archives

  • May 2024
  • January 2024
  • November 2023
  • June 2023
  • May 2023
  • April 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • June 2022
  • April 2022
  • December 2021
  • October 2021
  • July 2021
  • June 2021
  • April 2021
  • December 2019
  • September 2019
  • October 2018
  • June 2018
  • December 2017
  • March 2016
  • February 2016
  • December 2015
  • May 2015
  • April 2015
  • May 2013
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • April 2012
  • January 2012
  • December 2011
  • December 2010
  • December 2006
  • March 2006
  • December 1998
  • August 1998

Categories

  • Architecture
  • ASP
  • ASP.NET
  • C#
  • C++
  • CSS
  • Frontend
  • Git
  • Hello World
  • Java
  • JavaScript
  • NuGet
  • PHP
  • Productivity
  • Retrocomputing
  • SQL
  • Teaching
  • Windows
  • ZX Spectrum

Projects

  • Conphig
  • JS MOD player

Repositories

  • addtouch
  • artsy
  • conphig
  • csv
  • ut
  • js-mod-player
  • my-twitter-manager
  • enigmatic
  • mt-mvc
  • zx-spectrum-bitmap
  • 21 March 2016

    Emulating ZX Spectrum graphics in JavaScript

    I'm using EcmaScript 6 Proxy objects to keep track of dirty blocks in emulated ZX Spectrum video RAM in a browser. I describe how the ZX Spectrum video RAM works, and implement an emulator using modern JavaScript.

  • 8 March 2016

    Using Source Maps with CSS

    When CSS or JavaScript is minified, there is a mechanism called Source Maps that can help you inspect the original code directly in the browser. Sometimes it requires some extra configuration.

  • 6 March 2016

    FizzBuzz in CSS

    Creating a FizzBuzz solution using only CSS is probably impossible, but with just a little HTML added, it's perfectly doable, using a combination of CSS counters and the nth-child() pseudo-class selector.

  • 2 March 2016

    Converting from Type to SqlDbType

    The .NET type system and SQL Server types are not very easy to map to each other. In SQL, variables don't just have a type, but can also have precision and maximum length, which is not possible to translate into simple .NET types. Here I show a naïve approach at translating from one type system to another.

  • 29 February 2016

    "Hello, World!" in Pascal

    A "Hello, World!" program in Pascal can be written by calling the global WriteLn function to send the "Hello, World!" string to the standard output stream.

  • 27 February 2016

    "Hello, World!" in ZX Spectrum machine code

    A "Hello, World!" program in Z80 assembler for the ZX Spectrum can be written by calling the CHAN_OPEN and PRINT subroutines to send the "Hello, World!" string to the screen channel.

  • 26 February 2016

    "Hello, World!" in CSS

    A "Hello, World!" program in CSS can be written by setting the "Hello, World!" text as the content of the ::before pseudo-element of the html element.

  • 25 February 2016

    "Hello, World!" in HTML

    A "Hello, World!" program in HTML can be written by creating a paragraph element containing the "Hello, World!" text.

  • 24 February 2016

    "Hello, World!" in JavaScript

    A "Hello, World!" program in JavaScript can be written by calling the log method of the console object to send the "Hello, World!" string to the standard output stream, or the developer console in a web browser.

  • 22 February 2016

    "Hello, World!" in PHP

    A "Hello, World!" program in PHP can be written by using the built-in echo statement to send the "Hello, World!" string to the standard output stream.

  • 22 February 2016

    Overriding console.log in JavaScript

    JavaScript is a dynamic language, where even functions are just object variables, pointing to some runnable code. This makes it possible to replace default implementations with your own implementations. However, if you are not careful, it can lead to problems that are hard to debug.

  • 21 February 2016

    "Hello, World!" in Java

    A "Hello, World!" program in Java can be written with a static main method of a class, and calling the println method of the System.out PrintStream object to send the "Hello, World!" string to the standard output stream.

⇠ Page 4 Page 6 ⇢