weph.dev

Articles

  • Making the Map Scroll (Back to the Pascal, Ep. 2)
    Time to make the map scroll... and to suffer the consequences. Off-by-one errors, scrambled blocks, weird glitches ...
  • Pixels, Tiles, Sprites (Back to the Pascal, Ep. 1)
    It's the first week of my project, and I'm exploring the basics: drawing pixels, tiles, and eventually sprites.
  • Finishing the Game I Started 35 Years Ago
    I'm gonna finish programming a game I started almost 35 years ago! Well, at least I'm gonna try.
  • Raising the Bar
    I started my professional career with PHP in the year 2000. Professional in the sense that I got paid to program, not so much because of my knowledge of PHP.
  • Advent of Rust // Day 11
    I love that each Advent of Code reminds me at one point that I never paid much attention in math class...
  • Advent of Rust // Day 9
    I finally had some time to review day 9. For some reason, I didn't get the logic behind the knot movement in part two...
  • Advent of Rust // Day 10
    After taking a day off, I'm a little behind. For some reason, I can't wrap my head around part two of day 9, but fortunately, day 10 was easy again.
  • Advent of Rust // Day 8
    I'll just leave it here without further comment.
  • Advent of Rust // Day 7
    I spent this morning trying to build a super generic directory tree structure using dynamic types and ended up being frustrated...
  • Advent of Rust // Day 6
    Easy one. I still haven't figured out why Rust sometimes can not infer types, like with the hash set below.
  • Advent of Rust // Day 5
    Today's puzzle was another one where the solutions for the two parts differed only in a minuscule detail.
  • Advent of Rust // Day 4
    The plural of regex is regrets, some people say, but I like 'em. Not for everything and all the time but they come in handy for some tasks.
  • Advent of Rust // Day 3
    I was surprised there's no built-in way to find the intersection of multiple sets...
  • Advent of Rust // Day 2
    The second day was still easy on the puzzle side...
  • Advent of Rust // Day 1
    Today is December 1st and thus the first day of Advent of Code. This year I decided to give Rust a try...
  • Colocating Tests and Production Code in PHP(Unit)
    Colocating tests and production code is the default in some programming languages and has become the de facto standard in others...
  • I wouldn't write a test for that
    Last week, I was helping a colleague who was working on a small application...
  • Advent of Haskell, Part 2
    It's already been more than two weeks since I started my little Advent of Code + Haskell adventure...
  • Approaching 100% code coverage in a healthy way
    One question the always comes to my mind in the discussion about code coverage is: What does the percentage refer to anyway?
  • Advent of Haskell, Part 1
    This year is the first time that I participate in the Advent of Code...
  • About confidence, code, and tests
    Whether you're reading a classic like "Test-driven Development by Example" by Kent Beck or a yet another article on medium. When it's about testing, there's always some talk about confidence. That made me think.