Adopting Wide Event-style instrumentation has been one of the highest-leverage changes Iâve made in my engineering career. The feedback loop on all my changes tightened and debugging systems became so much easier.
observabilityBelow is the classic TCP state machine diagram, which encompasses all states of a TCP connection from its initial establishment to its final termination throughout its entire lifecycle.
diagram networkingI'm still astonished by what you can do with CAD software and a 3D printer at home. Even though I'm a software engineer, it allows me to experiment with other arts and skills in my spare time.
3dYour salary negotiation â which routinely takes less than 5 minutes to conclude â has an outsized influence on what your compensation is. Â Compensation can include money or things which are more-or-less fungible replacements for money, but it can also include interesting things which you value from âmore time with your familyâ to âopportunities to do tasks which you find fulfillingâ to âperks which make a meaningful difference in your day-to-day quality of life.â Â That makes your negotiation five very important minutes. Â You generally canât do a totally bang up job on any five minutes of work this year and have your boss give you an extra $5,000. Â You can trivially pick up $5,000 in salary negotiations just by sucking less.
workEffectively, provisioned capacity turns Athena from a serverless analytics engine to managed infrastructure that you have to plan capacity around. What makes this worse is the lack of visibility when it comes to mapping DPUs to workloads.
athena awsFree downloads provided by the preterhuman.net archive.
macThis site is a blogroll based on revskill's Ask HN thread "Could you share your personal blog here?"
blogsSlim containers are faster (less stuff to move around) and more secure (fewer places for vulnerabilities to sneak in). However, these benefits of slim containers come at a price - such containers lack (the much-needed at times) exploration and debugging tools. It might be quite challenging to tap into a container that was built from a distroless or slim base image or was minified using DockerSlim or alike. Over the years, I've learned a few tricks how to troubleshoot slim containers, and it's time for me to share.
dockerParameter attributes allow you to control the features/function of a parameter such as making a specific parameter mandatory.
powershellSince pipelines must survive Jenkins restarts, the state of the running program is periodically saved to disk so it can be resumed later. The âstateâ includes the whole control flow including: local variables, positions in loops, and so on. As such: any variable values used in your program should be numbers, strings, or other serializable types. If you must use a nonserializable value temporarily, either:
Discard it before doing anything else:
def matcher = readFile('pom.xml') =~ '<version>(.+)</version>'
if (matcher) {
echo "Building version ${matcher[0][1]}"
}
matcher = null
Isolate use of nonserializable state inside a method marked with the annotation @NonCPS
:
@NonCPS
def version(text) {
def matcher = text =~ '<version>(.+)</version>'
matcher ? matcher[0][1] : null
}
jenkins
Hammerspoon of course provides a setIcon method on menubar to help us provide an image icon, so weâll just grab a Slack icon from the web andâwhoa, whatâs this???
imageData ⌠can be one of the following âŚ
â A string beginning with ASCII: which signifies that the rest of the string is interpreted as a special form of ASCII diagram, which will be rendered to an image and used as the icon.
Ok, drop everything, weâre doing this. Check out this craziness: With simple ASCII character progression, we can define vector art!
tutorial hammerspoonBack in university, students used to tease the Systems Design Engineers, calling it "boxes and arrows" engineering. Not real engineering, you see, since it didn't touch anything tangible, like buildings, motors, hydrochloric acid, or, uh, electrons.
I don't think any of us really understood what boxes-and-arrows engineering really was back then, but luckily for you, now I'm old. Let me tell you some stories.
readingAnecdotes about the development of Apple's original Macintosh, and the people who made it.
reading apple macThis wiki is dedicated to hosting Squid Web Cache documentation, including the FAQ, KnowledgeBase articles, ConfigExamples, and the development RoadMap
documentation squidYou may occasionally in your career have had a want or need to set Windows proxy settings for every account on a machine regardless of who is logged in. There are a few common ways to do this.
windows proxyWe are here because the editor of this magazine asked me, âCan you tell me what code is?â
reading interesting interactiveYouâre worried that shooting the deer ends the scene. But itâs actually when you cross that threshold where all the creativity is. So many new options open up.
inspirationIf you lose something [in Git], don't panic. There's a good chance that you can find someone who will be able to hunt it down again.
gitWelcome to the world of Git. I hope this document will help to advance your understanding of this powerful content tracking system, and reveal a bit of the simplicity underlying it â however dizzying its array of options may seem from the outside.
gitThis essay explains how Git works. It assumes you understand Git well enough to use it to version control your projects.
git