|
In my last article I discussed the basics of Swift's new Codable protocol, briefly discussed how to implement your own encoder and decoder, and promised another article about a custom binary coder I've been working on. Today, I'm going to present that binary coder. (Read More)
|
|
Friday Q&A 2017-07-28: A Binary Coder for Swift Friday Q&A 2017-07-28: A Binary Coder for Swift In my last article I discussed the basics of Swift's new Codable protocol, briefly discussed how to implement your own encoder and decoder, and promised another article about a custom binary coder I've been working on. Today, I'm going to present that binary coder. Source Code As usual, the source code is available on GitHub: h....
|
|
If you’re a regular visitor to this blog, you might be aware that we have been transitioning to a microservices based architecture over the past four to five years, as we have shared insights into the process and the related challenges on multiple occasions. To recap, adopting a microservices architecture has allowed us to regain team autonomy by breaking up our monolithic backend into dozens of decoupled services, each encapsulating a well..
|
|
If you’re a regular visitor to this blog, you might be aware that we have been transitioning to a microservices based architecture over the past four to five years, as we have shared insights into the process and the related challenges on multiple occasions. To recap, adopting a microservices architecture has allowed us to regain team autonomy by breaking up our monolithic backend into dozens of decoupled services, each encapsulating a well..
|
|
The Breville Boss To Go is a sleek, powerful personal blender with a die-cast metal driveshaft. It easily liquifies leafy greens and finely grinds seeds.
|
|
TLDR; with a deadline looming, my productivity shot up exponentially. I’ve had mixed feelings about deadlines. Having perfectionist tendencies, I often felt that they prevent me from doing my best work. When I do the best work I can do, I feel extremely satisfied. Like a craftsman after a finished piece of work. However, this also leads to a lot of unfinished projects. On the flip side, when deadlines have been set, my productivity goes..
|
|
It’s almost 2am and I’m sleepy, but I wanted to write this down while it’s relatively fresh in my mind.
|
|
I recently gave a talk at DevOps Days ( slides ) and it had a pretty great response. I’m still pretty care-mad about the topics it covered so I figured I would turn some key points from it into a blog post. The overall outline of the talk covered the past, present, and future of usable security. Let’s start with the past. The Past A lot of the security tooling of the past (that we still use today) require users to jump through a lot of ....
|
|
1300-1600 words, 6 1/2 to 8 1/2 minutes. An Etching of Samson by Julius Schnorr von Carolsfeld, from an 1882 German Bible. “He grasped two pillars of the temple and bowed himself with all his might” - Judges 16:30. Introduction This post is about online services which rely partly, or wholly, on user-contributed content. It’s about what happens to that content if those services close. I’ll examine the constraints and motivations of the parti..
|
|
In this episode we'll tackle a topic that joins many parts of the systems and so is hard to fully cover. It has a relationship with everything in the system, it glues it together. We're going to be discussing processes on Unix.
|
|
LUA's concat method works just like PHP's implode, so simply needs to be called in a similar manner. Returns a string containing each of the table entries, delimited by whatever delimiter is passed into concat Read more…
|
|
Gabe whipped up a great list of checklist tools. My favorite aspect of his post is that there’s no clear winner. There shouldn’t be. Checklists can come in all forms, and the ideal format depends entirely on the application. For me, checklists make sense when I need to see not only what needs to be done, but also what I’ve already done . Apps that automatically “vanish” completed tasks fail to do the latter. For me, sometimes there’s....
|
|
Hopefully by now, most of you have had a chance to try out the new GUI Builder – specifically the new “auto layout” mode that allows you to position components with much greater precision than before. For this blog post, I have prepared a couple of video tutorials to walk you through the creation of a Sign In form using the GUI Builder. I have taken the existing Sign In demo project as a basis, but I’m re-doing the UI, which was originally ..
|
|
Problem: Express a boolean logic formula using polynomials. I.e., if an input variable $ x$ is set to $ 0$, that is interpreted as false, while $ x=1$ is interpreted as true. The output of the polynomial should be 0 or 1 according to whether the formula is true or false as a whole. Solution: You can do this using a single polynomial. Illustrating with an example: the formula is $ \neg[(a \vee b) \wedge (\neg c \vee d)]$ also known as
|
|
Problem: Express a boolean logic formula using polynomials. I.e., if an input variable $ x$ is set to $ 0$, that is interpreted as false, while $ x=1$ is interpreted as true. The output of the polynomial should be 0 or 1 according to whether the formula is true or false as a whole. Solution: You can do this using a single polynomial. Illustrating with an example: the formula is $ \neg[(a \vee b) \wedge (\neg c \vee d)]$ also known as
|
|
Problem: Express a boolean logic formula using polynomials. I.e., if an input variable $ x$ is set to $ 0$, that is interpreted as false, while $ x=1$ is interpreted as true. The output of the polynomial should be 0 or 1 according to whether the formula is true or false as a whole. Solution: You can do this using a single polynomial. Illustrating with an example: the formula is $ \neg[(a \vee b) \wedge (\neg c \vee d)]$ also known as
|
|
My first foray into software development when I was a kid was as a web developer. I don’t admit this to many people, but the first language I ever learned halfway decently was PHP. I led a confused childhood. After that, though, I was introduced to Ruby on Rails, and I’ve been using it ever since. I don’t do web development professionally anymore, but I have a number of web-based side projects, making websites for friends or family.
|
|
I hoped to finish migrating all of the material from the original bootcamp to the new courses but got delayed due to external influences. There isn’t much left so I’m sure I’ll be done with the existing modules in early August and get started on the first of the new modules. If you haven’t kept up I added a lot of modules over the past few weeks covering a very wide set of subjects such as animations, tablet support, cloud server setup ..
|
|
Poor Visual Studio code generation for reading from and writing to member variables
-
www.forwardscattering.org
-
9 years ago
-
eng
I spend quite a lot of time trying to write fast code, but it is something of an uphill battle with Microsoft's Visual Studio C++ compiler. Here is an example of how MSVC struggles with member variable reads and writes in some cases. Consider the following code. In the method writeToArray(), we write the value 'v' into the array pointed to by the member variable 'a'. The length of the array is stored in the member variable 'N'. clas....
|
|
I’ve got an Asus C301S at work, it’s a Chromebook with Chromeos. I like those little laptops, for the price it’s actually a very good little machine. ChromeOS is responding very well, ssh and Chrome are working too. But I often need more, like X11 forwarding or offline coding … You will see the C301SA is marked as a C300SA internally. Here are the steps to install Arch Linux on it, do it at your own risk, you can brick your computer, you wi..
|
|
Fractional Padding/Margin, Rounded Border, Ripple, Caps, Google Connect
-
www.codenameone.com
-
9 years ago
-
eng
We’ve been very busy the past few weeks despite the summer time but August is always problematic, I will personally take some time off from the blog next week and near the end of August. To allow that I want to clear my table from a lot of the features that went into Codename One over the past couple of weeks and didn’t get sufficient or any documentation…
|
|
Intel and their x86 computing architecture have pretty much dominated the computing industry since the late 1980s. In other words, nearly all computers that you’ve used at work or home for the past three decades have used Intel’s proprietary x86 (and later, x64) CPUs. The Intel 80-386 running DOS and Win3.1 won the PC wars by the early 1990s. Then came the Intel 80-486, Pentium, Pentium II, Pentium III, Pentium IV, Core Duos, Core i7s, a..
|
|
Intel and their x86 computing architecture have pretty much dominated the computing industry since the late 1980s. In other words, nearly all computers that you’ve used at work or home for the past three decades have used Intel’s proprietary x86 (and later, x64) CPUs. The Intel 80-386 running DOS and Win3.1 won the PC wars by the early 1990s. Then came the Intel 80-486, Pentium, Pentium II, Pentium III, Pentium IV, Core Duos, Core i7s, a..
|
|
In the winter, I get questions about how I deal with the cold. In the summer, I get questions about how I deal with the heat. Being the more agreeable seasons, spring and fall are generally less concerning to people. I’ve talked about dealing with the cold already. Just throw on a few of your favorite layers and cozy up with a comfy blanket. But winter is so last season. With Bay Area temperatures occasionally reaching triple..
|
|
In the winter, I get questions about how I deal with the cold. In the summer, I get questions about how I deal with the heat. Being the more agreeable seasons, spring and fall are generally less concerning to people. I’ve talked about dealing with the cold already. Just throw on a few of your favorite layers and cozy up with a comfy blanket. But winter is so last season. With Bay Area temperatures occasionally reaching triple..
|
|
SimCity Cartridge How does a city work? Why does building a Police Station not reduce crime some times? Will you get elected as Mayor of your own town next year? Find out in this addicting game as you build for hours. First Impressions The push of a power switch and the sweet sweet sound of 16-bit music fills the air. As the music plays, I am starting to get excited about what is about to come… Wait What?! The intro theme is only 8 mea..
|