|
Have separate static libraries for different iOS architectures? Stitch 'em up into a single fat library using with lipo: $ lipo -create libOne_i386.a libOne_x86_64.a libOne_armv7.a libOne_arm64.a -output libOne.a
|
|
Recently kept track of expenses between a group of us. To settle the scores, I emailed an exported HTML table from an org file. This was simple enough and required no external viewer from recepients. The org table, in all its textful glory, looked as follows… | Date | Item | Charge | |------------------+----------------+----------| | [2015-06-18 Thu] | Cash | 20.00 | | [2015-07-11 Sat] | Lucky 7 | 42.97 | | [2015-07-13 Mon] | Santa....
|
|
Deriving the Reddit Formula — What can expected-utility theory tell us about Reddit’s “hot” formula?
|
|
Back again with another riveting installment of Questions and Answers. Mountain View has a car show during its Thursday Night Live series of events. Are you in that? Erm, no. Though if I ever go fully insane and paint the outside of the box with flames and other crazy shenanigans, I’ll definitely start attending some car shows. I could go the full nine yards, get an amp and put a sound system in the back, maybe a disco ball or two. ..
|
|
Back again with another riveting installment of Questions and Answers. Mountain View has a car show during its Thursday Night Live series of events. Are you in that? Erm, no. Though if I ever go fully insane and paint the outside of the box with flames and other crazy shenanigans, I’ll definitely start attending some car shows. I could go the full nine yards, get an amp and put a sound system in the back, maybe a disco ball or two. ..
|
|
FatturaElettronicaPA has just been updated to v0.1.4. With this release invoice bodies (FatturaElettronicaBody items) are also validated. As always, you can install the package directly from NuGet . See the original post for more info. Also don’t forget to check the related projects . Update: v0.1.6 has also been released.
|
|
I have always wanted to have some fun with Minitest but until this weekend I never got the chance to do it.
|
|
With preparations for the fall conference season coming up, here are some travel tips to help make your life a little bit easier.
|
On Monday 2015–07–14 I gave a (remote) talk as the Pittsburgh Code & Supply Meetup entitled "TaskRabbit’s Ansible Tips & Tricks”.
|
|
In 2014 the White House commissioned a 90-day study that culminated in a report (pdf) on the state of “big data” and related technologies. The authors give many recommendations, including this central warning. Warning: algorithms can facilitate illegal discrimination! Here’s a not-so-imaginary example of the problem. A bank wants people to take loans with high interest rates, and it also serves ads for these loans. A modern idea is to use a..
|
|
In 2014 the White House commissioned a 90-day study that culminated in a report (pdf) on the state of “big data” and related technologies. The authors give many recommendations, including this central warning. Warning: algorithms can facilitate illegal discrimination! Here’s a not-so-imaginary example of the problem. A bank wants people to take loans with high interest rates, and it also serves ads for these loans. A modern idea is to use a..
|
|
In 2014 the White House commissioned a 90-day study that culminated in a report (pdf) on the state of “big data” and related technologies. The authors give many recommendations, including this central warning. Warning: algorithms can facilitate illegal discrimination! Here’s a not-so-imaginary example of the problem. A bank wants people to take loans with high interest rates, and it also serves ads for these loans. A modern idea is to use a..
|
|
At some point, you may come across a trusted command-line utility prompting you for a password, and Emacs shell happily displaying each typed character to the nearby-world to see. Luckily, you can train Emacs to recognize new password prompts and hide the typed characters in modes deriving from comint. Append the password prompt REGEXP: (setq comint-password-prompt-regexp (concat comint-password-prompt-regexp "\\|" "Password for red aler..
|
|
Eerily sinister, yet exquisitely beautiful. One cannot explain via words the feelings Murakami struck with this remarkable story.…
|
|
What is transcendental meditation? Transcendental meditation is the most commonly practiced form of meditation in the world. People who practice it often listen to, or repeat, a particular sound or mantra in order to reach a relaxed state of consciousness. It’s been praised by many for decades as a means of lowering stress and anxiety. What is a “flow state” within a video game? Video games that require quick thinking, fast reflexes an..
|
|
What is transcendental meditation? Transcendental meditation is the most commonly practiced form of meditation in the world. People who practice it often listen to, or repeat, a particular sound or mantra in order to reach a relaxed state of consciousness. It’s been praised by many for decades as a means of lowering stress and anxiety. What is a “flow state” within a video game? Video games that require quick thinking, fast reflexes an..
|
|
I recently used systemd , HandBrake , and some simple scripts to digitize a large collection of physical media (for personal, archival use.) In this post I'll go through systemd features that made this easier and cover all the components that make the automated pipeline work. If systemd, automation, or digital archiving sounds interesting to you, then read on! Table of Contents The Problem Hardware systemd Devices Th....
|
|
Skellig Michael . Fishy Fishy in Kinsale: beautiful town on the water. Belfast. Giant's Causeway. Greyhound dog races at Shelbourne Park. Old library chamber, Trinity College, Dublin .
|
|
Azure API Management: PowerShell Reporting & Cache Hit Ratio
-
blog.gripdev.xyz
-
10 years ago
-
eng
I was recently working with a customer who needed to view the cache hit ratio of an Azure API Management instance. Currently the UI dashboard doesn’t report this information, however there is a lovely API which you can call. As we needed something up and running fast PowerShell seemed like the perfect way to quickly retrieve the JSON and convert it into an object then format it nicely. The script also stores the results to disk so we have..
|
|
HTTPS, HTTP over TLS, has been around since 1994, and has been well adopted by the security sensitive web — online banking, shopping, taxes and more. However, the vast majority of websites (est. 81% to 97%) continue to communicate using clear (unencrypted) HTTP — no matter how insecure that is.
|
|
When you are running test agents on AWS knowing what instance type to run as test agents (for TeamCity or otherwise) can involve a lot of trial and error. Not only can there be great savings to be made by picking the correct instance type you can speed up your builds and get test feedback back faster which can be far more valuable the cost of a few additional cents an hour.
|
|
I’m currently in San Francisco doing an internship at Mozilla Research, working on creating functionality for SIMD in the Rust programming language. (This post is designed to describe what I’m doing for people not necessarily familiar with programming or SIMD.) What is SIMD? SIMD stands for “Single Instruction, Multiple Data”, and refers to functionality that a lot of computer hardware has for operating on multiple numbers at once. (Ess....
|
|
Not tried these yet. Taking note: Bravi Ragazzi (Streatham). Homeslice (Covent Garden). Lord Morpeth (Hackney). Santa Maria (Ealing). Voodoo Ray's (Dalston). Well Kneaded Wagon (Date-dependent location).
|
|
Converting mp4 to gif is handy for posting short screencasts. You can convert to gif using ffmpeg and optimize with imagemagick. To install: apt-get install ffmpeg imagemagick (linux) brew install ffmpeg imagemagick (Mac) Convert to gif: ffmpeg -i my.mp4 -pix_fmt rgb24 -r 5 my.gif Optimize with: convert -dither none -layers Optimize my.gif my_optimized.gif UPDATE: There's also licecap and subsequently optimize with: cat source.gif..
|
|
Building an application with a microservice architecture is an excellent long-term decision if you can afford the increase in upfront time investment to do it properly. Heroku provides a platform that most developers know for simple deployment, but it also dramatically simplifies microservices architecture.
|
|
I loved every single second of the book! While this book serves to continue the storyline, it does so wonderfully.
|
|
December 2011 the Google Engineering team published a blog post about bug prediction at Google . The topic caused quite a lot of discussion at the time over the internet on forums such as Hacker News and the Reddit programming sub-reddit. How bug prediction works In a nutshell the prediction works by ranking files against checking the file commit history and seeing how many changes have been flagged as bug fixes. Of course this means t..
|
|
Making Oh-My-Vagrant (OMV) more developer accessible and easy to install (from a distribution package like RPM) has always been a goal, but was previously never a priority. This is all sorted out now. In this article, I’ll explain how “mainstream” mode works, and how the RPM work was done. (I promise this will be somewhat interesting!) Prerequisites : If you haven’t read any of the previous articles about Oh-My-Vagrant , I’d recom..
|
|
Making Oh-My-Vagrant (OMV) more developer accessible and easy to install (from a distribution package like RPM) has always been a goal, but was previously never a priority. This is all sorted out now. In this article, I’ll explain how “mainstream” mode works, and how the RPM work was done. (I promise this will be somewhat interesting!) Prerequisites : If you haven’t read any of the previous articles about Oh-My-Vagrant , I’d recom..
|
|
Okay, that’s definitely a bit of a dramatic title, but I am definitely not happy with this turn of events. This actually happened two weeks ago, but I’ve been busy vacationing in LA (staying in a hotel, with a real room!) and haven’t been posting. Anyway, as you can see, someone has hit and damaged my front-left blinker, dislodging it from its socket and ruining a perfectly pleasant afternoon. They didn’t leave a note, not that I should b..
|
|
Okay, that’s definitely a bit of a dramatic title, but I am definitely not happy with this turn of events. This actually happened two weeks ago, but I’ve been busy vacationing in LA (staying in a hotel, with a real room!) and haven’t been posting. Anyway, as you can see, someone has hit and damaged my front-left blinker, dislodging it from its socket and ruining a perfectly pleasant afternoon. They didn’t leave a note, not that I should b..
|