|
My first dive into Meteor.js has been great. I'm starting to hit that point though (as you do with a full stack framework) where the default behaviours don't suit requirements. In this case my client doesn't like the default behaviours and appearance of the accounts-ui package. accounts-base and accounts-ui are awesome packages that happen to make a heap of assumptions about how you're going to reason about your user's authentication and ....
|
|
Hello! This is a new version of my website and blog. If you experience any issues, please let me know! Happy Hacking, James You can hire James and his team at m9rx corporation . You can follow James on Mastodon for more frequent updates and other random thoughts. You can follow James on Twitter for more frequent updates and other random thoughts. You can support James on GitHub if you'd like to help sustain this ..
|
|
Hello! This is a new version of my website and blog. If you experience any issues, please let me know! Happy Hacking, James You can hire James and his team at m9rx corporation . You can follow James on Mastodon for more frequent updates and other random thoughts. You can follow James on Twitter for more frequent updates and other random thoughts. You can support James on GitHub if you'd like to help sustain this ..
|
Not to anybody. You cannot be interesting to anybody. Whatever medium you are using to express yourself – it won’t work with every human being. So instead of trying to please the world – go make sure the people your information is intended to reach – actually catch their attention. If you don’t know – just pick one and go with it. You will have an other opportunity tomorrow to write for the other crowd you have ignored today.
|
Not to anybody. You cannot be interesting to anybody. Whatever medium you are using to express yourself – it won’t work with every human being. So instead of trying to please the world – go make sure the people your information is intended to reach – actually catch their attention. If you don’t know – just pick one and go with it. You will have an other opportunity tomorrow to write for the other crowd you have ignored today.
|
|
Things machine learning plus UX teams seemingly can't get right yet: Is this non-friend facebook message important or not? Do I care if this person liked some random thing on facebook? Do I need notifications or directions to an event I'm already at? Am I in a vehicle right now? What zoom level would be useful for this map?
|
|
Install ipa on device Get utility with: npm install -g ipa-deploy npm install -g ios-deploy Install ipa on connected iPhone: ipa-deploy path/to/your/App.ipa Install app on booted simulator Install ipa on connected iPhone: xcrun simctl install booted path/to/your/App.app Install ipa on booted simulator #!/bin/bash # Unzip ipa, install app, and run on booted simulator. set -o nounset set -o errexit readonly IPA_PATH=$1 readonly TEMP_..
|
|
In the previous post in this series , we examined features of the Stream API added in Java 9. A very useful API that plays well with streams, and was, in fact, used to make streams more robust, is Optional. Let’s explore it with JShell ! Optional provides a container that may or may not contain a...
|
|
In the previous post in this series , we examined features of the Stream API added in Java 9. A very useful API that plays well with streams, and was, in fact, used to make streams more robust, is Optional. Let’s explore it with JShell ! Optional provides a container that may or may not contain a...
|
|
This morning I battled the borrow checker for a while trying to properly pass a variable through a closure to a child thread. I eventually figured out calling .to_owned() in the right place was needed, but it took a long time to get to that point. My normal urge is to try to understand what's happening by studying closely the compiler error message and the standard library docs, but for pragmatic reasons I need to let go of that and not wai....
|
|
Preambule This is an archive from my previous website before I moved on to using Hugo. It is all combined in one post because I suppose it is always nice to do less clicks. Enjoy c: diary drawings from late of 2017 0th 1st 2nd 3rd 4th 5th
|
|
Apple's newest mobile CPU, the A11, brings a new level of heterogeneous computing to iOS, with both high and low performance cores that are always on. With the release of the iPhone X, I set out to see if I could observe these heterogeneous cores in action. (Read More)
|
|
Friday Q&A 2017-11-10: Observing the A11's Heterogenous Cores Friday Q&A 2017-11-10: Observing the A11's Heterogenous Cores Apple's newest mobile CPU, the A11, brings a new level of heterogeneous computing to iOS, with both high and low performance cores that are always on. With the release of the iPhone X, I set out to see if I could observe these heterogeneous cores in action. (Yes, I'm aware that A11 devices could be obtained ....
|
|
Today I wrote a little unix utility to ensure a given line is present in a file. It's not that much longer than I would expect in a scripting language (60 lines vs probably ~10 for python), but the number of machinations I had to go through was vastly larger. To get basename of argv[0] I had to make a Path struct which brings lots of Option/Result handling into things. I'm getting less terrible at reading the standard library reference docu....
|
|
In the last post in this series , we took a look at the new convenience factory methods for collections in Java 9. Collections play well with the Stream API, which learned a few new tricks since its introduction in Java 8 as well. There are 4 particularly exciting new features – let’s explore them with JShell !
|
|
In the last post in this series , we took a look at the new convenience factory methods for collections in Java 9. Collections play well with the Stream API, which learned a few new tricks since its introduction in Java 8 as well. There are 4 particularly exciting new features – let’s explore them with JShell !
|
DuckRails now has its own docker image and so you can run the application without having to setup anything related to databases, secret keys etc. https://hub.docker.com/r/iridakos/duckrails/ Usage You can now use: docker pull iridakos/duckrails to download the image and then you can start the application with: docker run -p
|
DuckRails now has its own docker image and so you can run the application without having to setup anything related to databases, secret keys etc. https://hub.docker.com/r/iridakos/duckrails/ Usage You can now use: docker pull iridakos/duckrails to download the image and then you can start the application with: docker run -p
|
|
I’ve increasingly been working with Kubernetes and hence lots of YAML files. It’s nice and easy to get autocomplete setup for the Kubernetes YAML using this awesome extension YAML Support by Red Hat Setup: Install the Extension Add the following to your settings "yaml.schemas": { "Kubernetes": "*.yaml" } Reload the editor Here is me setting it up and showing it off: Massive thanks to the team that worked on the ext..
|
|
My girlfriend works for BYU SA—it’s the division of BYU that’s responsible for planning and running events. As part of her job, she has to review song lyrics and make sure that the song is okay to play at BYU functions. This can get rather irksome. Imagine reading text looking for vulgar words or phrases. Yuck. I took some time this evening to write a little website that checks MetroLyrics for any vulgar words or phrases. I have an ex....
|
|
My girlfriend works for BYU SA—it’s the division of BYU that’s responsible for planning and running events. As part of her job, she has to review song lyrics and make sure that the song is okay to play at BYU functions. This can get rather irksome. Imagine reading text looking for vulgar words or phrases. Yuck. I took some time this evening to write a little website that checks MetroLyrics for any vulgar words or phrases. I have an ex....
|
Easy Recipe For Making Chili at Home with Matt Crampton Cooking chili doesn't have to be a pain, use this easy recipie to make it at home. Easy Recipe For Making Chili at Home Cooking chili is easy if you make it my way. Recipe as follows... Ingredients: 1 pound of ground beef 1 onion 1 can of Ro-Tel (chopped tomatoes and green chilis) 1 can of creamed corn 1 can of tomato paste 1 packet of chili seasoning 2 cubes of frozen garlic (or just ..
|
|
For a while, my Facebook Android App had a little rocket ship along the top menu icons. It turned out this little rocket ship lead to something called the Explore Feed , which was a cool little section on that allowed you to view posts from pages you might like but haven’t necessarily “liked” the page itself. The rocket ship icon shifted position several times, so I figured Facebook was just trying to figure out the optimal placement for i..
|
|
Worked through 3 of the really tricky chapters of Rust By Example today. Still not a ton of lightbulbs illuminating but it will come with more coding. I feel hesitant to code more exercises until I get through the next 3 chapters on error handling etc and then I'll have a bit more knowledge whereas this morning hacking through stuff it was clear I didn't have the basics down when I had working code and just wanted to extract it unchanged in..
|
|
In this article we will show you how to write C++ Hello World program using classes with constructors and destructors. We will create different beginner C++ programs that will output “Hello, World!” as an example. Hello World The most trivial example is to create a simple cpp HelloWorld file inside your C++ project and a class with the same name. Now we are going to call a method in this class that prints “Hello World!” .
|
|
Binary search is one of the most basic algorithms I know. Given a sorted list of comparable items and a target item being sought, binary search looks at the middle of the list, and compares it to the target. If the target is larger, we repeat on the smaller half of the list, and vice versa. With each comparison the binary search algorithm cuts the search space in half. The result is a guarantee of no more than $ \log(n)$ comparisons, for a ..
|
|
Binary search is one of the most basic algorithms I know. Given a sorted list of comparable items and a target item being sought, binary search looks at the middle of the list, and compares it to the target. If the target is larger, we repeat on the smaller half of the list, and vice versa. With each comparison the binary search algorithm cuts the search space in half. The result is a guarantee of no more than $ \log(n)$ comparisons, for a ..
|
|
Binary search is one of the most basic algorithms I know. Given a sorted list of comparable items and a target item being sought, binary search looks at the middle of the list, and compares it to the target. If the target is larger, we repeat on the smaller half of the list, and vice versa. With each comparison the binary search algorithm cuts the search space in half. The result is a guarantee of no more than $ \log(n)$ comparisons, for a ..
|
|
Whether a vulnerability is currently exposed or not matters, but only in prioritization. Where its exploitable today or not, leaving it unaddressed is a unnecessarily risky decision.
|
|
This post is pretty stream of consciousness. Thoughts on rust language and syntax so far (about ~45 hours spent studying, trickled in over the last 6 months or so). The Hard rust stuff that are hard for me, unfamiliar, or I haven't studied yet ref/stack/heap move/borrow lifetimes traits generics ampersand ref syntax, tick lifetime syntax keeping track of intermediate type conversions when chaining methods like .iter().map().collect() ....
|