|
The concept of having no central entity control currency seems attractive to a lot of people. However, trust in some decentralised entity means trusting the way that they operate their business - how they’re able to audit their code, and write bug-free software. The only thing I know about software is that it isn’t ever bug-free. To reduce MTBF, you implement things multiple times, in disjoint environments. That said, the latest hack on..
|
|
The concept of having no central entity control currency seems attractive to a lot of people. However, trust in some decentralised entity means trusting the way that they operate their business - how they’re able to audit their code, and write bug-free software. The only thing I know about software is that it isn’t ever bug-free. To reduce MTBF, you implement things multiple times, in disjoint environments. That said, the latest hack on..
|
I wanted to update the icon of this blog (to become what else? a cat) and I didn’t remember how I had created the previous one but I do remember I did it via GIMP . This time though, I found a pretty simple imagemagick command and it worked like a charm. convert
|
chkrootkit – Linux rootkit scanner What it does : Find rootkits Where to find it : in your distribution – or on chkrootkit.org Malware protection Option 1: ISPProtect – 90 euro / year but worth it. Where to find it : ispprotect.com Step #1: Get a licence Step #2: Download and install and run Then indicate your key number or trial if you want a trial version. Indicate /var/www to start the scan on the web installs.
|
chkrootkit – Linux rootkit scanner What it does : Find rootkits Where to find it : in your distribution – or on chkrootkit.org Malware protection Option 1: ISPProtect – 90 euro / year but worth it. Where to find it : ispprotect.com Step #1: Get a licence Step #2: Download and install and run Then indicate your key number or trial if you want a trial version. Indicate /var/www to start the scan on the web installs.
|
|
If you’re a user of the Nextcloud snap, you may have noticed that upstream Nextcloud released v12 a while back, but you’re still on v11. That’s because v12 introduced several regressions that made us maintainers decide to hold off on the upgrade. Thankfully, things are finally looking up. As of today, it seems that all the blocking regressions have been fixed. Which means that, barring any additional regressions being introduced between now..
|
|
I've attempted to wake this blog up a couple times, but between Jekyll changing, Pygments changing, and whatnot, it has been more pain than any given post seemed worth. I've recently had three folks independently chastise me for no longer writing, however, and three is a magic number. So, this is basically just a test post as I try converting over to Hugo . Jekyll resisted hard enough that I declared bankruptcy. We'll try this one. I....
|
|
I've attempted to wake this blog up a couple times, but between Jekyll changing, Pygments changing, and whatnot, it has been more pain than any given post seemed worth. I've recently had three folks independently chastise me for no longer writing, however, and three is a magic number. So, this is basically just a test post as I try converting over to Hugo . Jekyll resisted hard enough that I declared bankruptcy. We'll try this one. I....
|
|
The Brothers Karamazov by Fyodor Dostoevsky is a challenging but rewarding read, with richly detailed characters and authentic relationships.
|
Voice and IOT Amazon Echo, Alexa, Google Home, Apple HomePod and Siri (and Microsoft Cortana) are all fighting to control the voice market. While they get full respect for doing so, I am not gonna say I am particularly trusting any of these companies to provide us with the best level of privacy, service and control over what we do with our devices and how is the data used. Therefore I am compiling here some resources which I’ll probably upd..
|
Voice and IOT Amazon Echo, Alexa, Google Home, Apple HomePod and Siri (and Microsoft Cortana) are all fighting to control the voice market. While they get full respect for doing so, I am not gonna say I am particularly trusting any of these companies to provide us with the best level of privacy, service and control over what we do with our devices and how is the data used. Therefore I am compiling here some resources which I’ll probably upd..
|
|
The Brothers Karamazov by Fyodor Dostoevsky is a challenging but rewarding read, with richly detailed characters and authentic relationships.
|
|
I once asked my dad over email how to improve my the potency of my words and thoughts. His reply came back as one word: Revision. Good writing does not emerge spontaneously; it comes as one practices writing. A “draft” is a pass of writing a particular work. It’s like sketching in art: when an artist starts a painting, they usually start with a rough sketch outlining where the figures will be, what the landscape will be like, etc. The....
|
|
I once asked my dad over email how to improve my the potency of my words and thoughts. His reply came back as one word: Revision. Good writing does not emerge spontaneously; it comes as one practices writing. A “draft” is a pass of writing a particular work. It’s like sketching in art: when an artist starts a painting, they usually start with a rough sketch outlining where the figures will be, what the landscape will be like, etc. The....
|
|
Wildsnake Cartridge If you thought Tetris was fun, get ready for Tetris with snakes! Yeah, actual Snakes; Wild Snakes. Alexey Pajitnov, the creator of Tetris, thought it would be a good idea to add snakes to the classic game. To be honest, when I started playing this game I thought it was just a crappy rip off of Tetris, but NOPE the creator of Tetris himself thought this was a good idea… sigh.
|
|
Today I refactored my little rust blockchain miner to divide the mining work across multiple CPUs. The rayon crate's par_iter() provides the magic for this. Before coding that, I was imagining how I'd handle that given I'm searching a 32-bit integer space where each number is equally likely to be a "golden nonce" (meaning a successful block mine). The most straightforward approach I could think of would be to break the single range into equ....
|
|
Neo : Whoa. Déjà vu. Déjà vu. Trinity : What did you see, Neo? Neo : It felt like I just did three Code and Coffees back to back. Morpheus : Code and Coffee is a system. A system with rules. Rules like "Code and Coffee is once a week". Rules like "Code and Coffee is nine to noon". Some of these rules can be bent. Others can be broken. What if I told you that you could do sixty Code and Coffees in a row? Neo : That's impossible. ..
|
|
Use the telephone for outgoing requests, email for incoming requests
-
www.databasesandlife.com
-
8 years ago
-
eng
I have been thinking about emails vs phone , or more generally asynchronous vs synchronous communication, and have realized: If you receive a call , it breaks your flow, which is bad. If you send an email , it breaks your flow, which is bad. (As you have to wait for an answer, and do something else in the meantime.) So: If you have a question, the optimal strategy (for you) is to make a call .
|
|
Thought provoking, revealing the hidden precipice of our human nature; animalistic and savage. Golding cleverly guides the audience…
|
|
To avoid the big problems with projects, everybody recommends risk management. At the same time, I’ve rarely seen risk management practiced effectively. Do we identify the same risks and do we actually prepare to handle them? The ironic thing is that I think most projects have the same top four risks. In this blogpost, I explore these common risks. To avoid exposing my customers and colleagues, the examples given is based on hearsay and not..
|
|
Not that much to report today mostly some tweaks to my rust blockchain miner exercise. I remembered rust has binary literals and bitwise operations are one place they actually are useful. I've watched all the Into Rust tutorials/exercises and they were great but there's only a handful. I did an exercism on isograms and demoed my rustblock program during Thursday evening demos. As tends to be the case, I learned a lot from the RCers while ..
|
|
The Contrast Swap Technique: Improved Image Performance with CSS Filters
-
una.im
-
8 years ago
-
eng
With CSS filter effects and blend modes, we can now leverage various techniques for styling images directly in the browser. However, creating aesthetic theming isn't all that filter effects are good for. You can use filters for web performance, too.
|
|
Today we’re excited to launch the 2017 State of Open Source Security Report! The full report is available as a free PDF, and the highlights are collected online.
|
|
This morning I tweaked my hexagonal lambda tooling and tests. No big deal. I also started watching the "Into Rust" screencasts. The first one is great for answering the "Why Rust?" question which I got asked twice today already. After lunch I paired on the inner guts of a blockchain miner in rust. Just enough to combine a nonce with an array of block payload bytes and hunt for a sha256 "golden nonce" with a given number of leading zero bi....
|
|
Wanted to quickly execute an Objective-C snippet. org-babel didn't support it out of the box, but adding it was straightforward (looked at ob-C.el and ob-java.el): (require 'ob) (defcustom org-babel-objc-compile-command "clang -x objective-c -framework Foundation" "For example: \"clang -x objective-c -framework Foundation\"." :group 'org-babel :version "24.3" :type 'string) (defun org-babel-execute:objc (body params) "Compile Objectiv....
|
|
We were not as happy as we could be with out Cucumber test reporting solution - so we decided to build a new and shiny one from scratch.
|
|
We were not as happy as we could be with out Cucumber test reporting solution - so we decided to build a new and shiny one from scratch.
|
|
I’ve been meaning to add a commenting system to this blog for a while, but I couldn’t think of a good way to do it. I implemented my own commenting system on my old Django personal site . While I enjoyed working on it at the time, it was a lot of work, especially to fight the spam. Now that my blog is hosted statically on Github’s servers, I have no way to host something dynamic like comments. Disqus seems to be the popular solution t....
|
|
I’ve been meaning to add a commenting system to this blog for a while, but I couldn’t think of a good way to do it. I implemented my own commenting system on my old Django personal site . While I enjoyed working on it at the time, it was a lot of work, especially to fight the spam. Now that my blog is hosted statically on Github’s servers, I have no way to host something dynamic like comments. Disqus seems to be the popular solution t....
|
|
One of the most challenging aspects of investing is lack of foreknowledge or future knowledge - we simply do not know what the performance of a stock or index fund will be. But what if we could print out a list of opening values of a stock and then take a time machine backward in time and invest with foreknowledge? Would we be able to make much more money than otherwise possible?
|
|
This morning I wrote a script to manage AWS session tokens and asked for a code review. Not optimistic that I'll ultimately use it and I'll probably go back to aws-vault, but at least it works now and I can test drive it. I did the 3 next exercism rust exercises. There are 70+ of them and I'm worried they are too much about basic programming problems and not enough about how to write idiomatic rust, so I think starting tomorrow I'm going ..
|
|
C++ smart pointers are pointers that wrap raw C++ pointers. There are several types of smart pointers in C++. This article will be about the weak pointer (std::weak_ptr) in the C++ standard that is a type of a smart pointer. It’s closely related to the shared pointer (std::shared_ptr) that is also a type of C++ smart pointers. Other types are unique_ptr and scoped_ptr . There was also an auto_ptr, but it was removed in C++17.
|
|
Postman is a fantastic tool for testing any HTTP endpoint. But if you're using your browser to look around and you find something of…
|
|
World Usability Day is celebrated worldwide on the second Thursday in November every year. Across the globe, organizations host events and use this day to provide education on how to make products easier to use and simpler to access, as well as to celebrate progress in this pursuit. The World Usability Day theme for 2017 was “Inclusion.” Inclusive design considers the range of abilities, language and other forms of human difference when cre..
|
|
Talk - Clustered, Distributed File and Volume Storage with GlusterFS
-
smcleod.net
-
8 years ago
-
eng
Using GlusterFS to provide volume storage to Kubernetes as a replacement for our existing file and static content hosting. This talk was given at Infracoders on Tuesday 14th November 2017. NOTE: Below link to slides currently broken - will fix soon! (03/08/2019) Click below to view slides (PDF version): Direct download link
|
|
Talk - Clustered, Distributed File and Volume Storage with GlusterFS
-
smcleod.net
-
8 years ago
-
eng
Using GlusterFS to provide volume storage to Kubernetes as a replacement for our existing file and static content hosting. This talk was given at Infracoders on Tuesday 14th November 2017. NOTE: Below link to slides currently broken - will fix soon! (03/08/2019) Click below to view slides (PDF version): Direct download link
|
|
This morning I integrated the rust clap crate into some of my little CLI exercise utilities and learned a bit about dealing with a mix of Option and Result types, which is annoying. clap is really nice. I found a problem with the docs and filed a github issue and sent them a PR. It's actually ultimately an issue with the crates.io website code so I'm hoping one of those maintainers makes a fix that will handle the situation for all crates. ..
|