Are you over 18 and want to see adult content?
More Annotations
A complete backup of arabicfemdom.com
Are you over 18 and want to see adult content?
A complete backup of www.xhamsterlive.com
Are you over 18 and want to see adult content?
A complete backup of badgirlsblog.com
Are you over 18 and want to see adult content?
A complete backup of www.enf-cmnf.com
Are you over 18 and want to see adult content?
A complete backup of www.aerisdies.com
Are you over 18 and want to see adult content?
Favourite Annotations
A complete backup of bluelightbride.com
Are you over 18 and want to see adult content?
A complete backup of antique-bottles.net
Are you over 18 and want to see adult content?
A complete backup of rosestmarket.com.au
Are you over 18 and want to see adult content?
Text
ABOUT ME
Hi there, I'm Isaac, welcome to my blog! I occasionally post things about side projects, concepts and sometimes even guides here and there. I mostly post things I need to get "on paper", or just projects I had fun working on that I want to share with the ACHIEVING MULTIPLE ROUTING KEYS IN RABBITMQ EXCHANGESSEE MORE ONWHITFIN.IO
SAFELY CREATING CUSTOM HANDLEBARS HELPERS FOR GHOST BLOGS I'm fairly new to Handlebars, the templating system that the blogging system Ghost uses, but my initial impressions are that it's a pretty sweet tool to use. However, it's somewhat limited when you're developing a Ghost blog, due to the fact that Ghost only OPTIMIZING DOCKER IMAGES FOR MAVEN PROJECTS I recently wrote a post on optimizing Docker images for Rust projects, which turned out to be quite popular, so I figured I'd follow it up with another for those Java developers out there who have to painfully sit through slow Maven builds inside Docker.Just like the other post, this is derived from a project at work where I quickly tired of sitting through long builds and attempted to OPTIMIZING DOCKER IMAGES FOR RUST PROJECTS This post will be the first of several addressing Docker image optimizations for different project types. It stems from my recent experiences with badly written Dockerfiles, which result in sitting around for 10 minutes every time you build, only to then need to upload images of over 1GB in size. RAMBLINGS OF A CODE MONKEY Building Simple APIs with Hyper and Usher. When writing a web service, I often lean towards using tools that are as minimal as possible. One pretty obvious reason for this is the avoidance of dependencies you either don't want or don't need in your project.ABOUT ME
Hi there, I'm Isaac, welcome to my blog! I occasionally post things about side projects, concepts and sometimes even guides here and there. I mostly post things I need to get "on paper", or just projects I had fun working on that I want to share with the ACHIEVING MULTIPLE ROUTING KEYS IN RABBITMQ EXCHANGESSEE MORE ONWHITFIN.IO
SAFELY CREATING CUSTOM HANDLEBARS HELPERS FOR GHOST BLOGS I'm fairly new to Handlebars, the templating system that the blogging system Ghost uses, but my initial impressions are that it's a pretty sweet tool to use. However, it's somewhat limited when you're developing a Ghost blog, due to the fact that Ghost only OPTIMIZING DOCKER IMAGES FOR MAVEN PROJECTS I recently wrote a post on optimizing Docker images for Rust projects, which turned out to be quite popular, so I figured I'd follow it up with another for those Java developers out there who have to painfully sit through slow Maven builds inside Docker.Just like the other post, this is derived from a project at work where I quickly tired of sitting through long builds and attempted to OPTIMIZING DOCKER IMAGES FOR RUST PROJECTS This post will be the first of several addressing Docker image optimizations for different project types. It stems from my recent experiences with badly written Dockerfiles, which result in sitting around for 10 minutes every time you build, only to then need to upload images of over 1GB in size. BUILDING SIMPLE APIS WITH HYPER AND USHER When writing a web service, I often lean towards using tools that are as minimal as possible. One pretty obvious reason for this is the avoidance of dependencies you either don't want or don't need in your project. Whilst I'm not someone who goes out of their way to avoid SAFELY CREATING CUSTOM HANDLEBARS HELPERS FOR GHOST BLOGS I'm fairly new to Handlebars, the templating system that the blogging system Ghost uses, but my initial impressions are that it's a pretty sweet tool to use. However, it's somewhat limited when you're developing a Ghost blog, due to the fact that Ghost only BULK INDEXING WITH THE ELASTICSEARCH JAVA REST CLIENT With the introduction of Elasticsearch v5.0.0, Elastic began to recommend moving to their new REST client for server interactions rather than the transport client that was shipped previously. The intent was to make a HTTP client which would act with little HANDLING SYNCHRONOUS ASYNCHRONOUS LOOPS IN JAVASCRIPT/NODE.JS One of the most lovable (yet frustrating) things about JavaScript and Node.js is the use of Asynchronous functions and the callback based system. Several times I've found myself wanting to halt for things to complete instead of sending off a bunch of processes all at once - anexample
INTRODUCING VESSEL: A BRIDGE BETWEEN ELIXIR AND HADOOP Disclaimer: I should point out that I wrote this project for those who are already working with Elixir and have need of integrating their existing codebases with Hadoop. I'm going to try assume limited knowledge of Hadoop/Elixir within this post - but I apologise if itgoes a little
JAVA 8 CUSTOM COLLECTORS: JACKSON ARRAYNODE Streams are one of the niceties provided in JDK 8 and they provide extreme flexibility to the user. They make it extremely easy to transform Collections in some way, either serially or in parallel.. One of the most awesome things about Streams is that they're extremely extensible. The example we're going to be using today is collecting a Stream into a Jackson ArrayNode. WRITING MAPREDUCE JOBS USING RUST AND EFFLUX During my work life, I spend a lot of time working with MapReduce-style workflows, particularly with Hadoop infrastructure. A lot of this work is spent with larger amounts of data in order to implement the batch layer of the Lambda architecture.Due to this, the largest concern is that the behaviour is consistent across both the batch layer and the realtime layer - naturally you wouldn't want CACHEX V3.1 AND THE RETURN OF DISTRIBUTED CACHES If you work with Elixir on web services, you may have come across a library I work on named Cachex. Although the name makes it somewhat obvious, this is a library based on caching expensive data in memory. It works inside your application layers using the Erlang Term Storage(ETS)
USING MONGODB WITH ELIXIR, PHOENIX AND ECTO This is as much for my reference as anyone else's, so I hope everything is clear enough for newcomers. Update: Refer here for an example project following the method below. Due to having gotten a little bored with Node.js in recent times, and also a lack of engagement with the latest MongoDB releases, I felt it was time to undertake something new - a small side project I have been thinking ADDING CUSTOM HANDLEBARS TEMPLATE HELPERS IN GHOST Ghost has come a long way since I wrote my first post on safely creating custom Handlebars helpers, but unfortunately not far enough that it's an easy feat. Whilst there's some movement in enabling developers to add Handlebars helpers via Ghost Apps, it's still a painto get working (I
RAMBLINGS OF A CODE MONKEY Ramblings of a Code Monkey. Settings Aliases for Git Sources. I thought I'd share a small configuration I found recently in my .gitconfig that helps save some time when setting remotes in Git repositories (or cloning new ones). Before I found this setting, I consistently found myself in a browser to copy/paste the clone URL(I'm sure I'm not.
ABOUT ME
Hi there, I'm Isaac, welcome to my blog! I occasionally post things about side projects, concepts and sometimes even guides here and there. I mostly post things I need to get "on paper", or just projects I had fun working on that I want to share with the SAFELY CREATING CUSTOM HANDLEBARS HELPERS FOR GHOST BLOGS I'm fairly new to Handlebars, the templating system that the blogging system Ghost uses, but my initial impressions are that it's a pretty sweet tool to use. However, it's somewhat limited when you're developing a Ghost blog, due to the fact that Ghost only OPTIMIZING DOCKER IMAGES FOR MAVEN PROJECTS Optimizing Build Sizes. Even with the speed increase, the image is still far too large. There are several options here; an easy one being to just flip the base image to maven:3.5-jdk-8-alpine for around a 60% reduction, but the result is still around 336MB. A better approach is to use a multi-stage Docker build, and only actually use a JDK ACHIEVING MULTIPLE ROUTING KEYS IN RABBITMQ EXCHANGESSEE MORE ONWHITFIN.IO
REDIRECTING AN INPUTSTREAM TO AN OUTPUTSTREAM IN JAVA After working with NodeJS, Streams have always been an annoyance for me in Java (especially when I was first learning), simply due to the fact that you had to wait for the input to buffer and be fed through the abstract read() method of the InputStream interface. Most examples around use the BufferedReader in order to demonstrate how to do this. Let's take such an example to exercise what I OPTIMIZING DOCKER IMAGES FOR RUST PROJECTS Optimizing Docker Images for Rust Projects. This post will be the first of several addressing Docker image optimizations for different project types. It stems from my recent experiences with badly written Dockerfiles, which result in sitting around for 10 minutes every time you build, only to then need to upload images of over 1GB in size. JAVA 8 CUSTOM COLLECTORS: JACKSON ARRAYNODESEE MORE ON WHITFIN.IO SORTING AN OBJECT RECURSIVELY BY KEY IN NODE.JS/JAVASCRIPT Sorting an object is one of those little things which nobody ever considers useful to know (until it becomes so), but it's proven particularly useful to me in the last few months - not necessarily for the comparison of two objects at runtime (which, thankfully, there are much quicker things for in NodeJS/JavaScript), but for the ease of reading logged data stores efficiently - especially large HANDLING SYNCHRONOUS ASYNCHRONOUS LOOPS IN JAVASCRIPT/NODE.JS One of the most lovable (yet frustrating) things about JavaScript and Node.js is the use of Asynchronous functions and the callback based system. Several times I've found myself wanting to halt for things to complete instead of sending off a bunch of processes all at once - anexample
RAMBLINGS OF A CODE MONKEY Ramblings of a Code Monkey. Settings Aliases for Git Sources. I thought I'd share a small configuration I found recently in my .gitconfig that helps save some time when setting remotes in Git repositories (or cloning new ones). Before I found this setting, I consistently found myself in a browser to copy/paste the clone URL(I'm sure I'm not.
ABOUT ME
Hi there, I'm Isaac, welcome to my blog! I occasionally post things about side projects, concepts and sometimes even guides here and there. I mostly post things I need to get "on paper", or just projects I had fun working on that I want to share with the SAFELY CREATING CUSTOM HANDLEBARS HELPERS FOR GHOST BLOGS I'm fairly new to Handlebars, the templating system that the blogging system Ghost uses, but my initial impressions are that it's a pretty sweet tool to use. However, it's somewhat limited when you're developing a Ghost blog, due to the fact that Ghost only OPTIMIZING DOCKER IMAGES FOR MAVEN PROJECTS Optimizing Build Sizes. Even with the speed increase, the image is still far too large. There are several options here; an easy one being to just flip the base image to maven:3.5-jdk-8-alpine for around a 60% reduction, but the result is still around 336MB. A better approach is to use a multi-stage Docker build, and only actually use a JDK ACHIEVING MULTIPLE ROUTING KEYS IN RABBITMQ EXCHANGESSEE MORE ONWHITFIN.IO
REDIRECTING AN INPUTSTREAM TO AN OUTPUTSTREAM IN JAVA After working with NodeJS, Streams have always been an annoyance for me in Java (especially when I was first learning), simply due to the fact that you had to wait for the input to buffer and be fed through the abstract read() method of the InputStream interface. Most examples around use the BufferedReader in order to demonstrate how to do this. Let's take such an example to exercise what I OPTIMIZING DOCKER IMAGES FOR RUST PROJECTS Optimizing Docker Images for Rust Projects. This post will be the first of several addressing Docker image optimizations for different project types. It stems from my recent experiences with badly written Dockerfiles, which result in sitting around for 10 minutes every time you build, only to then need to upload images of over 1GB in size. JAVA 8 CUSTOM COLLECTORS: JACKSON ARRAYNODESEE MORE ON WHITFIN.IO SORTING AN OBJECT RECURSIVELY BY KEY IN NODE.JS/JAVASCRIPT Sorting an object is one of those little things which nobody ever considers useful to know (until it becomes so), but it's proven particularly useful to me in the last few months - not necessarily for the comparison of two objects at runtime (which, thankfully, there are much quicker things for in NodeJS/JavaScript), but for the ease of reading logged data stores efficiently - especially large HANDLING SYNCHRONOUS ASYNCHRONOUS LOOPS IN JAVASCRIPT/NODE.JS One of the most lovable (yet frustrating) things about JavaScript and Node.js is the use of Asynchronous functions and the callback based system. Several times I've found myself wanting to halt for things to complete instead of sending off a bunch of processes all at once - anexample
BUILDING SIMPLE APIS WITH HYPER AND USHER When writing a web service, I often lean towards using tools that are as minimal as possible. One pretty obvious reason for this is the avoidance of dependencies you either don't want or don't need in your project. Whilst I'm not someone who goes out of their way to avoid SAFELY CREATING CUSTOM HANDLEBARS HELPERS FOR GHOST BLOGS I'm fairly new to Handlebars, the templating system that the blogging system Ghost uses, but my initial impressions are that it's a pretty sweet tool to use. However, it's somewhat limited when you're developing a Ghost blog, due to the fact that Ghost only WRITING MAPREDUCE JOBS USING RUST AND EFFLUX Writing MapReduce Jobs Using Rust and Efflux. During my work life, I spend a lot of time working with MapReduce-style workflows, particularly with Hadoop infrastructure. A lot of this work is spent with larger amounts of data in order to implement the batch layer of the Lambda architecture. Due to this, the largest concern is that thebehaviour
JAVA 8 CUSTOM COLLECTORS: JACKSON ARRAYNODE Java 8 Custom Collectors: Jackson ArrayNode. Streams are one of the niceties provided in JDK 8 and they provide extreme flexibility to the user. They make it extremely easy to transform Collections in some way, either serially or in parallel. One of the most awesome things about Streams is that they're extremely extensible. INTRODUCING VESSEL: A BRIDGE BETWEEN ELIXIR AND HADOOP Disclaimer: I should point out that I wrote this project for those who are already working with Elixir and have need of integrating their existing codebases with Hadoop. I'm going to try assume limited knowledge of Hadoop/Elixir within this post - but I apologise if itgoes a little
BULK INDEXING WITH THE ELASTICSEARCH JAVA REST CLIENT Bulk Indexing with the Elasticsearch Java REST Client. With the introduction of Elasticsearch v5.0.0, Elastic began to recommend moving to their new REST client for server interactions rather than the transport client that was shipped previously. The intent was to make a HTTP client which would act with little to no interaction withthe
ADDING CUSTOM HANDLEBARS TEMPLATE HELPERS IN GHOST Ghost has come a long way since I wrote my first post on safely creating custom Handlebars helpers, but unfortunately not far enough that it's an easy feat. Whilst there's some movement in enabling developers to add Handlebars helpers via Ghost Apps, it's still a painto get working (I
HANDLING SYNCHRONOUS ASYNCHRONOUS LOOPS IN JAVASCRIPT/NODE.JS One of the most lovable (yet frustrating) things about JavaScript and Node.js is the use of Asynchronous functions and the callback based system. Several times I've found myself wanting to halt for things to complete instead of sending off a bunch of processes all at once - anexample
VISUALIZING DEVELOPER DOWNLOAD COUNTS This short post is about a small application I wrote to track developer stats, named My Dev Statistics. If you want to skip to the finished product, you can find the application on both the iOS App Store and Google Play.. For a long time now, I've wanted to build something small and handy to gauge audience reach for open source packages I've written, or repositories I've published. SOME THOUGHTS ON RUST'S ASYNC/AWAIT DEBATE This post will be an extension of the debates found in the Rust forums, specifically here and here. A lot is being said in those threads and there's a certain amount of duplicated posts that are drowning out potentially valuable information and perspectives. I've written several comments in RAMBLINGS OF A CODE MONKEY Ramblings of a Code Monkey. Settings Aliases for Git Sources. I thought I'd share a small configuration I found recently in my .gitconfig that helps save some time when setting remotes in Git repositories (or cloning new ones). Before I found this setting, I consistently found myself in a browser to copy/paste the clone URL(I'm sure I'm not.
ABOUT ME
Hi there, I'm Isaac, welcome to my blog! I occasionally post things about side projects, concepts and sometimes even guides here and there. I mostly post things I need to get "on paper", or just projects I had fun working on that I want to share with the ACHIEVING MULTIPLE ROUTING KEYS IN RABBITMQ EXCHANGESSEE MORE ONWHITFIN.IO
SAFELY CREATING CUSTOM HANDLEBARS HELPERS FOR GHOST BLOGS I'm fairly new to Handlebars, the templating system that the blogging system Ghost uses, but my initial impressions are that it's a pretty sweet tool to use. However, it's somewhat limited when you're developing a Ghost blog, due to the fact that Ghost only OPTIMIZING DOCKER IMAGES FOR MAVEN PROJECTS Optimizing Build Sizes. Even with the speed increase, the image is still far too large. There are several options here; an easy one being to just flip the base image to maven:3.5-jdk-8-alpine for around a 60% reduction, but the result is still around 336MB. A better approach is to use a multi-stage Docker build, and only actually use a JDK ASYNCHRONOUS TEST LOOPS WITH MOCHA USING IT-EACH Due to the nature of this, it is possible to do this in Mocha by putting an async loop inside the Mocha it block, however you wouldn't be able to figure out which element of your loop the test failed on, without additional logging. This is where it.each comes in. This module gives you the ability to dynamically display your test titlebased on
REDIRECTING AN INPUTSTREAM TO AN OUTPUTSTREAM IN JAVA After working with NodeJS, Streams have always been an annoyance for me in Java (especially when I was first learning), simply due to the fact that you had to wait for the input to buffer and be fed through the abstract read() method of the InputStream interface. Most examples around use the BufferedReader in order to demonstrate how to do this. Let's take such an example to exercise what I JAVA 8 CUSTOM COLLECTORS: JACKSON ARRAYNODESEE MORE ON WHITFIN.IO OPTIMIZING DOCKER IMAGES FOR RUST PROJECTS Optimizing Docker Images for Rust Projects. This post will be the first of several addressing Docker image optimizations for different project types. It stems from my recent experiences with badly written Dockerfiles, which result in sitting around for 10 minutes every time you build, only to then need to upload images of over 1GB in size. SORTING AN OBJECT RECURSIVELY BY KEY IN NODE.JS/JAVASCRIPT Sorting an object is one of those little things which nobody ever considers useful to know (until it becomes so), but it's proven particularly useful to me in the last few months - not necessarily for the comparison of two objects at runtime (which, thankfully, there are much quicker things for in NodeJS/JavaScript), but for the ease of reading logged data stores efficiently - especially large RAMBLINGS OF A CODE MONKEY Ramblings of a Code Monkey. Settings Aliases for Git Sources. I thought I'd share a small configuration I found recently in my .gitconfig that helps save some time when setting remotes in Git repositories (or cloning new ones). Before I found this setting, I consistently found myself in a browser to copy/paste the clone URL(I'm sure I'm not.
ABOUT ME
Hi there, I'm Isaac, welcome to my blog! I occasionally post things about side projects, concepts and sometimes even guides here and there. I mostly post things I need to get "on paper", or just projects I had fun working on that I want to share with the ACHIEVING MULTIPLE ROUTING KEYS IN RABBITMQ EXCHANGESSEE MORE ONWHITFIN.IO
SAFELY CREATING CUSTOM HANDLEBARS HELPERS FOR GHOST BLOGS I'm fairly new to Handlebars, the templating system that the blogging system Ghost uses, but my initial impressions are that it's a pretty sweet tool to use. However, it's somewhat limited when you're developing a Ghost blog, due to the fact that Ghost only OPTIMIZING DOCKER IMAGES FOR MAVEN PROJECTS Optimizing Build Sizes. Even with the speed increase, the image is still far too large. There are several options here; an easy one being to just flip the base image to maven:3.5-jdk-8-alpine for around a 60% reduction, but the result is still around 336MB. A better approach is to use a multi-stage Docker build, and only actually use a JDK ASYNCHRONOUS TEST LOOPS WITH MOCHA USING IT-EACH Due to the nature of this, it is possible to do this in Mocha by putting an async loop inside the Mocha it block, however you wouldn't be able to figure out which element of your loop the test failed on, without additional logging. This is where it.each comes in. This module gives you the ability to dynamically display your test titlebased on
REDIRECTING AN INPUTSTREAM TO AN OUTPUTSTREAM IN JAVA After working with NodeJS, Streams have always been an annoyance for me in Java (especially when I was first learning), simply due to the fact that you had to wait for the input to buffer and be fed through the abstract read() method of the InputStream interface. Most examples around use the BufferedReader in order to demonstrate how to do this. Let's take such an example to exercise what I JAVA 8 CUSTOM COLLECTORS: JACKSON ARRAYNODESEE MORE ON WHITFIN.IO OPTIMIZING DOCKER IMAGES FOR RUST PROJECTS Optimizing Docker Images for Rust Projects. This post will be the first of several addressing Docker image optimizations for different project types. It stems from my recent experiences with badly written Dockerfiles, which result in sitting around for 10 minutes every time you build, only to then need to upload images of over 1GB in size. SORTING AN OBJECT RECURSIVELY BY KEY IN NODE.JS/JAVASCRIPT Sorting an object is one of those little things which nobody ever considers useful to know (until it becomes so), but it's proven particularly useful to me in the last few months - not necessarily for the comparison of two objects at runtime (which, thankfully, there are much quicker things for in NodeJS/JavaScript), but for the ease of reading logged data stores efficiently - especially large BUILDING SIMPLE APIS WITH HYPER AND USHER When writing a web service, I often lean towards using tools that are as minimal as possible. One pretty obvious reason for this is the avoidance of dependencies you either don't want or don't need in your project. Whilst I'm not someone who goes out of their way to avoid SAFELY CREATING CUSTOM HANDLEBARS HELPERS FOR GHOST BLOGS I'm fairly new to Handlebars, the templating system that the blogging system Ghost uses, but my initial impressions are that it's a pretty sweet tool to use. However, it's somewhat limited when you're developing a Ghost blog, due to the fact that Ghost only WRITING MAPREDUCE JOBS USING RUST AND EFFLUX Writing MapReduce Jobs Using Rust and Efflux. During my work life, I spend a lot of time working with MapReduce-style workflows, particularly with Hadoop infrastructure. A lot of this work is spent with larger amounts of data in order to implement the batch layer of the Lambda architecture. Due to this, the largest concern is that thebehaviour
INTRODUCING VESSEL: A BRIDGE BETWEEN ELIXIR AND HADOOP Disclaimer: I should point out that I wrote this project for those who are already working with Elixir and have need of integrating their existing codebases with Hadoop. I'm going to try assume limited knowledge of Hadoop/Elixir within this post - but I apologise if itgoes a little
CACHEX V3.1 AND THE RETURN OF DISTRIBUTED CACHES Cachex v3.1 and the Return of Distributed Caches. If you work with Elixir on web services, you may have come across a library I work on named Cachex. Although the name makes it somewhat obvious, this is a library based on caching expensive data in memory. It works inside your application layers using the Erlang Term Storage (ETS) under thehood
HOW TO REMAP THE ANDROID POWER BUTTON ELSEWHERE I figured this was probably something that people might find useful as when searching for a possible solution myself I came across a massive Google groups post with no good on how to remap the power button on an Android device! Basically, the other day my Nexus S Power button BULK INDEXING WITH THE ELASTICSEARCH JAVA REST CLIENT Bulk Indexing with the Elasticsearch Java REST Client. With the introduction of Elasticsearch v5.0.0, Elastic began to recommend moving to their new REST client for server interactions rather than the transport client that was shipped previously. The intent was to make a HTTP client which would act with little to no interaction withthe
USING MONGODB WITH ELIXIR, PHOENIX AND ECTO This is as much for my reference as anyone else's, so I hope everything is clear enough for newcomers. Update: Refer here for an example project following the method below. Due to having gotten a little bored with Node.js in recent times, and also a lack of engagement with the latest MongoDB releases, I felt it was time to undertake something new - a small side project I have been thinking ADDING CUSTOM HANDLEBARS TEMPLATE HELPERS IN GHOST Ghost has come a long way since I wrote my first post on safely creating custom Handlebars helpers, but unfortunately not far enough that it's an easy feat. Whilst there's some movement in enabling developers to add Handlebars helpers via Ghost Apps, it's still a painto get working (I
HANDLING SYNCHRONOUS ASYNCHRONOUS LOOPS IN JAVASCRIPT/NODE.JS One of the most lovable (yet frustrating) things about JavaScript and Node.js is the use of Asynchronous functions and the callback based system. Several times I've found myself wanting to halt for things to complete instead of sending off a bunch of processes all at once - anexample
RAMBLINGS OF A CODE MONKEY Ramblings of a Code Monkey. Settings Aliases for Git Sources. I thought I'd share a small configuration I found recently in my .gitconfig that helps save some time when setting remotes in Git repositories (or cloning new ones). Before I found this setting, I consistently found myself in a browser to copy/paste the clone URL(I'm sure I'm not.
ABOUT ME
Hi there, I'm Isaac, welcome to my blog! I occasionally post things about side projects, concepts and sometimes even guides here and there. I mostly post things I need to get "on paper", or just projects I had fun working on that I want to share with the ACHIEVING MULTIPLE ROUTING KEYS IN RABBITMQ EXCHANGESSEE MORE ONWHITFIN.IO
SAFELY CREATING CUSTOM HANDLEBARS HELPERS FOR GHOST BLOGS I'm fairly new to Handlebars, the templating system that the blogging system Ghost uses, but my initial impressions are that it's a pretty sweet tool to use. However, it's somewhat limited when you're developing a Ghost blog, due to the fact that Ghost only REDIRECTING AN INPUTSTREAM TO AN OUTPUTSTREAM IN JAVAWRITE STRING TO OUTPUTSTREAM JAVACONVERT STRING TO INPUTSTREAM JAVAJAVA COPY INPUTSTREAM TO OUTPUTSTREAMSTRING TO OUTPUTSTREAMJAVA READ INPUTSTREAM TO STRINGJAVA WRITE FILE TO OUTPUTSTREAM After working with NodeJS, Streams have always been an annoyance for me in Java (especially when I was first learning), simply due to the fact that you had to wait for the input to buffer and be fed through the abstract read() method of the InputStream interface. Most examples around use the BufferedReader in order to demonstrate how to do this. Let's take such an example to exercise what I ASYNCHRONOUS TEST LOOPS WITH MOCHA USING IT-EACHC# TEST ASYNCC# USING ASYNCMOCHA TEST TIMEOUTUNIT TEST ASYNC Due to the nature of this, it is possible to do this in Mocha by putting an async loop inside the Mocha it block, however you wouldn't be able to figure out which element of your loop the test failed on, without additional logging. This is where it.each comes in. This module gives you the ability to dynamically display your test titlebased on
ADDING CUSTOM HANDLEBARS TEMPLATE HELPERS IN GHOST Ghost has come a long way since I wrote my first post on safely creating custom Handlebars helpers, but unfortunately not far enough that it's an easy feat. Whilst there's some movement in enabling developers to add Handlebars helpers via Ghost Apps, it's still a painto get working (I
OPTIMIZING DOCKER IMAGES FOR MAVEN PROJECTS Optimizing Build Sizes. Even with the speed increase, the image is still far too large. There are several options here; an easy one being to just flip the base image to maven:3.5-jdk-8-alpine for around a 60% reduction, but the result is still around 336MB. A better approach is to use a multi-stage Docker build, and only actually use a JDK OPTIMIZING DOCKER IMAGES FOR RUST PROJECTSDOCKER LIBRARY ALPINEDOCKER RUSTDOCKER RUST IMAGERUST DOCKER API Optimizing Docker Images for Rust Projects. This post will be the first of several addressing Docker image optimizations for different project types. It stems from my recent experiences with badly written Dockerfiles, which result in sitting around for 10 minutes every time you build, only to then need to upload images of over 1GB in size. BULK INDEXING WITH THE ELASTICSEARCH JAVA REST CLIENT Bulk Indexing with the Elasticsearch Java REST Client. With the introduction of Elasticsearch v5.0.0, Elastic began to recommend moving to their new REST client for server interactions rather than the transport client that was shipped previously. The intent was to make a HTTP client which would act with little to no interaction withthe
RAMBLINGS OF A CODE MONKEY Ramblings of a Code Monkey. Settings Aliases for Git Sources. I thought I'd share a small configuration I found recently in my .gitconfig that helps save some time when setting remotes in Git repositories (or cloning new ones). Before I found this setting, I consistently found myself in a browser to copy/paste the clone URL(I'm sure I'm not.
ABOUT ME
Hi there, I'm Isaac, welcome to my blog! I occasionally post things about side projects, concepts and sometimes even guides here and there. I mostly post things I need to get "on paper", or just projects I had fun working on that I want to share with the ACHIEVING MULTIPLE ROUTING KEYS IN RABBITMQ EXCHANGESSEE MORE ONWHITFIN.IO
SAFELY CREATING CUSTOM HANDLEBARS HELPERS FOR GHOST BLOGS I'm fairly new to Handlebars, the templating system that the blogging system Ghost uses, but my initial impressions are that it's a pretty sweet tool to use. However, it's somewhat limited when you're developing a Ghost blog, due to the fact that Ghost only REDIRECTING AN INPUTSTREAM TO AN OUTPUTSTREAM IN JAVAWRITE STRING TO OUTPUTSTREAM JAVACONVERT STRING TO INPUTSTREAM JAVAJAVA COPY INPUTSTREAM TO OUTPUTSTREAMSTRING TO OUTPUTSTREAMJAVA READ INPUTSTREAM TO STRINGJAVA WRITE FILE TO OUTPUTSTREAM After working with NodeJS, Streams have always been an annoyance for me in Java (especially when I was first learning), simply due to the fact that you had to wait for the input to buffer and be fed through the abstract read() method of the InputStream interface. Most examples around use the BufferedReader in order to demonstrate how to do this. Let's take such an example to exercise what I ASYNCHRONOUS TEST LOOPS WITH MOCHA USING IT-EACHC# TEST ASYNCC# USING ASYNCMOCHA TEST TIMEOUTUNIT TEST ASYNC Due to the nature of this, it is possible to do this in Mocha by putting an async loop inside the Mocha it block, however you wouldn't be able to figure out which element of your loop the test failed on, without additional logging. This is where it.each comes in. This module gives you the ability to dynamically display your test titlebased on
ADDING CUSTOM HANDLEBARS TEMPLATE HELPERS IN GHOST Ghost has come a long way since I wrote my first post on safely creating custom Handlebars helpers, but unfortunately not far enough that it's an easy feat. Whilst there's some movement in enabling developers to add Handlebars helpers via Ghost Apps, it's still a painto get working (I
OPTIMIZING DOCKER IMAGES FOR MAVEN PROJECTS Optimizing Build Sizes. Even with the speed increase, the image is still far too large. There are several options here; an easy one being to just flip the base image to maven:3.5-jdk-8-alpine for around a 60% reduction, but the result is still around 336MB. A better approach is to use a multi-stage Docker build, and only actually use a JDK OPTIMIZING DOCKER IMAGES FOR RUST PROJECTSDOCKER LIBRARY ALPINEDOCKER RUSTDOCKER RUST IMAGERUST DOCKER API Optimizing Docker Images for Rust Projects. This post will be the first of several addressing Docker image optimizations for different project types. It stems from my recent experiences with badly written Dockerfiles, which result in sitting around for 10 minutes every time you build, only to then need to upload images of over 1GB in size. BULK INDEXING WITH THE ELASTICSEARCH JAVA REST CLIENT Bulk Indexing with the Elasticsearch Java REST Client. With the introduction of Elasticsearch v5.0.0, Elastic began to recommend moving to their new REST client for server interactions rather than the transport client that was shipped previously. The intent was to make a HTTP client which would act with little to no interaction withthe
BUILDING SIMPLE APIS WITH HYPER AND USHER When writing a web service, I often lean towards using tools that are as minimal as possible. One pretty obvious reason for this is the avoidance of dependencies you either don't want or don't need in your project. Whilst I'm not someone who goes out of their way to avoid OPTIMIZING DOCKER IMAGES FOR MAVEN PROJECTS Optimizing Build Sizes. Even with the speed increase, the image is still far too large. There are several options here; an easy one being to just flip the base image to maven:3.5-jdk-8-alpine for around a 60% reduction, but the result is still around 336MB. A better approach is to use a multi-stage Docker build, and only actually use a JDK CACHEX V3.1 AND THE RETURN OF DISTRIBUTED CACHES Cachex v3.1 and the Return of Distributed Caches. If you work with Elixir on web services, you may have come across a library I work on named Cachex. Although the name makes it somewhat obvious, this is a library based on caching expensive data in memory. It works inside your application layers using the Erlang Term Storage (ETS) under thehood
SORTING AN OBJECT RECURSIVELY BY KEY IN NODE.JS/JAVASCRIPT Sorting an object is one of those little things which nobody ever considers useful to know (until it becomes so), but it's proven particularly useful to me in the last few months - not necessarily for the comparison of two objects at runtime (which, thankfully, there are much quicker things for in NodeJS/JavaScript), but for the ease of reading logged data stores efficiently - especially large RAMBLINGS OF A CODE MONKEY (PAGE 2) Ramblings of a Code Monkey (Page 2) Adding Custom Handlebars Template Helpers in Ghost. Ghost has come a long way since I wrote my first post on safely creating custom Handlebars helpers, but unfortunately not far enough that it's an easy feat. Whilst there's some movement in enabling developers to add Handlebars helpers via Ghost Apps, it's ADDING CUSTOM HANDLEBARS TEMPLATE HELPERS IN GHOST Ghost has come a long way since I wrote my first post on safely creating custom Handlebars helpers, but unfortunately not far enough that it's an easy feat.Whilst there's some movement in enabling developers to add Handlebars helpers via Ghost Apps, it's still a pain to get working (I was unable to), and requires poking about insideyour database.
INTRODUCING VESSEL: A BRIDGE BETWEEN ELIXIR AND HADOOP Disclaimer: I should point out that I wrote this project for those who are already working with Elixir and have need of integrating their existing codebases with Hadoop. I'm going to try assume limited knowledge of Hadoop/Elixir within this post - but I apologise if itgoes a little
HOW TO REMAP THE ANDROID POWER BUTTON ELSEWHERE I figured this was probably something that people might find useful as when searching for a possible solution myself I came across a massive Google groups post with no good on how to remap the power button on an Android device! Basically, the other day my Nexus S Power button FILTERING DUPLICATE LOG ENTRIES VIA RUST AND RUNIQ Interface. The CLI is very simple for the time being (and was created using clap for those interested). runiq 0.1.0 An efficient way to filter duplicate lines from input, Ã la uniq. USAGE: runiq SOME THOUGHTS ON RUST'S ASYNC/AWAIT DEBATE This post will be an extension of the debates found in the Rust forums, specifically here and here. A lot is being said in those threads and there's a certain amount of duplicated posts that are drowning out potentially valuable information and perspectives. I've written several comments in__
* __ Home
* __ About
* __ GitHub
* __ Keybase
* __ LinkedIn
* __ Projects
* __ Subscribe
* __ Twitter
*
SOME THOUGHTS ON RUST'S ASYNC/AWAIT DEBATE This post will be an extension of the debates found in the Rust forums, specifically here and here. A lot is being said in those threads and there's a certain amount of duplicated posts that are drowning out potentially valuable information and perspectives. I've written several comments in those debates… Approximate 7 min read published 10 months ago*
BUILDING SIMPLE APIS WITH HYPER AND USHER When writing a web service, I often lean towards using tools that are as minimal as possible. One pretty obvious reason for this is the avoidance of dependencies you either don't want or don't need in your project. Whilst I'm not someone who goes out of their way to avoid… Approximate 11 min read published 10 months ago*
EASY CONCURRENCY LOCKING IN ERLANG/ELIXIR Out of the box, Elixir and Erlang offer a very powerful tool for serializing access to a resource via the GenServer included in OTP and surfaced in the Elixir standard library. As a GenServer processes messages it receives both in order and synchronously, it becomes a great tool for simulating… Approximate 5 min read published a year ago*
VISUALIZING DEVELOPER DOWNLOAD COUNTS This short post is about a small application I wrote to track developer stats, named My Dev Statistics. If you want to skip to the finished product, you can find the application on both the iOS App Store and Google Play. For a long time now, I've wanted to build… Approximate 4 min read published a year ago*
WRITING MAPREDUCE JOBS USING RUST AND EFFLUX During my work life, I spend a lot of time working with MapReduce-style workflows, particularly with Hadoop infrastructure. A lot of this work is spent with larger amounts of data in order to implement the batch layer of the Lambda architecture. Due to this, the largest concern is that the… Approximate 7 min read published a year ago*
SIMULATING DISTRIBUTED CLUSTERS FOR ELIXIR UNIT TESTS During the recent addition of distribution to Cachex, I realised that testing distributed behaviour is quite annoying. Although there's a tonne of useful inside the OTP standard library, it's not particularly obvious if you don't know what you're looking for. Most projects (such as Phoenix) roll their distributed tests around… Approximate 4 min read published a year ago*
QUICKLY CONCATENATING FILES IN AMAZON S3 Amazon S3 is a storage solution used by pretty much everyone these days. Due to this there are naturally a bunch of tools for doing almost everything you can think of with S3. This post is about a tool I wrote to retrieve concatenate files efficiently in S3 buckets. If… Approximate 3 min read published a year ago*
CACHEX V3.1 AND THE RETURN OF DISTRIBUTED CACHES If you work with Elixir on web services, you may have come across a library I work on named Cachex. Although the name makes it somewhat obvious, this is a library based on caching expensive data in memory. It works inside your application layers using the Erlang Term Storage(ETS)…
Approximate 5 min read published a year ago*
OPTIMIZING DOCKER IMAGES FOR MAVEN PROJECTS I recently wrote a post on optimizing Docker images for Rust projects, which turned out to be quite popular, so I figured I'd follow it up with another for those Java developers out there who have to painfully sit through slow Maven builds inside Docker. Just like the otherpost,…
Approximate 5 min read published 2 years ago*
ADDING CUSTOM HANDLEBARS TEMPLATE HELPERS IN GHOST Ghost has come a long way since I wrote my first post on safely creating custom Handlebars helpers, but unfortunately not far enough that it's an easy feat. Whilst there's some movement in enabling developers to add Handlebars helpers via Ghost Apps, it's still a pain to get working (I… Approximate 4 min read published 2 years ago Page 1 of 4 Older Posts __ © 2020 Isaac Whitfield.Details
Copyright © 2024 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0