To try the live SSH demo:
To try the live SSH demo:
Maxime Vaillancourt shared the background and details of how Shopify reduced their storefront response times with a rewrite.
The Rails monolith still handles checkout, admin, and API traffic, but storefront traffic is handled by the new implementation.
Designing the new storefront implementation from the ground up allowed us to think about the guarantees we could provide: we took the opportunity of this evergreen project to set us up on strong primitives that can be extended in the future, which would have been much more difficult to retrofit in the legacy implementation. An example of these foundations is the decision to design the new implementation on top of an active-active replication setup. As a result, the new implementation always reads from dedicated read replicas, improving performance and reducing load on the primary writers.
Similarly, by rebuilding and extracting the storefront-related code in a dedicated application, we took the opportunity to think about building the best developer experience possible: great debugging tools, simple onboarding setup, welcoming documentation, and so on.
My goal is to help you improve the design of the
if/elsebased codebases. Yes, that probably means creating new method, extracting new object. It might be a bit OOP. If that’s not your taste and you’re fine with
if/elsethen this may not be for you.
He then goes on to refactor a deeply nested Ruby method by extracting some classes that are responsible for their own behavior. This is perhaps a bit rudimentary to long-time OOP folks, but I see a lot of code out there looking like Andrzej’s example method so there’s plenty of people who would benefit from understanding this concept.
Learn the good parts of Vim.
This book from Igor Irianto is in progress with 11 of 20 chapters are ready to read as of right now.
Arwes is a web framework to build user interfaces for web applications based on science fiction and cyberpunk styles guidelines, animations and sounds effects. The idea is to provide an user experience as if you were using futuristic out of a movie interfaces for your project.
The sounds are perfect.
Thanks to Tom Larkworthy for putting together this “goldmine of tech resources.” The cool thing is you can play with the data yourself and make your own analysis.
The most favorited articles by the top 10k most active Hacker News members. The list skews toward innovative learning resources and tech career tips, but there is a little of everything.
Data was scraped 2020-09-1 from the public favourites lists. This is an observable notebook with the data attached as a file, so you can fork your own analysis if you don’t like how I did it (e.g. you could find the favorited Ask HN posts).
To calculate the top favourites, I give each member 30 votes to divided over their (max) 30 most recent favourited articles. I sum the votes over all articles. The results are a goldmine of tech resources.
Have you seen or used JetBrains Mono yet?
Infracost shows hourly and monthly cost estimates for a Terraform project. This helps developers, DevOps et al. quickly see the cost breakdown and compare different deployment options upfront.
This is the first talk in a series of Tech Talks from DigitalOcean around Computer Security titled Foundations of Computer Security. This talk will walk you through the fundamentals of computer security, from its history, to common threats you may face, to recommended practices to keep you safe.
What will you learn? You’ll learn why we need security, what types of attacks you may face, and some general recommended practices and policies to keep you secure.
Who is this talk designed for? Anyone who’s new to security or wants a refresher on common security concepts. Beginners of all paths: SysAdmins, Founders, CTOs, DevOps engineers.
An ambitious attempt to create an open source device for reading. But why?
As a society, we need an open source device for reading. Books are among the most important documents of our culture, yet the most popular and widespread devices we have for reading — the Kobo, the Nook, the Kindle and even the iPad — are closed devices, operating as small moving parts in a set of giant closed platforms whose owners’ interests are not always aligned with readers’.
It’s still early days, but the project got a boost of support by winning Hackaday’s Take Flight with Feather contest in January.
Open source software shows its resiliency once again:
youtube-dlc is a fork of youtube-dl with the intention of getting features tested by the community merged in the tool faster, since youtube-dl’s development seems to be slowing down.
If you’re unaware of youtube-dl, it’s like a Swiss Army Knife for downloading videos from the web. It’s a great tool and I’m happy to see the community rally around its maintenance.
This is a dizzyingly thorough road map to learning all things Data Science. I like how the repo owner includes checkboxes alongside each linked entry to track their progress. That means you can easily fork the repo and track your own progress as you go. 👌
Built on WebRTC and Node.js. No downloads, no signups, just share a URL and you’re good to go.
Group video call is achieved using WebRTC mesh. So the quality of the call is inversely proportional to the number of people on the call. The sweet number is somewhere around 6 to 8 people in an average high-speed connection.
Shubheksha Jalan (whom you may recall from Go Time #142) shares some hard-won wisdom after 3 years in software engineering, such as:
- Titles do matter, even if they’d like you to believe that they don’t
- Sponsors are like cheat codes in the career game
- Programming gets easier over time
She explains those plus a few more.
If you use Vimium (a Chrome extension which provides keyboard shortcuts for navigation and control in the spirit of the Vim editor) and you’re on macOS, Vimac is a no-brainer. You can scroll windows with
HJKL keys, perform clicks using hint letters, and even perform right (and double) clicks with your keyboard.
RSSHub is an open source, easy to use, and extensible RSS feed aggregator, it’s capable of generating RSS feeds from pretty much everything. RSSHub delivers millions of contents aggregated from all kinds of sources…
According to FBM, there are three things we need to do something:
The key is that we need to have all three at the same time in order to act. Since our problem is procrastination, we’ll focus on how we fail at each one of these.
In a recent episode of JS Party we were told that you can program in CSS. But you can do some less complicated things with bigger payoffs. You can use CSS to track users that have JS disabled. Not sure how to feel about that. This post covers the rough idea of it and wants your thoughts on the practice.
How do you respond when someone asks:
Is Kubernetes right for us?
Where do you start? Let’s talk about IT modernisation, beginning with the problem that needs to be solved, and exploring any constraints that are obvious.
If you develop for the web, this article might be too elementary for you. But it’s a great reference for curious friends/family who aren’t familiar with things like TCP, TLS, MAC addresses, etc.
(It’s also a nice refresher if you’ve been chilling solely at the application layer for awhile.)
We’ve linked K9s up in the past, but I’ve been playing with it today and I just had to share it again. Gerhard has us up and running on LKE (more on that coming to the blog and podcast soon) so I’ve had a chance to kick the tires a bit.
I have no idea how any of this magic works, but I do know that I like it and I’m excited to learn more. Here’s a screen grab of its Pulses feature, which gives you an overview of your entire cluster.