C#

Userless authentication using public-key cryptography – Part 1

Up until now, everything had been satisfactory...

The Problem

I've been creating a sort of digital board game for Android in Unity. Having arrived at the part where I needed to implement multiplayer, I was faced with a dilemma. How will these players find one anothers' games and connect to play? How will they invite friends? How will I identify them? How will their moves synchronize between devices? Am I going to ask them to create a user account? (more…)

By kryptx, ago
Opinion

Comments

I’m thinking about starting to write more opinions in this space. If I do that, I will be disallowing comments, and I want you to understand why. The internet is an amazing place where everybody can share their ideas and hear those shared by others. This is a welcome advancement, Read more…

By kryptx, ago
Opinion

Is this comment worth maintaining?

I think it's pretty interesting that, early in our careers as young budding software engineers, we are told that "write comments to explain why -- not what -- you are doing", and I, at least, have never really challenged or evaluated that bit of wisdom. I think it would serve us well to better qualify this by attempting to engineer what a comment should do. (more…)

By kryptx, ago
Opinion

Unit and Integration: in harmony

I like unit tests for testing my web services. They're fast, and they give me confidence that a little bit of code does what I think it does. I like integration tests for testing my web services. They test the way my pieces interact with each other in ways that unit tests can't, and give me confidence that my app behaves correctly in general. (more…)

By kryptx, ago
Elixir

Rebar3 detected a lock file from a newer version.

Running mix deps.compile on a new phoenix project with exrm may result in the following warning:

===> Rebar3 detected a lock file from a newer version. It will be loaded in compatibility mode, but important information may be missing or lost. It is recommended to upgrade Rebar3.
I'm running MacOS Sierra and installed Elixir along with Erlang from homebrew. (more…)

By kryptx, ago
Opinion

Besides, why is it unpronounceable?

I’ve spent a fair amount of time both authoring and consuming RESTful APIs that adhere to the HATEOAS constraint that has become so popular lately. An acronym for Hypertext as the Engine of Application State, it typically means that the API provides hypertext links for clients to navigate their structure. Read more…

By kryptx, ago
Uncategorized

Craps Simulator, II

I identified a bug in the simulator and fixed it. Now, the traditional craps table performs better than the crapless table in all scenarios I’ve tested. I’m more comfortable with these results, which give about a 76-78% chance of breaking even or better given a certain ratio of bet size Read more…

By kryptx, ago