|
Swig is a tool to generate bindings for c/c++, it can produce bindings for Python, Java, Go and more. Unfortunately Swig for Go is very limited, so as the Swig & Go documentation. Here are some notes taken while writing a binding from c++ to Go: To bind standard types into Golang Let’s look at this c++ function: int64_t Ticks() const; Simply include sdtint into Swig %include "stdint.i" It will translate into Go
|
|
After two years of running a home Kubernetes setup, I have more thoughts and lessons about how to run a home cluster.
|
|
Installing a multi-node Kubernetes cluster with Ubuntu Multipass
-
mustafaakin.dev
-
6 years ago
-
eng
There are tons of tutorials out there for installing Kubernetes. I am just documenting my homelab installation. I like to install Kubernetes without external tools, but relying on kubeadm and using actual Linux installations in VMs, it gives me more control and helps me to understand how it actually works, compared to alternatives like minikube and kind. First, I will create 3 VMs with Ubuntu Multipass. The reason I have chosen it is that i..
|
|
I am sitting in my apartment in Täby, which is an area north of Stockholm in Sweden. There are two large playgrounds outside and as usual they are busy with kids, parents, and some grandparents milling about socializing.
|
|
Do you get upset and frustrated when you experience errors running your Python code? This week we have Martin Breuss on the show. We discuss how to learn Python *through* errors, and how errors really are your friends.
|
|
I have tried numerous to-do applications in the past; from the very simplest to the all-singing, all-dancing applications and they have never stuck. I used them for a week or so and realised a month later that I hadn’t used them for a while.
|
|
I have tried numerous to-do applications in the past; from the very simplest to the all-singing, all-dancing applications and they have never stuck. I used them for a week or so and realised a month later that I hadn’t used them for a while.
|
|
As the number of states with shelter-in-place orders nears 50, if you haven’t run out of time yet , you will soon. Valentin makes the case that these orders will stand for at least two months , so prepare now — if you still can. Permalink.
|
|
I have returned to Linux and i3wm, and hopefully will be writing more posts!
-
mustafaakin.dev
-
6 years ago
-
eng
I started using macOS almost five years ago. It has been a great journey so far. Its retina screen, font rendering, portability, the look and feel of the applications are great. However, lately, it has been in a regression in terms of speed and stability. The increasing number of errors, fan going of randomly, software force closing, touch bar stopping responding and many more things have made my love fade away for over a year, and I hate t..
|
|
Engineering culture is a key pillar of modern digital businesses
-
www.thoughtworks.com
-
6 years ago
-
eng
Business owners like you and technology experts like me are witness to the evolution of every organization into a digital organization. This movement is born out of the realization that technology is not just a supporting software function but is at the core of every transforming business.
|
|
I wrote before about EasyThread which makes it much easier to write multi-threaded code in Codename One. One problem in that scenario was the inability to define a generic exception handler for that scenario. With the current version of Codename One we now have a new generic error handling API for easy threads: public void addErrorListener(ErrorListener err); public static void addGlobalErrorListener(ErrorListener err); These methods..
|
|
Snyk Integrates with AWS to Help Enterprises Build Secure Applications
-
snyk.io
-
6 years ago
-
eng
Today, we're announcing two major pieces of news to take our ability to reach and service AWS customers to the next level.
|
|
I came across an excellent site for summaries of productivity books. There are a lot of sites out there that provide summaries however the quality of the video summaries is excellent and seems to be updated fairly frequently.
|
|
I came across an excellent site for summaries of productivity books. There are a lot of sites out there that provide summaries however the quality of the video summaries is excellent and seems to be updated fairly frequently.
|
|
The only part of this story I find unbelievable is that anyone considers this outside the realm of possibility. Chilling. Permalink.
|
|
As of today, I am moving all of my personal projects , including my Yzena projects , away from GitHub and onto a server that I administer . There are three reasons for this. First, GitHub will block access to projects because of trade sanctions . Second, GitHub will inexplicably block access to projects when an author calls someone a cruel, crude, and rude name . This is not sensitive; it is authoritarian . Third, GitHub’s ser..
|
|
As of today, I am moving all of my personal projects , including my Yzena projects , away from GitHub and onto a server that I administer . There are three reasons for this. First, GitHub will block access to projects because of trade sanctions . Second, GitHub will inexplicably block access to projects when an author calls someone a cruel, crude, and rude name . This is not sensitive; it is authoritarian . Third, GitHub’s ser..
|
|
As of today, I am moving all of my personal projects , including my Yzena projects , away from GitHub and onto a server that I administer . There are three reasons for this. First, GitHub will block access to projects because of trade sanctions . Second, GitHub will inexplicably block access to projects when an author calls someone a cruel, crude, and rude name . This is not sensitive; it is authoritarian . Third, GitHub’s ser..
|
|
As of today, I am moving all of my personal projects , including my Yzena projects , away from GitHub and onto a server that I administer . There are three reasons for this. First, GitHub will block access to projects because of trade sanctions . Second, GitHub will inexplicably block access to projects when an author calls someone a cruel, crude, and rude name . This is not sensitive; it is authoritarian . Third, GitHub’s ser..
|
|
As of today, I am moving all of my personal projects , including my Yzena projects , away from GitHub and onto a server that I administer . There are three reasons for this. First, GitHub will block access to projects because of trade sanctions . Second, GitHub will inexplicably block access to projects when an author calls someone a cruel, crude, and rude name . This is not sensitive; it is authoritarian . Third, GitHub’s ser..
|
|
As of today, I am moving all of my personal projects , including my Yzena projects , away from GitHub and onto a server that I administer . There are three reasons for this. First, GitHub will block access to projects because of trade sanctions . Second, GitHub will inexplicably block access to projects when an author calls someone a cruel, crude, and rude name . This is not sensitive; it is authoritarian . Third, GitHub’s ser..
|
|
YES YES YES - Importing Constants from Python to Ruby at Execution Time
-
fuzzyblog.io
-
6 years ago
-
eng
This is going to fall into the category of "Dancing Bear" coding in that it isn't how well it works or how elegant it is, it is that it, like the bear, dances at all. Here's the problem. Three code bases that live in: ohi_kafka/experts-all (python) ohi_kafka/loader_reddit_to_kafka (ruby) ohi_kafka/loader_twitter_to_kafka (ruby) And a series of code modules that define array of regular expressions in a constant always named REGEXES th....
|
|
YES YES YES - Importing Constants from Python to Ruby at Execution Time
-
fuzzyblog.io
-
6 years ago
-
eng
This is going to fall into the category of "Dancing Bear" coding in that it isn't how well it works or how elegant it is, it is that it, like the bear, dances at all. Here's the problem. Three code bases that live in: ohi_kafka/experts-all (python) ohi_kafka/loader_reddit_to_kafka (ruby) ohi_kafka/loader_twitter_to_kafka (ruby) And a series of code modules that define array of regular expressions in a constant always named REGEXES th....
|
|
I’ve updated Formulas for Bayesian A/B Testing to include a new equation for analyzing four-pronged (A/B/C/D) tests.
|
|
Back in November of last year, I linked to an interesting article by Noah Gibbs on how to encourage a blogging culture at your company . Where Noah focused more on the individual, Dan Luu — in How (some) good corporate engineering blogs are written — looks at organizational factors that lead to successful corporate blogs. I encourage giving both a read. As I begin working toward a version of this at work, I found referring to both he..
|