サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
iPhone 17
www.integralist.co.uk
Guide to Concurrency in Python with AsyncioTOC This is a quick guide to Python’s asyncio module and is based on Python version 3.8. Introduction So let’s start by addressing the elephant in the room: there are many modules provided by the Python standard library for handling asynchronous/concurrent/multiprocess code… _thread threading multiprocessing asyncio concurrent.futures In this post we’re g
For the values assigned to each variable: R/W is “Read and Write”, and R is “Read” and W is “Write” It’s important to realise that the above matrix is based on Varnish and not Fastly’s version of Varnish. But there’s only one difference between them, which is the response object resp isn’t available within vcl_error when using Fastly. When you’re dealing with vcl_recv you pretty much only ever int
Analysis Steps Regardless of the tool you use for analysis, a general rule of thumb is to: Identify a bottleneck at a high-level For example, you might notice a long running function call. Reduce the operations Look at time spent, or number of calls, and figure out an alternative approach. Look at the number of memory allocations, figure out an alternative approach. Drill down Use a tool that give
Introduction One of the key components to a happy development workflow is to ensure your tools work hard for you, are efficient and also fun to use (although sadly that latter point is sorely underappreciated as a deciding factor into what tools you choose). This is where configuring your own setup to suit your individual needs becomes essential. Now although you and I may differ as to what we li
HTTP/2TOC Introduction This is a super quick post for demonstrating how to utilise the new HTTP/2 protocol. If you’re unfamiliar with it, then let me spend a brief few moments discussing some of the highlights. Persistent Connections When using HTTP/1.x each resource your web page specified would need its own connection. If you had three images on a page then that would be three separate connectio
Refactoring TechniquesTOC Introduction Let’s begin by considering: “What is Refactoring?” The definition of refactoring is: a disciplined technique for restructuring an existing body of code, altering its internal structure without changing its external behaviour Refactoring is a term originated from the Smalltalk community of developers back in the mid-late nineties. Two of the most prolific prog
What we'll cover reading time: approx. 19mins What is Grunt? Installation Package.json Dependencies Gruntfile.js Sass RequireJS JSHint Jasmine BDD Image Minification HTML Minification Registering tasks Watching files Our full Grunt file Conclusion What is Grunt? Grunt is a JavaScript based task runner. What this means is that it will help you spend less time manually running tasks that can be auto
このページを最初にブックマークしてみませんか?
『www.integralist.co.uk』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く