Site uses cookies to provide basic functionality.
Javascript rendering is set to off by default when visiting the site via .onion and .i2p domains. It can be enabled back again in user's settings section. Javascript rendering set to off means, that you can disable javascript in your browser now and the site will remain functional.
There is also IRC server now available via native IRC clients or non javascript web based one.
Fonts can be adjusted in user's settings section as well.
Check FAQ for more.

OK

Short snippet to calculate the edit distance (or Hamming Distance ) between two strings in Python The Hamming distance is just the number of differing bits within the string, so given two single char strings: a: 01100001 b: 01100010 The Hamming distance would be 2 as the penultimate and last bit differ. The edit distance is useful in basic cryptanalysis as for some cipher types (basically mechanisms where the key is repeated, i.e. ..

Short snippet to calculate the edit distance (or Hamming Distance ) between two strings in Python The Hamming distance is just the number of differing bits within the string, so given two single char strings: a: 01100001 b: 01100010 The Hamming distance would be 2 as the penultimate and last bit differ. The edit distance is useful in basic cryptanalysis as for some cipher types (basically mechanisms where the key is repeated, i.e. ..

A quick technical note about VPN hostnames on Ubuntu Linux, since otherwise I will forget: If other users of your VPN can refer to hosts by an unqualified hostname, but an Ubuntu user like you receives a not found error for the same hostname, then try creating the following file (you will need to create the directory by hand). Read the full article...

A general primer on Python for science and engineering, with an emphasis on the SciPy ecosystem of packages.

IPMITool is a tool to communicate with BMCs (such as HP and Sun iLOM's and Dell iDracs ) via the Intelligent Platform Management Interface (IPMI) This page contains a list of commonly used commands, although where a dedicated tool is available (such as HP's hpacucli that should probably be preferred Read more…

Most Sun/Oracle servers have an integrated BMC known as Integrated Lights Out Management (ILOM) or occasionally Advanced Lights Out Management (ALOM) This page provides a cheat-sheet of commands you might commonly use having connected to the ILOM via SSH Read more…

The Integrated Dell Remote Access Controller (iDRAC) is an optional BMC used in Dell servers. Much like with HP's ILOM there is a command line utility provided (in this case racadm ) in order to interact with it, fetching and setting config This page is a basic cheatsheet of the commands which can be used with it, all should be run from a shell. However, if you prefer to use the interactive mode, run racadm on it's own, and then just ..

hpacucli is a utility provided by Hewlett Packard (HP) to interact with their Smart Array controllers. The commands below were used on a RPM based distribution, but should work across all Linux flavours You can run them by either entering interactive mode (i.e. just run hpacucli and then enter the commands), or directly from the shell (by prefixing them with hpacucli Read more…


trivago has decided to sponsor Webpack with a monthly contribution of $10,000 ($120,000/year). We hope that this will help to secure the continued innovation of the project.

trivago has decided to sponsor Webpack with a monthly contribution of $10,000 ($120,000/year). We hope that this will help to secure the continued innovation of the project.



Performance is an important feature for many projects. Unfortunately, it’s an all too common situation when a developer accidentally spoils the performance adding some new code. After a series of such incidents, people often start to think about performance regression testing. As developers, we write unit tests all the time. These tests check that our business logic work as designed and that new features don’t break existing code. It look....

Performance is an important feature for many projects. Unfortunately, it’s an all too common situation when a developer accidentally spoils the performance adding some new code. After a series of such incidents, people often start to think about performance regression testing. As developers, we write unit tests all the time. These tests check that our business logic work as designed and that new features don’t break existing code. It look....

Our internal validation library TNValidate is now available as a project on GitHub. We released this as open source because we wanted to let others take

Yes, I've finally got around to digging my mitts into Drupal 8, and building custom themes for Drupal 8. I have this bare-bones starter theme called Clarus…

If you write a lot of custom Drupal themes, gulp can really help streamline your workflow. Every second saved counts.

Handler Handler 主要用于在不同的线程中相互通信,使用场景最多的应该就是在子线程中更新 UI。 与 Handler 相关的类: Handler :处理与发送消息(Message) Message :消息的包装类 Looper :整个 Handler 通信的核心,接受 Handler 发送的 Message,循环遍历 MessageQueue 中的 Message,并发送至 Handler 处理 MessageQueue :保存 Message LocalThread :存储 Looper 与 Looper所在线程的信息 关系流程图: 上图简单概括为: Handler 将 Message post 或者 send 到 MessageQueue 中,Looper 不断循环从 MessageQueue 中取出 Message 交由 Handler 来处理。 Handler 消息处理 Handler 处理消息的方法为 dispatchMe....

Talks - andrestc.com - 8 years ago - eng
This list contains some of the major conference talks that I did in the past years. 2018 Linux Delay Accounting at Gophercon (Lightning Talk) [Slides] [Video] Understanding Go Memory Allocation at Gophercon UK [Slides] [Video] Entendendo Alocação de memória no Go at The Developers Conferece SP (PT-BR) [Slides] The Developers Conference Gophercon Brazil [Video] Containers na Globo.com - Passado, Present..




Pantheon is a website management platform that is known for specialised Drupal and Wordpress services. It offers various tiers of service depending on your…

Via Hobo Signs : An artificial intelligence system being developed at Facebook has created its own language. It developed a system of code words to make communication more efficient. Researchers shut the system down when they realized the AI was no longer using English. The observations made at Facebook are the latest in a long line of similar cases. In each instance, an AI being monitored by humans has diverged from its training in ....

Dash.el is a lovely library, and one of the most popular on MELPA. If we can squeeze every last drop of performance out of it, everyone benefits. Let’s take a look at the black art of making elisp faster. Measure First! Chris Wellons has a great optimisation blog post that discusses the performance overhead of creating lambdas with mapcar. If we look at --map, it does indeed create anonymous functions: ( defmacro --map ( for....

A very successful salesman for 50+ years, my grandpa recently retired at the ripe old age of 85. Even though he doesn’t work anymore, he still follows a similar routine, including sticking to his system for getting things done. With writing that’s probably legible only to himself, he lists out the tasks for the next day on a diary page. He carries that piece of paper, folded up in his pocket, crossing off tasks as he completes them. If ..

July 28 Made a bit more progress on the authentication basics today. Relevant commits are: Add http package; have auth0 test delete user it has just registered after test is done Create json util; add logout test July 29 Today I focused a bit on the building and installation of snaillifecli. I switched my custom app configuration code for Viper because it apparently integrates really well with Cobra , which is a library to help ..

In my last article I discussed the basics of Swift's new Codable protocol, briefly discussed how to implement your own encoder and decoder, and promised another article about a custom binary coder I've been working on. Today, I'm going to present that binary coder. (Read More)

Friday Q&A 2017-07-28: A Binary Coder for Swift Friday Q&A 2017-07-28: A Binary Coder for Swift In my last article I discussed the basics of Swift's new Codable protocol, briefly discussed how to implement your own encoder and decoder, and promised another article about a custom binary coder I've been working on. Today, I'm going to present that binary coder. Source Code As usual, the source code is available on GitHub: h....


If you’re a regular visitor to this blog, you might be aware that we have been transitioning to a microservices based architecture over the past four to five years, as we have shared insights into the process and the related challenges on multiple occasions. To recap, adopting a microservices architecture has allowed us to regain team autonomy by breaking up our monolithic backend into dozens of decoupled services, each encapsulating a well..

If you’re a regular visitor to this blog, you might be aware that we have been transitioning to a microservices based architecture over the past four to five years, as we have shared insights into the process and the related challenges on multiple occasions. To recap, adopting a microservices architecture has allowed us to regain team autonomy by breaking up our monolithic backend into dozens of decoupled services, each encapsulating a well..

The Breville Boss To Go is a sleek, powerful personal blender with a die-cast metal driveshaft. It easily liquifies leafy greens and finely grinds seeds.

TLDR; with a deadline looming, my productivity shot up exponentially. I’ve had mixed feelings about deadlines. Having perfectionist tendencies, I often felt that they prevent me from doing my best work. When I do the best work I can do, I feel extremely satisfied. Like a craftsman after a finished piece of work. However, this also leads to a lot of unfinished projects. On the flip side, when deadlines have been set, my productivity goes..

It’s almost 2am and I’m sleepy, but I wanted to write this down while it’s relatively fresh in my mind.

I recently gave a talk at DevOps Days ( slides ) and it had a pretty great response. I’m still pretty care-mad about the topics it covered so I figured I would turn some key points from it into a blog post. The overall outline of the talk covered the past, present, and future of usable security. Let’s start with the past. The Past A lot of the security tooling of the past (that we still use today) require users to jump through a lot of ....

1300-1600 words, 6 1/2 to 8 1/2 minutes. An Etching of Samson by Julius Schnorr von Carolsfeld, from an 1882 German Bible. “He grasped two pillars of the temple and bowed himself with all his might” - Judges 16:30. Introduction This post is about online services which rely partly, or wholly, on user-contributed content. It’s about what happens to that content if those services close. I’ll examine the constraints and motivations of the parti..

Processes On Unix - venam.net - 8 years ago - eng
In this episode we'll tackle a topic that joins many parts of the systems and so is hard to fully cover. It has a relationship with everything in the system, it glues it together. We're going to be discussing processes on Unix.

LUA's concat method works just like PHP's implode, so simply needs to be called in a similar manner. Returns a string containing each of the table entries, delimited by whatever delimiter is passed into concat Read more…





130 visitors online