Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by David Haley
STR in Land Between the Lakes / Western KY
Hello all, I was curious if anyone here has a STR around the Land Between the Lakes (LBL) area on the border of KY/TN. I'm currently in the military and work out of Fort Campbell but my primary residence is on the western side of the lake , have a log home on 24 acres with a very large pole barn and 6 stalls for horses, also within 1/10th of a mile from KY lake and around a 1 mile drive to a public boat ramp. There's also public hunting land that isn't frequented too often.
Discount code for pro membership
Quote from @Umair Aurangzeb: Quote from @Steve Osowicz: @Michael S. Can you direct me who to speak with about restarting a business account, I previously had an account that I received leads but I wanted to see about getting a notification about when I received a lead (email, text something like that). I wanted to ask about pricing as well. I have reached out to support@biggerpockets twice (Feb 16th, Feb 19th), no response and reached out to the general customer service a few days ago, no response.
From ‘white man’s science’ to a ‘Brave Space’: an art of decolonising landscape from Environmental Science
Abstract In 2021, prompted by the claim of a colleague that the climate and species crises are ‘white man’s science’, two small, seed-funding research projects, explored contemporary cultural values and colonial barriers to people of colour engaging in Environmental Sciences. The project partners included organisations from diverse ethnicities, sectors, cultures and generations in specific locations across the UK.
Performance trap: general libraries & helper objects
Convenience and performance are typically inversely correlated. If the code is easy to use, it's less optimized. If it's optimized, it's less convenient. Efficient code needs to get closer to the nitty gritty details of what is actually running, how. I came across an example in our ongoing work to run & optimize DeepCell cellular segmentation for cancer research. The DeepCell AI model predicts which pixels are most likely to be in a cell.
Re-rebuilding TF2.8 image: 369 patches
I wrote previously about rebuilding the TF2.8 image to patch vulnerabilities. I noticed the issue scanner had crept up again. So I rebuilt the container again, using the same dockerfiles (etc). The upstream changes (e.g. in Ubuntu 22.04) pulled in 369 security fixes. 🎉 Along the way, I regretted that the tensorflow-2.8.4-redux repo doesn't have automatic container building. I can't build it locally any longer as it needs x86_64 but I have arm64.
gs-fastcopy: get CPU count for upload workers
See previous post: Introducing gs-fastcopy I shipped the enhancement gs-fastcopy-python#10: Inspect processor count for better upload defaults. Previously, we were defaulting to 8 workers (Google's default). On a system with more than 8 cores, that's leaving a lot idle! Now, we inspect the available CPU count. We honor os.get_schedaffinity on systems that support it (processors available to this process not just in general) otherwise, we use os.cpu_count().
Introducing gs-fastcopy
These days, a single laptop can chomp through gigabytes of data in seconds. So why was it taking ~1.5min to compress & upload 2 GB? Why was it taking ~10s to download just 100 MB? I get bothered by code that "should" be fast but isn't, when I have to wait around for it. Maybe it's 30+ yrs experience with software, 25+ years in web dev: I have a pretty good sense when something is slower than it "should" be. And o', but am I never satisfied with needlessly slow code. Time is both time and money.
Ensuring GCE instances have full access to GCP APIs
The default settings for GCE instances are fairly locked down from accessing Google APIs, but it's not obvious that's happening! Check out the instance creation settings: You might think that "allow default access" means "use normal permissions as already configured". But … no 😅 Hover over the "?" icon and see: Default: read-only access to Storage and Service Management, write access to Stackdriver Logging and Monitoring, read/write access to Service Control.
Improve TensorFlow model load time by ~70% using HDF5 instead of SavedModel
In our ongoing work running DeepCell on Google Batch, we noted that it takes ~9s to load the model into memory, whereas prediction (the interesting part of loading the model) takes ~3s for a 512x512 image. The ideal runtime environment is serverless, so we don't have long-lived processes which would load the model once, to predict multiple samples across multiple jobs. Instead, each task instance needs to load the model before doing any work.
GitHub to Artifact Registry & Docker Hub via Cloud Build
This post describes automating Cloud Build triggered from a personal GitHub source repository using GitHub Actions, and pushing the resulting container to both Artifact Registry (for running in our GCP project) and Docker Hub (for other folks to access). I've been putting off container build automation for a while. When we dipped our toes in last time we learned that Cloud Build can't connect to a personal repo via a service account.
One Byte Explainer: Recursion
This is a submission for DEV Computer Science Challenge v24.06.12: One Byte Explainer. Explainer The recursive insight: split problems into simpler pieces. Sum 3 numbers by adding the 1st to the sum of the next 2. Divide & conquer the work then merge the parts. If you can solve the simplest, and you can make a problem simpler, you can solve anything. Additional Context TEAM: @dchaley @lynnlangit
One Byte Explainer: Large Language Models
This is a submission for DEV Computer Science Challenge v24.06.12: One Byte Explainer. Explainer LLMs communicate “like humans” by modeling our patterns. They’re limited: they only use patterns from training data. But: LLM training data is much larger than an average human’s memory. Like humans, when LLMs don’t know, they make stuff up (hallucinate). Additional Context TEAM: @dchaley @lynnlangit
One Byte Explainer: Big O notation
This is a submission for DEV Computer Science Challenge v24.06.12: One Byte Explainer. Explainer My code runs in seconds for 3 inputs but takes hours for 100, why? Consider: 3 people can all shake hands in 3 exchanges. But for 100 people (33x) it takes 4,950 (1650x)! Big O math represents runtime’s growth at scale by only keeping its main factors. Additional Context TEAM MEMBERS: @dchaley @lynnlangit
One Byte Explainer: the Halting Problem
This is a submission for DEV Computer Science Challenge v24.06.12: One Byte Explainer. Explainer Is this loop actually infinite, or will it eventually finish? In 1936, Alan Turing used his Machine to show we can’t know. Consider a program that checks if it stops and if true: loops forever. A paradox! Some problems are literally impossible: avoid them.
Running DeepCell on Google Batch with node pools
As part of our ongoing work to run DeepCell on GCP, I'm pleased to share our benchmarking results using Google Batch's private preview feature: node pools. Node pools allow Batch to reuse infrastructure across jobs, which can improve end-to-end performance for jobs with a lot of setup time (like our 3 GB container). Using a node pool reduced our benchmark time by 80%. 😎 https://medium.com/@dchaley/running-deepcell-on-google-batch-with-node-pools-8fe7d1c121a2
Using TensorFlow 2.8 on an Apple Silicon arm64 chip
My computer recently had an unfortunate interface with dihydrogen monoxide. To be determined if it will come back to life but it's not looking good. So, I bought a new Macbook which means, the M3 chip (arm64). I had a nice experience using the M1 from my previous job so I was looking forward to it. Of course ๐ฉ the x86 vs arm architecture issues started immediately when I tried using TensorFlow. Here's how I fixed it.
Rebuilding TensorFlow 2.8.4 on Ubuntu 22.04 to patch vulnerabilities
Table of contents: Context My process Summary of method & results TLDR: DeepCell + tensorflow-2.8.4 DeepCell + tensorflow-2.8.4-redux Delta Compressed size 3.2GB 4.0 GB +0.8 GB (+25%) VULNs 553 125 -428 (-77%) Critical 1 1 0 (0%) High 80 29 -51 (-63%) Medium 349 53 -296 (-85%) Low 123 42 -81 (-66%) Read on for the how, why, wherefore, and finally. Context & motivation Previously we switched from the DeepLearning container to the base TensorFlow container.
Google Cloud Build + personal GitHub repos?
I was excited to automate Docker container builds using Google Cloud Build: merge a PR into the main branch, and a few minutes later a container is ready. It was gonna be all cool and CI/CD and stuff. Following best practices, I created a bot account to avoid saving my personal account's access token into the project's secret manager. So far so good. But, because the repo is my personal repo, it doesn't show up in the bot's repo list on Cloud Build.
Container size analysis: TensorFlow 2.8 base image vs Deep Learning
TLDR, building our DeepCell container from a base TensorFlow image is 50% faster to load and 60% smaller than using the Deep Learning container. Deep Learning image Base TF image Reduction Uncompressed 19.5 GB 7.2 GB 63% Compressed 8.4 GB 3.2 GB 62% Batch job load time 6 min 3 min 50% This post covers how we rebuilt our container on the smaller base image; and why the Deep Learning container is so big to begin with.
First impressions: GPU + GCP Batch
Weihao and I have been working on programmatic benchmarks for DeepCell on Google Batch. We tried Vertex AI custom training jobs but ran into an issue with service accounts. It appears that the training job ran on the expected(?) service account, but in an unexpected project. We didn't track down how to give that project's user access to BigQuery. We also figured that we may want to run the container a little closer to the metal (not a VM though).
The 80% abstraction
Entropy is a universal law: everything tends toward disorder without reinvested energy. Software is no exception. When evolutionary development is constrained by time and/or budget, systems become "monolithic". That's often a euphemism for spaghetti of inconsistent abstractions. Gusto has been building Payroll software for over a decade. We now serve over 300k businesses nationwide. The abstractions we started with have grown along with our customers' needs.
The 80% abstraction
A method for simplifying large monoliths Entropy is a universal law: everything tends toward disorder without reinvested energy. Software is no exception. When evolutionary development is constrained by time and/or budget, systems become “monolithic”. That’s often a euphemism for spaghetti of inconsistent abstractions. Gusto has been building Payroll software for over a decade. We now serve over 300k businesses nationwide. The abstractions we started with have grown along with our customers’ needs.
Nashville emergency officials respond to dozens of calls from Wednesday storm
Photo by: Submitted by David Haley Posted at 4:19 PM, Apr 14, 2022 and last updated 9:19 PM, Apr 14, 2022 NASHVILLE, Tenn. (WTVF) — After Wednesday's storm with straight-line winds, the Nashville Office of Emergency Management responded to dozens of calls related to damage. The storm left thousands without power across the city, with downed power lines and trees snapped in half.
Packaging is a big part of our recycling problem
The message in the column "Your plastic recyclables are being chucked in someone else's trash" (Kitsap Sun, Nov. 29) is critical but not complete. Our current plastics recycling system is broken. Public education and motivation, and processing, are parts of but not the complete solution.
Baseball Injuries: Keys To Facilitating Effective Treatment And Return To Play
Given the increasing popularity of baseball, these authors discuss a variety of injuries ranging from contusions and shin splints to Achilles tendonitis and sliding injuries. They also share their thoughts on post-injury rehabilitation and essential treatment considerations.
Bacteria and the role of fermentation
David Haley, Professor at Zhongyuan University of Technology, and Vincent Walsh, Senior Food Tech Specialist, explore the complex world of bacteria and fermentation, and how it has been used as a food processing technique in the past and the present. Mapping the biosphere is like mapping deep space; the more knowledge we gain, the more complex and surprising the evolution of the biosphere turns out to be.
Is the future of food sustainable?
David Haley, Visiting Professor at Zhongyuan University of Technology, and Vincent Walsh, Senior Food Tech Specialist, break down the definition of sustainability and consider what challenges the food sector might be confronted with in the future. What do we mean by sustainability and what do we want to sustain?
Does the UK have the right infrastructure for an agroforestry revolution?
In the second part of a two part series, Vincent Walsh and David Haley explore how agroforestry could be implemented into the UK agricultural market.
How can agroforestry help support the climate agenda?
In a two part series, Vincent Walsh and David Haley explore how agroforestry, as used by ancient cultures, offers a technique to maximise food production while supporting natural ecosytems. Climate change is shifting the geography of land use and food production significantly, and it will continue to do so. In Europe, Mediterranean production will move to Scandinavia within 50 years and Scandinavian production will move to Siberia.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with David
Contact David, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack