On Saturday I felt like drawing and (no surprises here) I decided to create a painting of my cat. Without further ado, this is the result. At the top center and right section of the photo you may notice the paws of my cat which was present during the whole process and which actually is responsible for some of the inconsistencies of the painting (blaming the cat) . Imagine a cat having a moving paint brush in front of her and not tou....
|
On Saturday I felt like drawing and (no surprises here) I decided to create a painting of my cat. Without further ado, this is the result. At the top center and right section of the photo you may notice the paws of my cat which was present during the whole process and which actually is responsible for some of the inconsistencies of the painting (blaming the cat) . Imagine a cat having a moving paint brush in front of her and not tou....
|
|
Following my earlier post about Traefik 2 and Kubernetes, here are some advanced configuration examples and a full yaml example at the end of this post: Protecting a route with a password Create an htpasswd file named users for a user admin htpasswd -c users admin Use kubectl to create the secret (easier for multi lines file). kubectl create secret generic admin-authsecret --from-file=users Create a middleware for authentication: apiVersion..
|
|
Implementation of an efficient algorithm for changepoint detection: ED-PELT
-
aakinshin.net
-
6 years ago
-
eng
Changepoint detection is an important task that has a lot of applications. For example, I use it to detect changes in the Rider performance test suite. It’s very important to detect not only performance degradations, but any kinds of performance changes (e.g., the variance may increase, or an unimodal distribution may be split into several modes). You can see examples of such changes in the following picture (we change the color when a c..
|
|
What does it mean to be a open-source project maintainer?
-
www.nateberkopec.com
-
6 years ago
-
eng
There are many different responsibilities for the maintenance of an open source project, and while some of them get called “maintainership”, I’m not sure they should be. Let’s zoom out for a moment. What labor must be performed, by someone, anyone - in any successful open source project? Writing code - fixing bugs, writing new features, refactoring old code. Writing documentation - explaining why things are the way they are. Recordi....
|
|
What does it mean to be a open-source project maintainer?
-
www.nateberkopec.com
-
6 years ago
-
eng
There are many different responsibilities for the maintenance of an open source project, and while some of them get called “maintainership”, I’m not sure they should be. Let’s zoom out for a moment. What labor must be performed, by someone, anyone - in any successful open source project? Writing code - fixing bugs, writing new features, refactoring old code. Writing documentation - explaining why things are the way they are. Recordi....
|
|
Implementation of an efficient algorithm for changepoint detection: ED-PELT
-
aakinshin.net
-
6 years ago
-
eng
Changepoint detection is an important task that has a lot of applications. For example, I use it to detect changes in the Rider performance test suite. It’s very important to detect not only performance degradations, but any kinds of performance changes (e.g., the variance may increase, or an unimodal distribution may be split into several modes). You can see examples of such changes in the following picture (we change the color when a c..
|
|
Repository: @knadh/otpgateway GitHub release page: v2.2.0 Changelog 09fd765 Merge branch ‘master’ of github.com:knadh/otpgateway d1d3eb5 Merge pull request #9 from joeirimpan/master 701e671 ref: Support for optional template file and subject 2b4f243 ref: Expose otp struct to provider
|
|
In the beginning, before the go tool, before Go 1.0, the Go distribution stored the standard library in a subdirectory called pkg/ and the commands which built upon it in cmd/. This wasn’t so much a deliberate taxonomy but a by product of the original make based build system. In September 2014, the Go distribution […]
|
|
Desert Skies - exclusive inside information from the developers
-
secretgeek.net
-
6 years ago
-
eng
Unless you've been living under a rock like some disgusting sand-sneaking Seeker -- you're aware of the awesome sensation taking the gaming community by storm: Desert Skies . Here's a video of the game play in case you're not familiar. I recently sat down for an intense lunch with one of the minds from White Rabbit Games - the creative duo behind this Indy gaming sensation, and I found out some exclusive information. Although th..
|
|
Desert Skies - exclusive inside information from the developers
-
secretgeek.net
-
6 years ago
-
eng
Unless you've been living under a rock like some disgusting sand-sneaking Seeker -- you're aware of the awesome sensation taking the gaming community by storm: Desert Skies . Here's a video of the game play in case you're not familiar. I recently sat down for an intense lunch with one of the minds from White Rabbit Games - the creative duo behind this Indy gaming sensation, and I found out some exclusive information. Although th..
|
|
Desert Skies - exclusive inside information from the developers
-
secretgeek.net
-
6 years ago
-
eng
Unless you've been living under a rock like some disgusting sand-sneaking Seeker -- you're aware of the awesome sensation taking the gaming community by storm: Desert Skies . Here's a video of the game play in case you're not familiar. I recently sat down for an intense lunch with one of the minds from White Rabbit Games - the creative duo behind this Indy gaming sensation, and I found out some exclusive information. Although th..
|
|
Over the past few years, I’ve taken to using technology less and less in my daily life. I leave my phone in the car when going to a party or social event. I’ll only fetch it if I want to take a picture, and only after appreciating the moment I’d like to capture to the fullest. When I listen to music on my phone (via headphones) during the long walks I take to get exercise and relax, I don’t check my phone at all. If the environment around..
|
|
Over the past few years, I’ve taken to using technology less and less in my daily life. I leave my phone in the car when going to a party or social event. I’ll only fetch it if I want to take a picture, and only after appreciating the moment I’d like to capture to the fullest. When I listen to music on my phone (via headphones) during the long walks I take to get exercise and relax, I don’t check my phone at all. If the environment around..
|
|
Needed to rewrite the date format in a couple of csv columns. Emacs multiple cursors helps here, but needed a function to parse and reformat the dates themselves. I can likely reformat dates using the built-in parse-time-string and format-time-string functions, but hey why not give the ts.el library a try… (defun ar/region-to-timestamp () "Convert date like \"29 Apr 2019\" to \"2019-04-29\"." (interactive) (let ((date (ts-parse ..
|
|
Released a tiny npm package today: @0xadada/random-emoji , a javascript random emoji function with zero dependencies. $ yarn add @0xadada/random-emoji $ node > const random = require('@0xadada/random-emoji'); > random() '😁' let a = random(); // defaults to 'emoticons' let b = random('emoticons'); let c = random('food'); let d = random('animals'); let e = random('expressions'); console.log(a, b, c, d, e); // 😍 🙄 🍗 🐥 🤢 Small, fun.
|
|
When writing long sentences in documentation repositories, git tends to show really unhelpful diffs. They are unreadable because long lines aren’t broken, which hides edits happening towards end of line. A colleague of mine asked me if git couldn’t be configured to make this sort of thing more obvious. Challenge accepted! Figure 1: Can you spot the edit made in a long line of text?
|
|
Get a cool graph of commits from the command line! For newbies and experts alike, git is a bit hard to visualize. Here’s a handy git command to make understanding git easier. git log --decorate --oneline --graph Figure 1: Git graph of this repository This can be made into a git command via an entry your ~/.gitconfig: [alias] graph = log --decorate --oneline --graph Code Snippet 1 : Alias "graph" defined in ~/.gi..
|
|
When writing long sentences in documentation repositories, git tends to show really unhelpful diffs. They are unreadable because long lines aren’t broken, which hides edits happening towards end of line. A colleague of mine asked me if git couldn’t be configured to make this sort of thing more obvious. Challenge accepted! Figure 1: Can you spot the edit made in a long line of text?
|
|
Get a cool graph of commits from the command line! For newbies and experts alike, git is a bit hard to visualize. Here’s a handy git command to make understanding git easier. git log --decorate --oneline --graph Figure 1: Git graph of this repository This can be made into a git command via an entry your ~/.gitconfig: [alias] graph = log --decorate --oneline --graph Code Snippet 1 : Alias "graph" defined in ~/.gi..
|
|
Emacs dired is a powerful directory browser/editor. By default, it shows lots of handy file and directory details. I typically prefer hiding file and directory details until I need them. The built-in dired-hide-details-mode makes this easy with the "(" key toggle. Coupled with Steve Purcell 's diredfl (for coloring), it strikes a great user experience. With a short snippet, you can also show/hide dired details in style: (u..
|
|
Maps are fun, self hosted maps are awesome ! Serving world maps was reserved to big companies like Google, thanks to the OpenStreetMap project, we now have access to an open world of data. Generating Tiles MapBox (and others) worked hard to create a vector format bundled in a SQLite file: mbtiles format. It’s vector based as opposed to older raster maps containing 256x256 PNG images. The Openmaptiles folks did a great job automating the map..
|
|
New scripts: xb.sql and xbi.sql - Explain Oracle Execution Plans Better! (Part 1)
-
tanelpoder.com
-
6 years ago
-
eng
Here’s a blog entry about some “new” Oracle execution plan displaying scripts that I’ve had since 2011 or so - I just tidied them up recently and added some improvements too. My aim in this blog post is not to go deep into SQL tuning topics, but just show what these scripts can do. The new scripts xb.sql and xbi.sql ( eXplain Better and eXplain Better, by sqlId ) are in my GitHub repo. Make sure you pull the latest changes as I uplo..
|
|
New scripts: xb.sql and xbi.sql - Explain Oracle Execution Plans Better! (Part 1)
-
tanelpoder.com
-
6 years ago
-
eng
Here’s a blog entry about some “new” Oracle execution plan displaying scripts that I’ve had since 2011 or so - I just tidied them up recently and added some improvements too. My aim in this blog post is not to go deep into SQL tuning topics, but just show what these scripts can do. The new scripts xb.sql and xbi.sql ( eXplain Better and eXplain Better, by sqlId ) are in my GitHub repo. Make sure you pull the latest changes as I uplo..
|
|
We at Canonical have been hard at work on the security features of version 2 of the Robot Operating System (ROS 2). However, if we lift our collective heads up out of the weeds it’s easy to see folks completely misunderstanding how security works today in ROS 2. We’ve written some design articles to help distill all the moving pieces into something comprehensible, but I wanted to do the same here in a slightly less formal way.
|
|
I see U-Haul’s video on the importance of proper trailer loading resurface every once in a while, and most recently at Jalopnik . I do my best to avoid trailers . I don’t even like pulling them on paved roads, and off-road, they make all but the easiest tracks impossible. If you get stuck using one, though, at least know how to load it. Permalink.
|
|
Shifting compliance left: Helping legal teams and developers cooperate around licensing issues
-
snyk.io
-
6 years ago
-
eng
We are excited to share that we now support customized license instructions, helping the teams in your organization collaborate better together on licensing compliance: legal teams can better equip developers to shift compliance left by customizing license policies with clear instructions, and developers can then more easily integrate license analysis as part of their routine workflow.
|
In an effort to put my comic out for more to see I'm going to make it a habit of posting them here! ...
|
|
Integration Testing in Go: Part II - Set-up and Writing Tests
-
www.ardanlabs.com
-
6 years ago
-
eng
Prelude This post is the 2nd installment of a 2 part series about integration testing. You can read the first installment , which is about executing tests in a restricted environment using Docker. The example repository that this post draws it examples from can be found here . Introduction ”More than the act of testing, the act of designing tests is one of the best bug preventers known.” - Boris Beizer Before an integration t..
|
|
Do you think there are any declarative programming languages at the moment that are developed enough to be useful? Declarative programming is a really fascinating subject, I just wish there was more research/development there. Prolog has been the number one in the field forever, but things like Sentient Lang and Mercury are able to do similar things while being a much newer and more featureful language. That being said, with a proper de..
|
|
So I recently learned about cargo doc --open while attending the Colorado Gold Rust conference. However, on my linux mint machine it opened the docs in chrome instead of my default web browser which is firefox. Since I spent most of my morning rust coding time tracking down why that was and how to fix it, I figured I write a blog post about it. So here goes: By looking at the cargo source, I was able to see that a separate crate named o....
|
|
Lets say you encounter a bug in the software you work on. Maybe a user informs you of the bug, or you find it yourself. Let's say this bug has been in your software for a little while, and is not a bug you just added in the last hour or so. This implies that your unit tests did not catch the bug. Here's the process I recommend for fixing the bug: 1) Work out what the problem is. 2) Work out the solution, edit your source files unti....
|
|
I have talked before about some of the aliases I use in my development environment , and how these and other little tricks make my life just a bit easier. Victor Zhou wrote a neat post about his aliases, and about while they don’t save him much time in the end, they make his life a little easier, too. Permalink.
|
|
Voting is a uniquely difficult problem with seemingly contradictory requirements. On one hand, in order to prevent coercion and vote-buying…
|
|
Some kids are into dinosaurs. Others, trains. Some kids even like trucks. But my son? He likes books.
|
|
I like these drawers from Land Shark Outfitters. With big names in the space pricing their systems at well over $1,000, I love the idea of a polished product at half the price. My sleeping platform came out to about $600, with two sets of $215 36“ lock open/close slides and a $145 pair of 28” base mount slides . Having gone through that build process, though, and after seeing this system from Land Shark Outfitters, I think I could cu..
|
|
We open-sourced a Python library for HLLs compatible with postgresql-hll. 5 minute read What is python-hll? We recently open-sourced python-hll , which is an implementation of HyperLogLog whose goal is to be storage compatible with java-hll , js-hll , and postgresql-hll . At NextRoll, we use these libraries to do fast counting of unique values in PostgreSQL and Java, but we were dismayed that there was no Python library for ....
|
|
Logo ©Nikhil( unsungNovelty ). Logo was envisioned and conceptualised by me and brought to life by Ark Arjun ! And I agree now, the negative space “N” looks cool indeed! Thanks da! \o/ Contents / arts unless specified ©Nikhil( unsungNovelty ) NOTE: If you have any questions regarding the license or anything related to how to use any of the contents, drop an email at “nikhil at unsungnovelty dot org” Theme ©Nikhil( unsungNovelt....
|