|
Enhancing Particle Swarm Optimization with Local Optimization - The purpose of this post is to introduce a new two-step optimizing technique that utilizes Particle Swarm Optimization (PSO) and local numerical optimization. The code for this optimization method can be found here and is a work in progress. In real-world applications such as hyper-parameter tuning of machine learning models,...
|
|
I would argue that even in the age of the app, a domain for your side project is still absolutely important. Now, despite that, one of the truths of side projects is that your domain is important but you aren't going to be dogmatic about it in the way that a funded company approaches their naming. What I like to do for this is figure out possible options and then run with a multiple domain search service. I'm playing around with a proje....
|
|
Repository: @knadh/listmonk GitHub release page: v0.6.1-alpha Breaking changes: This version replaces the old rudimentary SMTP pooling lib with a new one that supports retries, idle timeouts, and graceful fails. This introduces breaking changes in the form of new fields under SMTP configuration: idle_timeout, wait_timeout, max_msg_retries, tls_enabled, tls_skip_verify.
|
|
A few days ago Fatih posted this question on twitter. I’m going to attempt to give my answer, however to do that I need to apply some simplifications as my previous attempts to answer it involved a lot of phrases like a pointer to a pointer, and other unhelpful waffling. Hopefully my simplified answer can […]
|
|
In this post I walk through the current commonly accepted way of organizing Kubernetes manifest files and propose a new approach that brings consistency, modularity and adaptability to our Kubernetes application manifests. If you don’t feel like reading a lenghty blog post and wish to get to the meat right away, jump straight to the conclusion and my list of recommendations . The current way A common way of organizing k..
|
|
Corosim – a tool for modelling the COVID-19 epidemic in Finland
-
www.attejuvonen.fi
-
6 years ago
-
eng
Corosim is a project I worked on during my time in Futurice. Corosim combines historical estimates and model predictions for the COVID-1…
|
|
I hated writing documentation before working on features. But after a while I realized I couldn't communicate well enough, even with folks I had a good connection with. It took me a number of mistaken deliveries to get the message. Sketches and mockups Designers solve this by producing low-fidelity sketches early on in the process, iterating on feedback to produce a high-fidelity mockup. I solve this by producing short RFC (request for com....
|
|
Repository: @knadh/listmonk GitHub release page: v0.6.0-alpha :warning: Use release v0.6.1-alpha instead of this version (broken TLS support) Changelog cb331b9 Merge branch ‘master’ of github.com:knadh/listmonk abddcb9 Remove redundant SMTP LOGIN auth implementation 69d3e9b Fix JSON error on HTML form subscription
|
|
Leveling Up Your Python Literacy and Finding Python Projects to Study
-
realpython.com
-
6 years ago
-
eng
In your quest to become a better developer, how do you find Python code that is at your reading level? What are good code bases or projects to study? What are the things holding you back from leveling up your Python literacy? This week we have Cecil Phillip on the show to discuss all of these common questions. Cecil is a Senior Cloud Advocate at Microsoft.
|
|
Another interesting piece, among several others , on encouraging writing within an organization. As I prepare to move on to a new role, I’m happy to report that my team’s efforts to publish an internal written product on a regular schedule has gone well so far. I hope it continues in my absence, and I look forward to starting a similar project with my next team. Permalink.
|
|
Introduction In most of the reviews for this post, I was asked why choose a graph database over something else? This is a hard question to answer since my experience right now is limited on the graph database side. My guess is you’re wondering the same thing, so this is my best answer to date. At this point in my career, I would only choose a relational database if I was writing financial software. Relational databases are very rigid..
|
|
In every responsive web project, you need media queries to adapt to different screen sizes. Styled components are a popular way to write CSS styles in React applications. This article proposes a way to write media queries with the styled components library Emotion.
|
|
If you dabble in 3D printing, you’ve probably stumbled upon the OctoPrint project . It’s a web interface for your printer. It’s a very cool project with lots of features. The typical use case is to host OctoPrint on a Raspberry PI . That requires a bit of fiddling around if you want to power it from the printer’s power supply. It’s a very popular project so finding instructions on how to do it isn’t difficult.
|
|
Within Malta’s Education system, as a secondary school student, you are constantly working towards the O-Levels, which are examinations set…
|
|
After five years away from personal blogging, I'm returning to share technical stories that don't fit on Twitter or corporate blogs.
|
|
Single Message Transformations - The Swiss Army Knife of Kafka Connect
-
www.morling.dev
-
6 years ago
-
eng
Table of Contents Format Conversions Ensuring Backwards Compatibility Filtering and Routing Tombstone Handling Externalizing Large Payloads Limitations Learning More Do you remember Angus "Mac" MacGyver? The always creative protagonist of the popular 80ies/90ies TV show, who could solve about any problem with nothing more than a Swiss Army knife, duct tape, shoe strings and a paper clip? The single message transf..
|
|
Single Message Transformations - The Swiss Army Knife of Kafka Connect
-
www.morling.dev
-
6 years ago
-
eng
Table of Contents Format Conversions Ensuring Backwards Compatibility Filtering and Routing Tombstone Handling Externalizing Large Payloads Limitations Learning More Do you remember Angus "Mac" MacGyver? The always creative protagonist of the popular 80ies/90ies TV show, who could solve about any problem with nothing more than a Swiss Army knife, duct tape, shoe strings and a paper clip? The single message transf..
|
|
Learn about some great open source tools for Terraform code testing, like TFLint, Terratest, GOSS, and more.
|
|
In Go 1.14, the new T.Cleanup() function schedules defer-like work to be done after the current test. This makes it possible to write very comfortable setup helper functions: func SetUpFrobnicator(t *testing.T) *frob.Frobnicator { t.Helper() f := frob.New() // Do setup. t.Cleanup(f.Close) // Schedule cleanup for later. return f } func TestFoobar(t *testing.T) { f := SetUpFrobnicator(t) // (Run the test itself, using f.) } Previo..
|
|
In Go 1.14, the new T.Cleanup() function schedules defer-like work to be done after the current test. This makes it possible to write very comfortable setup helper functions: func SetUpFrobnicator(t *testing.T) *frob.Frobnicator { t.Helper() f := frob.New() // Do setup. t.Cleanup(f.Close) // Schedule cleanup for later. return f } func TestFoobar(t *testing.T) { f := SetUpFrobnicator(t) // (Run the test itself, using f.) } Previo..
|
|
In Go 1.14, the new T.Cleanup() function schedules defer-like work to be done after the current test. This makes it possible to write very comfortable setup helper functions: func SetUpFrobnicator(t *testing.T) *frob.Frobnicator { t.Helper() f := frob.New() // Do setup. t.Cleanup(f.Close) // Schedule cleanup for later. return f } func TestFoobar(t *testing.T) { f := SetUpFrobnicator(t) // (Run the test itself, using f.) } Previo..
|
|
The other day I needed to take some regular expressions and convert them to strings. And while executing a .to_s on the regular expression itself worked correctly it brought through the regular expression characters so there were things like: covid[ -]19 where what I was looking for was just the "covid19" bit (I was generating hashtags from the matched regular expressions for the new CovidNearMe News Aggregator ). I started diggin....
|
|
This is a good, solid read. I wouldn't call it life changing for me, more life upkeeping. For some people it can be life changing though. In this book, Austin argues that we should all share our work. He will share a lot of useful advice for doing work in public. Austin is very convincing. If you never considered sharing your work, by the end of this books, you will be convinced.
|
|
The very sucessful open-source project OpenMapTiles is used by 250 millions users every month. Here are the plans for the future.
|
|
The main technique in software design is this: You look at the entirety of your system and you decompose it into pieces that are more manageable and have clear interfaces. This approach is usually referred to as modularization . But what’s the point of investing such an effort if in the end only the externally visible properties of a software matter? In his classic paper “On the Criteria To Be Used in Decomposing Systems into Modules” ....
|
|
The main technique in software design is this: You look at the entirety of your system and you decompose it into pieces that are more manageable and have clear interfaces. This approach is usually referred to as modularization . But what’s the point of investing such an effort if in the end only the externally visible properties of a software matter? In his classic paper “On the Criteria To Be Used in Decomposing Systems into Modules” ....
|