|
Self-hosting your Google Fonts can save your customers around 3-400ms per page load. There's a Gatsby plugin that makes it super easy.
|
|
Emacs swiper is awesome. I bound swiper-isearch to C-s . Also a big fan of multiple cursors . I use it regularly (it's fun). I had totally missed Ole's post back in 2015: A simple multiple-cursors extension to swiper . Turns out, swiper has multiple cursors support out of the box (bound to C-7 by default). Yay! UPDATE: Thanks to irreal's post , please remember to add swiper-mc to mc/cmds-to-run-once list (or things won't w..
|
|
Developer? Need to know how to use Elasticsearch? Want to know how to get working with it quickly? This is the book for you! Buy now using Leanpub It is useful to understand is how elasticsearch stores documents. Documents that are indexed need to go into an index and have a type. Indexes can contain one or more types. This may sound limiting but you can search over all indexes or all types within an index or just one type within an in..
|
|
Series Index Why and What Projects, Dependencies and Gopls Minimal Version Selection Mirrors, Checksums and Athens Gopls Improvements Vendoring Introduction Modules provide an integrated solution for three key problems that have been a pain point for developers since Go’s initial release: Ability to work with Go code outside of the GOPATH workspace. Ability to version a dependency and identify the most compatible ..
|
|
I use Vim as a plain text editor for everything. Apart from coding, I write blog posts in vim, create quick notes and draft design documents. Surprisingly, I haven’t customized it a lot and am very lean about the plugins. While keeping my setup austerely simple, I rarely lack any of the functionality. However, recently I wondered if I can achieve a “distraction free” experience with Vim, like when you see a full screen text, nicely centered..
|
|
I use Vim as a plain text editor for everything. Apart from coding, I write blog posts in vim, create quick notes and draft design documents. Surprisingly, I haven’t customized it a lot and am very lean about the plugins. While keeping my setup austerely simple, I rarely lack any of the functionality. However, recently I wondered if I can achieve a “distraction free” experience with Vim, like when you see a full screen text, nicely centered..
|
|
A Snyk peek into Node.js and npm’s state of open source security report 2019
-
snyk.io
-
6 years ago
-
eng
In the State of Open Source Security Report 2019, we set out to measure the pulse of the open source security landscape throughout the different language ecosystems and have analyzed responses from over five hundred open source maintainers and users who provided us with insights into their processes and knowledge of open source security risks as well as the skill level of the average maintainer.
|
|
The folks over at Seeking Alpha , one of my new favorite websites, posted an interest writeup on a portfolio that has outperformed the market since October, 2014. Check out the original article here . As I work to eliminate debt and build a nest egg, so that I can then invest and prepare for retirement early , this subject has become ever-more interesting to me. Seeking Alpha — clearly — has some great advice, from some smart people. ..
|
|
Open Policy Agent (OPA) is an open source general-purpose policy engine, and Rego is OPA’s declarative policy language. Combined with Fugue, it provides maximum flexibility when implementing cloud infrastructure policy.
|
|
In many statistical papers, you can find the following phrase: “assuming that we have a normal distribution.” Probably, you saw plots of the normal distribution density function in some statistics textbooks, it looks like this: The normal distribution is a pretty user-friendly mental model when we are trying to interpret the statistical metrics like mean and standard deviation. However, it may also be an insidious and mislea....
|
|
A post that is constantly a work in progress. ripgrep - Similar to grep, but a drop in replacement for large file scanning without unicode penalities. It’s also similar to Ag and Ack and optimised for searching code, ignoring .git directories and the like. https://github.com/burntsushi/ripgrep tmux - Terminal multiplexer. I wrote a 5 min guide to this. Use it to have resumable sessions after closing ssh sessions and to have split pane....
|
|
In many statistical papers, you can find the following phrase: “assuming that we have a normal distribution.” Probably, you saw plots of the normal distribution density function in some statistics textbooks, it looks like this: The normal distribution is a pretty user-friendly mental model when we are trying to interpret the statistical metrics like mean and standard deviation. However, it may also be an insidious and mislea....
|
|
Increasing organizations’ performance through continuous listening
-
www.thoughtworks.com
-
6 years ago
-
eng
Digital transformation is reshaping how companies and entire sectors operate, while technologies such as artificial intelligence are changing our jobs and lives. In this mercurial business climate, employers realize that the experience of their employees is what makes the difference between success and failure.
|
|
I’m writing code to back up my user data off a website that lets me see all of my info (including querying by time, account etc) but doesn’t have export features (officially). I am certain there’s an API behind the site that I just have to make sense of. Since the webapp is requesting data from the API when I click, we should be able to record the web traffic to explore the API. My first thought was to use tcpdump(8), a powerful network..
|
|
I’m writing code to back up my user data off a website that lets me see all of my info (including querying by time, account etc) but doesn’t have export features (officially). I am certain there’s an API behind the site that I just have to make sense of. Since the webapp is requesting data from the API when I click, we should be able to record the web traffic to explore the API. My first thought was to use tcpdump(8), a powerful network..
|
|
I’ve noticed I keep referencing back to certain articles over and over again. Here’s a list of articles or videos I find myself constantly referring to even way after it was first published:
|
|
I’ve noticed I keep referencing back to certain articles over and over again. Here’s a list of articles or videos I find myself constantly referring to even way after it was first published:
|
|
The Subtle Art of Not Giving a F*ck: A Counterintuitive Approach to Living a Good Life
-
apurva-shukla.me
-
6 years ago
-
eng
Mark has a very good story telling ability, conveying his learnings from Zen, Buddhism, and experience to a very easy to swallow…
|
|
Trend Micro and Snyk partner to deliver complete remediation to secure containers
-
snyk.io
-
6 years ago
-
eng
We’re excited to announce a new strategic partnership with Trend Micro to help businesses quickly deliver secure applications.
|
|
I have read a lot of Aaron and Jen’s work, but it took this video to make me realize how nice they had it. Their Airstream-Silverado combo makes for a great setup, which made me re-think my plan to build an LMTV-based RV. With $40,000 for a used Airstream, though, plus another $30,000 for a used truck to pull it, I would spend more going this route and get a less capable setup. The M1083 will give me more living space atop a chassis tha..
|
|
Many modern web browsers come with tools that can help developers debug their websites. If you are using Google Chrome or Firefox for example, try pressing F12. A new panel should open containing various tools. These tools provide a look “under the hood” for the current page. Common tools include a JavaScript console, JavaScript debugger, DOM explorer, network request viewer, performance profile, local storage manager, and more.
|
|
Drop frames and speed gif up with gifsycle (via How to remove every second frame from an animated gif? ): gifsicle -U in.gif `seq -f "#%g" 0 3 398` -O2 -o out.gif ps. 398 is the total number of frames, which you can get with: identify in.gif
|
|
Some email provider accept regular expressions to blacklist additional spam. My blacklist is long and tedious to update, but hey… Emacs org babel can simplify things here. It's way easier to maintain a blacklist (with no regex) using an org table. Blacklist #+name: spam-entries | .spammy | | dodgyfella@hotmail.com | | henryzeespammer.com | | yumspam.com | and subsequently use org babel (elisp snippet) to generate the regex. Regex g....
|
|
Repository: @knadh/dictpress GitHub release page: v0.1.1 Changelog e8b7684 Fixed incorrec definition sorting 4f8c6bc Add missing queries struct to app fixing panic cc55e20 Fix sample data doc
|
|
Applying for a Spot on the Planning Commission of Huber Heights
-
www.joehxblog.com
-
6 years ago
-
eng
Last month I had an interview for a volunteer position for the City of Huber Heights. Specifically, the position in the Planning Commission .
|
|
Expecto is a fantastic test framework and test runner for FSharp. But contrary to the name, the thing I like most about Expecto is that it…
|
|
Expecto is a fantastic test framework and test runner for FSharp. But contrary to the name, the thing I like most about Expecto is that it…
|
|
As I rolled into the last week of September, I started thinking about this post and how I have done almost nothing for it. I put a lot of work into some major performance wins last month , but lost almost all that momentum when I decided to write my own Instapaper -like read later service in September. It needs some more work before I release it, but I will. I did get a couple things done, though, even if I did forget to post this until t..
|
Το Σάββατο ήθελα να ζωγραφίσω και (πολύ πρωτότυπο) αποφάσισα να φτιάξω ένα πίνακα με την Ίριδα, τη γάτα μου. Να. Θα έβγαζα φωτογραφίες απεικονίζοντας την πρόοδο του πίνακα αλλά δεν ήταν εφικτό. Υπήρχαν μπογιές παντού: στα χέρια, στα ρούχα, στη γάτα, στο τραπέζι που είχα τον πίνακα και στο πάτωμα επίσης. Ό,τι έπιανα γινόταν μπλε, καφέ ή άσπρο. Χρησιμοποίησα ένα σετ ζωγραφικής που μου φέρανε δώρο και που είχε πολλά πράγματα μεσα. Σε ....
|
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....
|
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
|