|
I’m pleased to announce that Canonical has made the shortlist in several categories for the V3 Technology Awards! Now it’s all in your hands: Go and Vote for Canonical! Note that voting closes at 5pm on Friday, October 9th. The categories in which we made the shortlist are: Best cloud computing provider We made this as an overall company: Canonical Best business software provider We also made this as an overall company: Canonical Best ..
|
|
I’ve talked a little on this site before about what we’re trying to achieve with OpenConfig . However, one of the observations that it’s easy to make is that YANG models alone don’t really achieve anything in terms of making the network more programmable. To make the network more programmable, we need to have tooling that helps us create instances of those modules, manipulate them, and then serialise the into a format that can be used to t..
|
|
I’ve talked a little on this site before about what we’re trying to achieve with OpenConfig . However, one of the observations that it’s easy to make is that YANG models alone don’t really achieve anything in terms of making the network more programmable. To make the network more programmable, we need to have tooling that helps us create instances of those modules, manipulate them, and then serialise the into a format that can be used to t..
|
|
Recommended? yep Lucky 7 is a small nostalgic American diner on Westbourne Park road. I like the vibe, the space, and the unpretentious waiting staff. I go to Lucky 7 often enough, originally for the buttermilk pancakes, but the list of favorites on the menu keeps growing. Smileys by w.dyer . Buttermilk Banana pancakes These are my favorite pancakes in London by far. Banana buttermilk pancakes and a few free coffee refills usual....
|
|
The Welch-Berlekamp Algorithm for Correcting Errors in Data
-
www.jeremykun.com
-
10 years ago
-
eng
In this post we’ll implement Reed-Solomon error-correcting codes and use them to play with codes. In our last post we defined Reed-Solomon codes rigorously, but in this post we’ll focus on intuition and code. As usual the code and data used in this post is available on this blog’s Github page. The main intuition behind Reed-Solomon codes (and basically all the historically major codes) is Error correction is about adding redundancy, and pol..
|
|
The Welch-Berlekamp Algorithm for Correcting Errors in Data
-
www.jeremykun.com
-
10 years ago
-
eng
In this post we’ll implement Reed-Solomon error-correcting codes and use them to play with codes. In our last post we defined Reed-Solomon codes rigorously, but in this post we’ll focus on intuition and code. As usual the code and data used in this post is available on this blog’s Github page. The main intuition behind Reed-Solomon codes (and basically all the historically major codes) is Error correction is about adding redundancy, and pol..
|
|
The Welch-Berlekamp Algorithm for Correcting Errors in Data
-
www.jeremykun.com
-
10 years ago
-
eng
In this post we’ll implement Reed-Solomon error-correcting codes and use them to play with codes. In our last post we defined Reed-Solomon codes rigorously, but in this post we’ll focus on intuition and code. As usual the code and data used in this post is available on this blog’s Github page. The main intuition behind Reed-Solomon codes (and basically all the historically major codes) is Error correction is about adding redundancy, and pol..
|
|
Comment on [Video 281] Andrey Syschikov: Practical usage of advanced Python constructs by Visto nel Web – 199 | Ok, panico
-
dailytechvideo.com
-
10 years ago
-
eng
Video 281] Andrey Syschikov: Practical usage of advanced Python constructs ::: Daily Tech Video […]
|
|
I haven’t made a SnailLife update in a while, but I had a good reason! For about half a month I’ve been working on an entry into the js13kGames challenge. I’ve entered the challenge annually since it started and this year was meant to be no exception. Unfortunately…I wasn’t really into it this year. It felt like work, and with things at actual work being so busy I found myself not having the time or motivation to sit down and work on it a..
|
|
Benchmarking Go in the cloud Go now seems to be a natural choice for writing your next microservice or web app. It’s mature and fast. But where would you host your app? In this post I will compare some popular PaaS (platform-as-a-service) and how the same primitive Go web app performs on each of them. Go I’m using the latest Go compiler and the latest version of Gin framework with zero-allocation router.
|
|
Benchmarking Go in the cloud Go now seems to be a natural choice for writing your next microservice or web app. It’s mature and fast. But where would you host your app? In this post I will compare some popular PaaS (platform-as-a-service) and how the same primitive Go web app performs on each of them. Go I’m using the latest Go compiler and the latest version of Gin framework with zero-allocation router.
|
|
In this post, we will attempt to make a simplified clone of Redis in Haskell. Here is a set of requirements that we will aim to fullfill: get and set operations Multi-threaded Atomic Redis compatible (implement the Redis protocol) We should be able to use the redis-cli tool to connect to our server and issue commands to it. We are going to omit many features that Redis has. For example, there will be no disk persistence. We will a....
|
|
In this post, we will attempt to make a simplified clone of Redis in Haskell. Here is a set of requirements that we will aim to fullfill: get and set operations Multi-threaded Atomic Redis compatible (implement the Redis protocol) We should be able to use the redis-cli tool to connect to our server and issue commands to it. We are going to omit many features that Redis has. For example, there will be no disk persistence. We will a....
|
|
Just a quick tip from some code I encountered today. Instead of this: function outerFunc (callback) { doSomething(42, function (err) { callback(err) }) } Eliminate the useless callback wrapper function: function outerFunc (callback) { doSomething(42, callback) } It's more concise and more efficient and entirely equivalent.
|
|
Yeap, this is another rant on the security practices of Docker users. Like we didn't have enough of those already.
|
|
Lua is one of my favourite languages. It’s tiny, it’s fast, it has simple grammar and is very easy to learn. I also often write shell scripts - from simple one-liners, to bigger ones containing business logic and binding together smaller app components. In fact, this blog is powered by a few shell scripts to generate list of posts, rss xml etc. I had an experience in the past when Bash script became hard to maintain.
|
|
Lua is one of my favourite languages. It’s tiny, it’s fast, it has simple grammar and is very easy to learn. I also often write shell scripts - from simple one-liners, to bigger ones containing business logic and binding together smaller app components. In fact, this blog is powered by a few shell scripts to generate list of posts, rss xml etc. I had an experience in the past when Bash script became hard to maintain.
|
|
A very fast update. At the request of the excellent Lars Brinkhoff via GitHub I have added in the language Forth to be one of the supported languages inside searchcode. An example search which shows this working would be the following https://searchcode.com/?q=forth&loc=0&loc2=10000&lan=181 I had to solve a number of interesting problems inside searchcode to support this change. For pragmatic reasons the way searchcode identifies wh..
|
|
Human beings didn’t become the dominant lifeforms on the planet by being rigid and inflexible in the face of change. We’re able to adapt, when we receive similar stimuli over and over again, we react to it more and more efficiently and effectively each time. Naturally, these stimuli come in an endless procession, in innumerable forms. On a physical, nearly tangible level, repeated stresses on our bodies build muscle mass so that we’re bette..
|
|
Human beings didn’t become the dominant lifeforms on the planet by being rigid and inflexible in the face of change. We’re able to adapt, when we receive similar stimuli over and over again, we react to it more and more efficiently and effectively each time. Naturally, these stimuli come in an endless procession, in innumerable forms. On a physical, nearly tangible level, repeated stresses on our bodies build muscle mass so that we’re bette..
|
|
Chiswick House & Gardens . Heath Robinson Museum . London Library (book your free tour) . Quaker gardens , Islington. Soho Theatre (not tried yet). The best brunch London 2020 | CN Traveller . The most beautiful restaurants in London for 2020 | CN Traveller .
|
|
Tomcat will treat encoded slashes in a URI as path delimiters. I'll demonstrate how this can cause you problems, why it occurs, and how you can work around it.
|
|
I was recently tasked with exporting a large collection of documents from KnowledgeTree (KT) for a client. The collection was too large to use the download all functionality and too wide to attempt to export each folder individually. I had played around with the WebDav connection that KT provides but it either didn’t work or was designed deliberately to not allow exporting of the documents. I looked at where the documents were stored o..
|
|
Set update channel to receive developer beta update sudo softwareupdate --set-catalog https://swscan.apple.com/content/catalogs/others/index-10.11seed-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.gz Set update channel to receive public beta update sudo softwareupdate --set-catalog https://swscan.apple.com/content/catalogs/others/index-10.11beta-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merg..
|
|
Set update channel to receive developer beta update sudo softwareupdate --set-catalog https://swscan.apple.com/content/catalogs/others/index-10.11seed-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.gz Set update channel to receive public beta update sudo softwareupdate --set-catalog https://swscan.apple.com/content/catalogs/others/index-10.11beta-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merg..
|