|
GitHub Actions are a great way to build powerful customised CI/CD workflows using the power of community-driven resources, but they can be tricky to get right in terms of security.
|
|
This article was derived from my GopherCon Israel 2020 presentation. It’s also quite long. If you’d prefer a shorter version, head over to the-zen-of-go.netlify.com. A recording of the presentation is available on YouTube. How should I write good code? Something that I’ve been thinking about a lot recently, when reflecting on the body of my […]
|
|
Continuing my new trend of discussing Californian curiosities, let’s talk about water. Speaking with only the slightest bit of hyperbole, it doesn’t rain in the Bay Area from May through September, but it gets decently damp from October onward. And I’m not just talking about rain; some mornings bring with them a thick layer of condensation, which I’ve addressed before , a long, long time ago. Back then, I thought the condensation ..
|
|
Continuing my new trend of discussing Californian curiosities, let’s talk about water. Speaking with only the slightest bit of hyperbole, it doesn’t rain in the Bay Area from May through September, but it gets decently damp from October onward. And I’m not just talking about rain; some mornings bring with them a thick layer of condensation, which I’ve addressed before , a long, long time ago. Back then, I thought the condensation ..
|
|
The Rust tool cargo is the Rust equivalent of rake and bundler and rails combined (these are Ruby tools). Cargo is what you use to generate a new Rust app. Here's an example: cargo new loader_datastreamer_to_kafka_rust This generates a new, correctly laid out project directory. And here's what it looks like: ❯ tree . ├── Cargo.toml └── src └── main.rs 1 directory, 2 files The Cargo.toml file is a package manifest which has....
|
|
Last week, I wrote about the mindset that computer systems can be understood, and behaviors can be explained, if we’re willing to dig deep enough into the stack of abstractions our software is built atop. Some of the ensuing discussion on Twitter and elsewhere lead me to write this followup, in which I want to run through a few classes of systems where I’ve found pursuing in-detail understanding of the system wasn’t the right answer.
|
|
Last week, I wrote about the mindset that computer systems can be understood, and behaviors can be explained, if we’re willing to dig deep enough into the stack of abstractions our software is built atop. Some of the ensuing discussion on Twitter and elsewhere lead me to write this followup, in which I want to run through a few classes of systems where I’ve found pursuing in-detail understanding of the system wasn’t the right answer.
|
|
Every time I want a cloud managed message queue, I would look at AWS SQS service. It’s simple. Create a SQS queue, get the HTTP endpoint for the queue, start posting the messages using any HTTP client like curl. This time I made up my mind to give GCP’s counterpart a try. The GCP’s counterpart is Pub/Sub. On a high level, the queue is known as topic in the Pub/Sub terms.
|
|
Wunderlist is now on the real verge of being shutdown by Microsoft and Todoist claims to be import compatible . One thing to know is that Todoist Free has a limit of 50 lists. If you've used Wunderlist for any number of years then you may find your import failing. Two options: Merge lists in Wunderlist before importing (I think the limit is the number of discrete lists not the total number of list items) Buy Todoist paid edition (I di..
|
|
I’m always on the lookout for opportunities. Money-making opportunities, learning opportunities, money-saving opportunities, you name it.
|
|
Over a decade ago, Keven Kelly put forward the idea that creators could earn a living from 1,000 fans . In this piece , Li Jin proposes that they can do the same from 100 super fans. Crucially, though, as the number of patrons goes down, the value that creator provides must go up. Many seem to forget this last point, and see headlines like these as evidence that they can somehow make it with 1,000 subscribers or 100 readers. It just doesn..
|
|
I don't often do the dance with new languages. I suspect you could view my approach to languages as monogamy – I've been in a long term, monogamous relationship with Ruby now since 2007. But 12 years is a long time and deciding to dance with Python this past fall was perhaps my break through event away from "language monogamy". I'm now happily dating other languages and the latest one to turn my head is Rust . I've been very impressed....
|
|
Quickly building a shop for digital goods on an e-commerce website is important for many merchants. Using Snipcart and the CMS Gatsby allow us to integrate a shop fast.
|
|
Manage conda environments and Jupyterlab easily. TL;DR Use this script to create a base conda environment with Jupyterlab and some plugins, and this to create new environments and make them available when launching Jupyter. Managing environments in Python can be tricky. I used to have a default script to create a conda environment, in that script I would install all the packages I consider basic, plus Jupyterlab and some plugins. ..
|
|
I read a few of Marcus’s posts, and liked them all , but it was his link to an interview with Ira Glass that made me post this. Most have heard this many times before, but it bears repeating: doing good work means first doing a lot of bad work, and having the tenacity to get through those discouraging times. The great creators, to whom far too many aspiring creators prematurely compare themselves, made it through because they pressed..
|
|
Jane Street has been posting tech talks from internal speakers and invited guests for years—and they’re all available on our YouTube channel:
|
|
As a contractor for the ADL, I recently went through our official bias and diversity training. I put together my notes on that for a new hire who recently joined us. Here are some of the discussion questions: Is it ok for people of a group to use slurs about their own identity? Should airlines be required to provide multiple seats to obese people ? Does your work place treat everyone f..
|
|
Planet Earth vs. Jupiter. There is the same order of magnitude between the ratio of these two planets and the amount of code that defined…
|
|
Jane Street has been posting tech talks from internal speakers and invited guests for years—and they’re all available on our YouTube channel:
|
|
Availability is the lifeblood of any app. Downtime blocks new users from signing up, it damages the company reputation, and so on. Additionally for Remind, serving education administrators as they work to increase engagement of entire communities further drives the need for our systems to be available. While administrators share many of the same expectations that teachers have of Remind, that ultimate responsibility to their communities mak....
|
|
Planet Earth vs. Jupiter. There is the same order of magnitude between the ratio of these two planets and the amount of code that defined…
|
|
In this post I show how to use get_context_data(). You might need it to display 'latest posts' on your 'home page'.
|
|
How to build Kubernetes from source and test in Kind with VSCode & devcontainers
-
blog.gripdev.xyz
-
6 years ago
-
eng
I found myself last week looking at a bit of code in K8s which I thought I could make better, so I set about trying to understand how to clone, change and test it. Luckily K8s has some good docs , trust these over me as they’re a great gui de. This blog is more of a brain dump of how I got on trying with Devcontainers and VSCode.This is my first try at this so I’ve likely got lots of things wrong. Roughly I knew what I needed as I..
|
|
Introduction tl;dr : The way we do computing is fundamentally broken, but I have a vision for how to fix it, and this post contains that vision. Several months ago, a coworker asked me a question that most programmers would have struggled to answer. He asked, “Why do race conditions exist?” That quote may not be exact, but the gist is correct. I am not most programmers; I did not struggle to answer the question. In fact, I..
|
|
Introduction tl;dr : The way we do computing is fundamentally broken, but I have a vision for how to fix it, and this post contains that vision. Several months ago, a coworker asked me a question that most programmers would have struggled to answer. He asked, “Why do race conditions exist?” That quote may not be exact, but the gist is correct. I am not most programmers; I did not struggle to answer the question. In fact, I..
|
|
Introduction tl;dr : The way we do computing is fundamentally broken, but I have a vision for how to fix it, and this post contains that vision. Several months ago, a coworker asked me a question that most programmers would have struggled to answer. He asked, “Why do race conditions exist?” That quote may not be exact, but the gist is correct. I am not most programmers; I did not struggle to answer the question. In fact, I..
|
|
Introduction tl;dr : The way we do computing is fundamentally broken, but I have a vision for how to fix it, and this post contains that vision. Several months ago, a coworker asked me a question that most programmers would have struggled to answer. He asked, “Why do race conditions exist?” That quote may not be exact, but the gist is correct. I am not most programmers; I did not struggle to answer the question. In fact, I..
|
|
Introduction tl;dr : The way we do computing is fundamentally broken, but I have a vision for how to fix it, and this post contains that vision. Several months ago, a coworker asked me a question that most programmers would have struggled to answer. He asked, “Why do race conditions exist?” That quote may not be exact, but the gist is correct. I am not most programmers; I did not struggle to answer the question. In fact, I..
|
|
Introduction tl;dr : The way we do computing is fundamentally broken, but I have a vision for how to fix it, and this post contains that vision. Several months ago, a coworker asked me a question that most programmers would have struggled to answer. He asked, “Why do race conditions exist?” That quote may not be exact, but the gist is correct. I am not most programmers; I did not struggle to answer the question. In fact, I..
|
|
Introduction tl;dr : The way we do computing is fundamentally broken, but I have a vision for how to fix it, and this post contains that vision. Several months ago, a coworker asked me a question that most programmers would have struggled to answer. He asked, “Why do race conditions exist?” That quote may not be exact, but the gist is correct. I am not most programmers; I did not struggle to answer the question. In fact, I..
|
|
Introduction tl;dr : The way we do computing is fundamentally broken, but I have a vision for how to fix it, and this post contains that vision. Several months ago, a coworker asked me a question that most programmers would have struggled to answer. He asked, “Why do race conditions exist?” That quote may not be exact, but the gist is correct. I am not most programmers; I did not struggle to answer the question. In fact, I..
|
|
Introduction tl;dr : The way we do computing is fundamentally broken, but I have a vision for how to fix it, and this post contains that vision. Several months ago, a coworker asked me a question that most programmers would have struggled to answer. He asked, “Why do race conditions exist?” That quote may not be exact, but the gist is correct. I am not most programmers; I did not struggle to answer the question. In fact, I..
|
|
Introduction tl;dr : The way we do computing is fundamentally broken, but I have a vision for how to fix it, and this post contains that vision. Several months ago, a coworker asked me a question that most programmers would have struggled to answer. He asked, “Why do race conditions exist?” That quote may not be exact, but the gist is correct. I am not most programmers; I did not struggle to answer the question. In fact, I..
|
|
In my next post , I talk about a new chip design that uses some ideas from the Mill architecture . Unfortunately, even if the design I have in that post is feasible, especially commercially, I cannot build it. That is because Mill Computing, Inc, the creators of the Mill architecture, have filed for, and been granted patents on, some aspects of its design, including some aspects that we are putting in this chip design.
|
|
In my next post , I talk about a new chip design that uses some ideas from the Mill architecture . Unfortunately, even if the design I have in that post is feasible, especially commercially, I cannot build it. That is because Mill Computing, Inc, the creators of the Mill architecture, have filed for, and been granted patents on, some aspects of its design, including some aspects that we are putting in this chip design.
|
|
In my next post , I talk about a new chip design that uses some ideas from the Mill architecture . Unfortunately, even if the design I have in that post is feasible, especially commercially, I cannot build it. That is because Mill Computing, Inc, the creators of the Mill architecture, have filed for, and been granted patents on, some aspects of its design, including some aspects that we are putting in this chip design.
|
|
In my next post , I talk about a new chip design that uses some ideas from the Mill architecture . Unfortunately, even if the design I have in that post is feasible, especially commercially, I cannot build it. That is because Mill Computing, Inc, the creators of the Mill architecture, have filed for, and been granted patents on, some aspects of its design, including some aspects that we are putting in this chip design.
|
|
In my next post , I talk about a new chip design that uses some ideas from the Mill architecture . Unfortunately, even if the design I have in that post is feasible, especially commercially, I cannot build it. That is because Mill Computing, Inc, the creators of the Mill architecture, have filed for, and been granted patents on, some aspects of its design, including some aspects that we are putting in this chip design.
|
|
In my next post , I talk about a new chip design that uses some ideas from the Mill architecture . Unfortunately, even if the design I have in that post is feasible, especially commercially, I cannot build it. That is because Mill Computing, Inc, the creators of the Mill architecture, have filed for, and been granted patents on, some aspects of its design, including some aspects that we are putting in this chip design.
|