|
How to Reindex One Billion Documents in One Hour at SoundCloud
-
developers.soundcloud.com
-
7 years ago
-
eng
In the past, the Search Team at SoundCloud had high lead times for making updates to Elasticsearch clusters, either during the implementation of a new feature or simply while fixing a bug. This was because both tasks require us to reindex our catalog from scratch, which means reindexing more than 720 million users, tracks, playlists, and albums. Altogether, this process took up to one week, though there was even one scenario where it almost..
|
|
How to Reindex One Billion Documents in One Hour at SoundCloud
-
developers.soundcloud.com
-
7 years ago
-
eng
In the past, the Search Team at SoundCloud had high lead times for making updates to Elasticsearch clusters, either during the implementation of a new feature or simply while fixing a bug. This was because both tasks require us to reindex our catalog from scratch, which means reindexing more than 720 million users, tracks, playlists, and albums. Altogether, this process took up to one week, though there was even one scenario where it almost..
|
|
bryanleeward asked on the thunderbird discourse: @bryanleeward asked on the thunderbird discourse: PLEASE HELP… this effects many Thunderbird & gmail users: Every few months I get “Security” alerts from Google re my gmail Security Settings, saying: “Turn off less secure access.” IF I do that, then I can’t boot Thunderbird! I’ve had same problem with Thunderbird-gmail using Debian, Trisquel, and Ubuntu. Yet ironically, w....
|
|
bryanleeward asked on the thunderbird discourse: @bryanleeward asked on the thunderbird discourse: PLEASE HELP… this effects many Thunderbird & gmail users: Every few months I get “Security” alerts from Google re my gmail Security Settings, saying: “Turn off less secure access.” IF I do that, then I can’t boot Thunderbird! I’ve had same problem with Thunderbird-gmail using Debian, Trisquel, and Ubuntu. Yet ironically, w....
|
|
bryanleeward asked on the thunderbird discourse: @bryanleeward asked on the thunderbird discourse: PLEASE HELP… this effects many Thunderbird & gmail users: Every few months I get “Security” alerts from Google re my gmail Security Settings, saying: “Turn off less secure access.” IF I do that, then I can’t boot Thunderbird! I’ve had same problem with Thunderbird-gmail using Debian, Trisquel, and Ubuntu. Yet ironically, w....
|
|
With our integrations and plugins for leading CI/CD platforms, Snyk enables a further, more DevOps-focused security gate through the pipeline.
|
|
缓存模块 我在分析 Glide 源码前将 Glide 的项目 clone 到了本地,阅读时添加了很多注释以及自己的理解等等,现在已经推到了 Github 上,有兴趣的同学可以看看: https://github.com/0xZhangKe/Glide-note 缓存模块涉及到的东西比较多,比较重要,所以需要单独用一章节来讲。 关于缓存的获取、数据加载相关的逻辑在 Engine#load 方法中。 先来看看缓存流程,流程如下图: 全部的缓存流程大致如上图所示。 Glide 实例化时会实例化三个缓存相关的类以及一个计算缓存大小的类: //根据当前机器参数计算需要设置的缓存大小 MemorySizeCalculator calculator = new MemorySizeCalculator ( context ); //创建 Bitmap 池 if ( bitmapPool == null....
|
|
项目编译 项目基于最新版 Glide 4.9.0 源码 分析,通过如下方式获取并编译代码: git clone https://github.com/bumptech/glide.git cd glide ./gradlew jar 我在分析 Glide 源码前将 Glide 的项目 clone 到了本地,阅读时添加了很多注释以及自己的理解等等,现在已经推到了 Github 上,有兴趣的同学可以看看: https://github.com/0xZhangKe/Glide-note 总览 有一点需要说明的是,Glide 源码很复杂, 涉及到的东西也很多,这里不能面面俱到,只是把我认为重要的东西介绍了一下,可能还有一些疏漏。 首先我将 Glide 分成了几个模块,让大家有个整体的印象,自顶向下的分析源码,从而实现降维打击。 按照逻辑功能划分,可以把 Glide 框架大概的分成如下几个部分: Glide 大体上可以分为如上几个模块。 下面通过....
|
|
Decompress Mozilla Firefox jsonlz4 bookmark backup files (Python)
-
snippets.bentasker.co.uk
-
7 years ago
-
eng
Sometimes you need to extract something from Firefox without actually running it (as an example, I sometimes need to access stuff in firefox on a remote machine, whilst I can run firefox over a SSH tunnel with --no-remote, there's currently no way to prevent Firefox from restoring whatever tabs were previously open, other than turning it off in about:config, which is crap for day to day usage). Firefox currently uses files of type mozl..
|
|
Decompress Mozilla Firefox jsonlz4 bookmark backup files (Python)
-
snippets.bentasker.co.uk
-
7 years ago
-
eng
Sometimes you need to extract something from Firefox without actually running it (as an example, I sometimes need to access stuff in firefox on a remote machine, whilst I can run firefox over a SSH tunnel with --no-remote, there's currently no way to prevent Firefox from restoring whatever tabs were previously open, other than turning it off in about:config, which is crap for day to day usage). Firefox currently uses files of type mozl..
|
|
As the mail app developers don’t want to add a horizontal reading pane to the app I have been using the custom css app 5 in order to do so, I also wrote a quick user script to automatically expand all my folders as that isn't an option in the mail app. Jump to the Auto Expand script Horizontal reading pane in mail app Note: Tested in Firefox and Nextcloud 15 Usage: Know what you are doing. Install the custom css app. Navigat....
|
|
As the mail app developers don’t want to add a horizontal reading pane to the app I have been using the custom css app 5 in order to do so, I also wrote a quick user script to automatically expand all my folders as that isn't an option in the mail app. Jump to the Auto Expand script Horizontal reading pane in mail app Note: Tested in Firefox and Nextcloud 15 Usage: Know what you are doing. Install the custom css app. Navigat....
|
|
As the mail app developers don’t want to add a horizontal reading pane to the app I have been using the custom css app 5 in order to do so, I also wrote a quick user script to automatically expand all my folders as that isn't an option in the mail app. Jump to the Auto Expand script Horizontal reading pane in mail app Note: Tested in Firefox and Nextcloud 15 Usage: Know what you are doing. Install the custom css app. Navigat....
|
|
As the mail app developers don’t want to add a horizontal reading pane to the app I have been using the custom css app 5 in order to do so, I also wrote a quick user script to automatically expand all my folders as that isn't an option in the mail app. Jump to the Auto Expand script Horizontal reading pane in mail app Note: Tested in Firefox and Nextcloud 15 Usage: Know what you are doing. Install the custom css app. Navigat....
|
|
As the mail app developers don’t want to add a horizontal reading pane to the app I have been using the custom css app 5 in order to do so, I also wrote a quick user script to automatically expand all my folders as that isn't an option in the mail app. Jump to the Auto Expand script Horizontal reading pane in mail app Note: Tested in Firefox and Nextcloud 15 Usage: Know what you are doing. Install the custom css app. Navigat....
|
|
Welcome to yet another edition of Hui Jing doing things that have no practical use but do it anyway because why the hell not? In local parlance, we call this…
|
|
Happy Spring Equinox everyone! It’s the twentieth, which means it’s time for another blog stats report.
|
|
I care quite a bit about self-optimization and longevity and this enthusiasm has developed more and more over the years (although I’m very much an interested amateur here, not an expert by any definition of the word). Over the years I’ve picked up some new habits, supplements, practices, ideas, etc related to this and now I sit here and realize that it’s quite a lot of stuff. I think I might try to capture the ‘state’ of what I’m doing in t..
|
Highlights from BSides Canberra 2019 including talks on JavaScript malware deobfuscation, Linux toolkits and ransomware on a coffee machine
|
Highlights from BSides Canberra 2019 including talks on JavaScript malware deobfuscation, Linux toolkits and ransomware on a coffee machine
|
Highlights from BSides Canberra 2019 including talks on JavaScript malware deobfuscation, Linux toolkits and ransomware on a coffee machine
|
Proper state handling in React will make your components simple and maintainable. Poor choices will give you lots of headaches in the long-term. There are plenty of options for managing state in a React app. But there’s very little guidance about which one you should use in any situation. Let’s fix that. The solution you pick to manage state should fit they way you want to use the items you hold in state. Your choice should also make....
|
|
It's surprising that the idea of an emergency service is even viable, considering how many people are doing things at any given time
|
|
It's surprising that the idea of an emergency service is even viable, considering how many people are doing things at any given time
|
|
It's surprising that the idea of an emergency service is even viable, considering how many people are doing things at any given time
|
|
How to set username and password when consuming a SOAP service with Spring
-
www.databasesandlife.com
-
7 years ago
-
eng
Spring’s Consuming web service guide is great at describing how to go about being a client of a SOAP service, but it doesn’t mention how to consume web services which are protected by any sort of security.
|
Mishalover granted us with a storytime of the first two volumes of Les Ogres-dieux by Hubert and Gat...
|
|
I make it to a lot of conferences these days. I often see colleagues, former colleagues, and friends at these conferences. Sometimes it is friends I haven’t seen in a few years, sometimes I just saw the same person in a different country the week before. Conferences now are much easier for me, in fact it is a bit hard to recall what the experience was like when I first started attending, but I’m at least going to try to give some input so o....
|
|
I make it to a lot of conferences these days. I often see colleagues, former colleagues, and friends at these conferences. Sometimes it is friends I haven’t seen in a few years, sometimes I just saw the same person in a different country the week before. Conferences now are much easier for me, in fact it is a bit hard to recall what the experience was like when I first started attending, but I’m at least going to try to give some input so o....
|
|
Brave New World reacquainted political philosophy with the prurient, after a two thousand year hiatus. Read my Preface to Brave New World
|
|
AI is a contentious term whose mainstream interpretation refers to not one particular thing, but to a broad category encompassing a wide variety of concepts, techniques, and technologies—all eventually working towards the common goal of eliciting “intelligent" behaviour in computers.
|
|
AI is a contentious term whose mainstream interpretation refers to not one particular thing, but to a broad category encompassing a wide variety of concepts, techniques, and technologies—all eventually working towards the common goal of eliciting “intelligent" behaviour in computers.
|
|
Integration Testing in Go: Part I - Executing Tests with Docker
-
www.ardanlabs.com
-
7 years ago
-
eng
Introduction “Testing leads to failure, and failure leads to understanding.” - Burt Rutan Burt Rutan is an aerospace engineer who designed Voyager, the first plane to fly around the world without stopping or refueling. Although Rutan was not a software engineer, his words speak volumes to the importance of testing, even testing software. Testing software in all forms is extremely important, whether it be unit, integration, system..
|
|
An Enigma, unikernels booting on RISC-V, a rack encased in liquid. OH MY.
-
blog.jessfraz.com
-
7 years ago
-
eng
I have written a bit about how I am spending my time while being unemployed and I thought I would continue. There was one thing I had left out of my previous post on my visit to the Pentagon . THEY HAVE A REAL ENIGMA MACHINE THERE. Okay, moving on… QCon and University of Cambridge I gave a talk at QCon on SGX and ended up giving the same talk to some really awesome folks at University of Cambridge. Each time I gave the talk provoked so....
|
|
TIL that multiple cursor's mc/insert-numbers enables you to quickly enter increasing numbers for each cursor. I have mc/insert-numbers bound to # in region-bindings-mode-map. By default, sequence starts at 0, but invoking mc/insert-numbers with prefix enables you to quickly change that. Came in handy when numbering an org table:
|
|
From https://assets.bupa.co.uk/~/media/images/healthmanagement/pdfs/half-marathon-beginner.pdf Starting from week 4: Week Monday Tuesday Wednesday Thursday Friday Saturday Sunday 4 Rest 40 mins easy 30 mins tempo Rest 40 mins cross Rest (03/24) 60 mins 6.7 km 5.1 Km - - 41:51 m 30:00 m 61.3 Kg 60.8 Kg 5 Rest 40 mins easy 30 mins tempo Rest 40 mins interval Rest (03/31) 11 Km 11.9 Km - 5.9....
|