c programming

Space Invaders (Sort of)

Today I made a basic version of space invaders, to workout my programming muscles. I sourced the idea from a challenge provide by @no-weekend, the challenge being “Old becomes new” I didn’t really stick to the challenge, I more so just made a prototype of space invaders. I did however throw a 2 “Portals” in the game so you can go round and a round.

Keep reading

PROGRAMMING LANGUAGES GIJINKAS (PART 1)

  1. HTML: Handles Internet with CSS and Javascript. Breaks the 4th wall on a daily basis. Literally a popstar. The gay is strong here.
  2. CSS: The one that does HTML’s wardrobe. Avid abstract artist. Bullies Javascript for eternity. Extremely one sided love for HTML.
  3. Javascript: Will do anything to keep HTML’s shit together. Has more than 10 toolboxes. Java’s happy sibling. Lowkey crush on Ruby.
  4. PHP: Confused 80% of the time. Oblivious to everything. ??????. No one knows she’s a great musician.
  5. SQL: Tsundere like no tomorrow. Cares a lot about PHP, but also consistently gets pissed at her. They live in the library. Robot arm because of a bookshelf accident.
  6. Python: Loves mountains and camping. Owns 2 bikes. Lowkey crush on the entire C family. Flaming bisexual.
  7. Ruby: Python’s hiking partner. Lives in a cave she renovated all on her own. Secretly wants to overthrow Python. Highkey crush on Javascript.
  8. C: Wildlife and nature. Exercises with tree trunks. The one who taught Python how to camp. Daddy.
  9. C++: The son of C. Always hangs out with Java at the arcade. Consistently wins online arguments. Has a crush on Python.
  10. Java: C++’s bestfriend. Owns 2 bookshelfs: One with video games, and one with actual books. Doesn’t know what sleep is. Absolute nerd.

As promised. Which ones should I do next?

The most poetic introduction to computer science I’ve seen

Computational processes are abstract beings that inhabit computers. As they evolve, processes manipulate other abstract things called data. The evolution of a process is directed by a pattern of rules called a program. People create programs to direct processes. In effect, we conjure the spirits of the computer with our spells. 

A computational process is indeed much like a sorcerer’s idea of a spirit. It cannot be seen or touched. It is not composed of matter at all. However, it is very real. It can perform intellectual work. It can answer questions. It can affect the world by disbursing money at a bank or by controlling a robot arm in a factory. The programs we use to conjure processes are like a sorcerer’s spells. They are carefully composed from symbolic expressions in arcane and esoteric programming languages that prescribe the tasks we want our processes to perform.

- From Chapter 1 of The Structure and Interpretation of Computer Programs, by Harold Abelson and Gerald Jay Sussman with Julie Sussman (MIT Press 1996, 2nd edition).

[Refer to Clarke’s Third Law: Any sufficiently advanced technology is indistinguishable from magic.]

Here we see a visualization of the top 32 bytes of RAM (which hold the bottom 32 bytes of the system stack) as the system dumps the contents of memory over serial. You can see the top 8 bits of the address counting up in the upper right quadrant.

My apologies for the shakycam; due to the instability of running this system on a breadboard, I was only able to get this to work once. I’ve verified the DMA is working, so I’m guessing I have a loose power connection to the display card.

Keep reading

The thing about computer programming is that it’s a complete pain in the ass when you’re trying to figure out the problem, yet when you finally solve it, when you finally have that aha moment, the feeling of accomplishment is unlike anything you’ve felt when you’ve accomplished something. You think holy shit, I can make technology work, and that feeling is totally worth the long stretch of hours or even days when computer programming feels like a pain in the ass.

OpenRPG Developers Blog

4/27/17

Welcome to the OpenRPG Developers Blog!

The OpenRPG developer blog will be used to communicate changes, ideas, and concepts involved in the OpenRPG project.

OpenRPG is still in its infancy and I want it to do a lot by v1.0.0! What OpenRPG aims to accomplish two fold.

First, it will be a tool for someone to use to quickly create content for a tabletop RPG world. v1.0.0 will focus specifically on the 5e rules, however I hope to have that expand out to include Pathfinder and as far back as AD&D.

Secondly, OpenRPG should be structured in such a way that game developers that want to emulate the d20 system in a video game could easily implement our libraries in their games to help speed production of back end tools.

Keep reading

youtube

ONE SLOW THOUGHT by Mark Barrott

from the album Sketches from an Island Vol.2 (2014) on International Feel Records