Twitter
RT : Sunday horror code:

md5('240610708') == md5('QNKCDZO')

The two strings have different hashes. PHP just converts t…
from twitter
june 2018
Reusable and type-safe options for Go APIs
In this blog post, I would like to describe an extension to the popular “functional options” pattern that has been described by people like Rob Pike and Dave Cheney. I recommend reading one of these articles if you are unfamiliar with this pattern, as it’s very useful in practice.
golang  api  programming 
october 2017
Twitter
All true Canadians know there is only one proper use of the new 280 character limit on Twitter. |
Tous les vrais C…
from twitter_favs
september 2017
Twitter
Audiophiles in a nutshell.
from twitter_favs
april 2017
Twitter
RT : Примерно так выглядит современная разработка ПО
from twitter_favs
november 2016
Python Application Deployment with Native Packages · Homepage of Hynek Schlawack
Speed, reproducibility, easy rollbacks, and predictability is what we strive for when deploying our diverse Python applications. And that’s what we achieved by leveraging virtual environments and Linux system packages.
debian  python  deployment  packaging 
august 2016
Automate the Boring Stuff with Python | Practical Programming for Total Beginners
Automate the Boring Stuff with Python is written for office workers, students, administrators, and anyone who uses a computer to learn how to code small, practical programs to automate tasks on their computer.
beginner  python  tutorial  books 
may 2016
Provisioning your computer with one command: awesome - Stavros' Stuff
The problem is that, like many of you, I have multiple computers. I have two desktops and two laptops (I just like keeping my old computers, they work), and installing a program on one was always a hassle, because I’d then have to remember to install it on the others and configure it the same way. Not only that, but, when I sometimes had to reformat (for performance, or to solve a problem, or whatever), I had to spend ages getting all the programs and their preferences working just the way I wanted them again.

I needed a better way to do this, and this is the post where I describe that way and how you can do it too.
git  linux  osx  provisioning  configuration 
may 2016
Aleksey Zhukov (drdaeman) | Keybase
Verifying myself: I am drdaeman on Keybase.io. tx5KgwCi97fqiD1xeggjmCbYDuw4CqXSzRfk /
from twitter
march 2016
Django migrations without downtimes
Most web applications use a relational database. The database schema needs to be changed over time as features are added, changed or removed. These database migrations need to be designed and integrated in your deployment process. On the one hand, scheduled downtimes can be expensive for the business and are painful to organize for larger sites or organizations. On the other hand, applying migrations on a live system can bring down your web-server in counter-intuitive ways. I’ll talk about common schema change scenarios and how those can be safely carried out on a live system with a Postgres database. We’ll look at locking and timing issues, multi-phase deployments and migration system peculiarities.
django  postgresql  database  migration  deployment 
march 2016
Buffering SQL Writes with Redis · Sentry
How Sentry buffers writes to PostgreSQL in Redis, avoiding bottlenecks.
sql  update  buffering  redis  python  sentry 
march 2016
Erlang packaging on Debian and hot upgrade
The first section of this article describes briefly how Erlang manages to support hot upgrade (or downgrade), then what is the approach chosen by official Debian packages for Erlang and a common software, Ejabberd. The second section presents how we integrate our Erlang applications in the Debian packaging system to support hot upgrade.
debian  deployment  erlang  linux 
february 2016
Unlocking my Lenovo laptop, part 3 – zmatt.net
A story about reverse engineering and patching Lenovo ThinkPad X230T system firmware to accept non-"genuine" batteries.
lenovo  laptop  firmware  reverse-engineering 
february 2016
Twitter
Securely sharing passwords, 2016 edition
from twitter_favs
february 2016
Setting Up a Secure Private PPA
Setting up private Debian/APT repository using HTTPS with X.509 client certificate authentication.
apt  ssl  debian  packaging  security 
january 2016
The Kolmogorov-Smirnov Test
The Kolmogorov-Smirnov test is a hypothesis test procedure for determining if two samples of data are from the same distribution. The test is non-parametric and entirely agnostic to what this distribution actually is. The fact that we never have to know the distribution the samples come from is incredibly useful, especially in software and operations where the distributions are hard to express and difficult to calculate with.
math  programming 
january 2016
RichiH/vcsh
vcsh - Version Control System for $HOME - multiple Git repositories in $HOME

vcsh allows you to maintain several Git repositories in one single directory. They all maintain their working trees without clobbering each other or interfering otherwise. By default, all Git repositories maintained via vcsh store the actual files in $HOME but you can override this setting if you want to.

All this means that you can have one repository per application or application family, i.e. zsh, vim, ssh, etc.
git  configuration  tools 
january 2016
Creating the perfect GPG keypair
There’s a lot of information online on how to create a new GPG keypair. Unfortunately a lot of it is old advice and recommends settings that today might be unsafe.

There also isn’t too much information on how to protect your keypair if you use a laptop that might get lost or stolen.
encryption  gpg  security 
december 2015
Python 3.5 type hinting in PyCharm 5
Python 3.5 introduces type hinting to help code-writing during development. Let’s take a look at this feature and show it in action.
python  typechecking 
november 2015
Managing EFI Boot Loaders for Linux: Controlling Secure Boot
This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!
linux  secure  boot  uefi  via:Pocket  via:IFTTT 
october 2015
booting a self-signed Linux kernel - Linux Kernel Monkey Log
Now that The Linux Foundation is a member of the UEFI.org group, I’ve been working on the procedures for how to boot a self-signed Linux kernel on a platform so that you do not have to rely on any external signing authority.
linux  secure  boot  uefi  via:Pocket  via:IFTTT 
october 2015
diafygi/letsencrypt-nosudo · GitHub
WARNING: THE LET'S ENCRYPT CERTIFICATE AUTHORITY IS NOT YET READY! ANY CERTIFICATES YOU HAVE SIGNED NOW WILL STILL RETURN BROWSER WARNINGS!
via:Pocket  via:IFTTT 
october 2015
rr-project.org
Everyone who's worked on a nontrivial application (like Firefox) has gone through the pain of debugging an intermittently-reproducible bug. Since nontrivial applications are nondeterministic, each execution is different, and you may require 5, 10, or even 100 runs just to see the bug manifest.
debugging  development  programming  via:Pocket  via:IFTTT 
october 2015
[GUIDE]A500/501/G100W-Installing ICS V8 UNL-… | Acer Iconia A500 | XDA Forums
You need help on this ! Here is a walk thru! -It will ask if you are ready (click yes if you are) -Let the app do his thing and wait !!!!!! Until it says "Done! Press and hold power to switch off then power back on!"
via:Pocket  via:IFTTT 
october 2015
diy/intercom.js · GitHub
Intercom is a client-side library that allows one window to broadcast messages to all other open windows / tabs (open to your site, of course). A socket.io binding is built in—which allows a single socket connection to painlessly propagate messages to all windows.
communications  javascript  library  webdev  via:Pocket  via:IFTTT 
october 2015
Избавляемся от DNS Leak в Windows 10 — свой userspace WFP-фильтр в виде OpenVPN-плагина / Хабрахабр
Как вы уже можете знать, резолвер DNS в Windows 10 отправляет DNS-запросы на все интерфейсы параллельно, что часто бывает либо просто неудобно, когда используется так н
dns  windows  via:Pocket  via:IFTTT 
october 2015
One month with the OnePlus 2: The good, the bad, and the meh | VentureBeat | Mobile | by Paul Sawers
Smartphone upstart OnePlus scored a minor success with its first phone, the OnePlus One, shifting 1.5 million devices globally in its first year in business. But all eyes were on the China-based company when its second phone was unveiled last month: the somewhat predictably titled OnePlus 2.
android  phone  review  via:Pocket  via:IFTTT 
september 2015
Embedded in Academia : Compilers and Termination Revisited
My earlier post C compilers Disprove Fermat’s Last Theorem generated a good amount of discussion both here and on Reddit.  Unfortunately, the discussion was riddled with misunderstandings.
via:Pocket  via:IFTTT 
september 2015
Windows 10: analýza probíhající komunikace - Root.cz
Systém Windows 10 je čerstvě nainstalován na MS Surface Pro 2. jedná se o Microsoft Windows 10 Pro verze 10.0 a sestavení 10240. Analýza je zaměřena na přenášená data a je tedy aktivní MS účet spolu s nastaveným OneDrive.
privacy  windows  via:Pocket  via:IFTTT 
september 2015
conversations.im
Benefits The OMEMO encryption /oˈmiːmoʊ/ (OMEMO Multi-End Message and Object Encryption) gives you all the advantages you would expect from a modern-day encrpytion protocol like Future and Forward Secrecy and deniability while allowing you to keep the benefits of message synchronization and off
encryption  security  xmpp  via:Pocket  via:IFTTT 
september 2015
tatterdemalion - Effectful Haskell: IO, Monads, Functors
To code any decent-sized application in Haskell, you have to be comfortable with effectful programming. Haskell famously offers “pure” functions, and they are great, referentially transparent and all that. But IO will be done.
haskell  via:Pocket  via:IFTTT 
august 2015
KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9 / Kernel & Hardware / Arch Linux Forums
You are not logged in. This is intented for people who wish to pass-through a GPU to a virtual machine, for gaming, etc, doing a primary vga passthrough (no cirrus emulated card), using a new feature introduced in linux kernel 3.9 and upstream qemu, vga device assignment using vfio-pci.
kvm  linux  qemu  vga  passthrough  virtualization  vt-d  via:Pocket  via:IFTTT 
august 2015
what-studio/profiling · GitHub
The profiling package is an interactive Python profiler. It is inspired from Unity 3D profiler. This package provides these features: With --dump option, it saves the profiling result to a file. You can browse the saved result by using the view command:
via:Pocket  via:IFTTT 
august 2015
What's new in CPUs since the 80s and how does it affect programmers?
My mental model of CPUs is stuck in the 1980s: basically boxes that do arithmetic, logic, bit twiddling and shifting, and loading and storing things in memory.
via:Pocket  via:IFTTT 
august 2015
Why my team uses npm instead of bower — Medium
My team builds an SDK for creating and deploying web apps at Opower. A basic requirement for us is providing some sort of package management.
via:Pocket  via:IFTTT 
august 2015
Kallithea
Kallithea, a member project of Software Freedom Conservancy, is a GPLv3'd, Free Software source code management system that supports two leading version control systems, Mercurial and Git, and has a web interface that is easy to use for users and admins.
software  version  control  via:Pocket  via:IFTTT 
august 2015
dogslow 0.9.7 : Python Package Index
For best results, make it one of the first middlewares that is run. Every incoming HTTP request gets a 25 second timeout in the watchdog.
library  profiling  python  via:Pocket  via:IFTTT 
august 2015
Firejail – A Security Sandbox for Mozilla Firefox, Part 1 | l3net – a layer 3 networking blog
We often find ourselves running applications we received in binary format. These include not only traditional software installed on our computers, but also unauthenticated programs received over the network and run in web browsers.
via:Pocket  via:IFTTT 
august 2015
linesman 0.3.1 : Python Package Index
One of my team's stories at work was to investigate existing Python profiling tools for use with some of our new web stacks (all in Pylons). I looked at a few--repoze.profile, kea.profile, and even dozer (still in 0.2alpha)--but couldn't find any that suited our use case. We wanted to...
development  profiling  python  via:Pocket  via:IFTTT 
july 2015
CM12 - building, optimising, fixing, having … | Samsung Galaxy S 4 Mini | XDA Forums
xda-developers Samsung Galaxy S 4 Mini Galaxy S 4 Mini Android Development CM12 - building, optimising, fixing, having fun by sysKin FORUMS XDA PORTAL POSTS Xposed Framework Updated to v65 Xposed Framework is an extremely popular modification platform for Android, so much so th
android  cyanogenmod  via:Pocket  via:IFTTT 
june 2015
[GUIDE] How to make your own CM-11.0 for you… | Samsung Galaxy S 4 Mini | XDA Forums
xda-developers Samsung Galaxy S 4 Mini Galaxy S 4 Mini General [GUIDE] How to make your own CM-11.
android  cyanogenmod  via:Pocket  via:IFTTT 
june 2015
grisha.org
InfluxDB might be able to fill this gap, it certainly aims to. First of all, InfluxDB is distributed. You can run one node, or a bunch, it seems like a more typical number may be 3 or 5. The nodes use Raft to establish consensus and maintain data consistency.
influxdb  via:Pocket  via:IFTTT 
june 2015
loose-bits.com
We use the Celery distributed task queue library at work, which is great for running asynchronous tasks across multiple processes and servers.
celery  concurrency  python  redis  via:Pocket  via:IFTTT 
june 2015
Developing Django project with SaltStack
Let's use Messaging System as an example of Django project. I want it to run in VirtualBox which is managed by Vagrant. Infrastructure management is provided by SaltStack.
development  django  example  salt  vagrant  via:Pocket  via:IFTTT 
june 2015
Elliptic Curve Cryptography: breaking security and a comparison with RSA | Andrea Corbellini
This post is the fourth and last in the series ECC: a gentle introduction. In the last post we have seen two algorithms, ECDH and ECDSA, and we have seen how the discrete logarithm problem for elliptic curves plays an important role for their security.
via:Pocket  via:IFTTT 
june 2015
Comment - Pastebin.com
Blog comments are broken, but the sad part is the X.509 name constraints are broken too. Here's a comment:
from twitter
january 2015
Zeal - offline API documentation browser
Zeal is a simple offline API documentation browser inspired by Dash (OS X app), available for Linux and Windows.
development  programming  api  doc  software 
june 2014
sysdig | Home
Sysdig is open source, system-level exploration. Think of it as strace + tcpdump + lsof + awesome sauce.
from twitter_favs
april 2014
Firefox Extensions: Add Button to Nav Bar
One thing that is conspicuously absent is the ability to add a button to the navigation toolbar. You know, the toolbar that holds the URL bar and bookmarks button. It took a fair amount of research and trial and error, but it turns out to be a small bit of code.

The code below should be placed in lib/main.js. It adds a button to the toolbar and removes it when the extension is disabled or uninstalled.
firefox  extensions  development  source  example 
march 2014
Twitter / Jermolene: Wow. Google’s transformation ...
Wow. Google’s transformation is now complete; they are apparently so blind to irony that they’ve rereleased Clippy
from twitter_favs
february 2014
Commit f7df75274dcfe5a63c90ff86ef91f2c8f7a96fe1 | Git | Assembla
Так добрые люди сливают же дамп: . Забанили зиги всякие, ничего интересного.
from twitter
february 2014
Mix network - Wikipedia, the free encyclopedia
Сеть с хитровывернутым роутингом и, обычно, стойким шифрованием, не позволяющим взять и поцензурить трафик.
from twitter
august 2013
Forbiddenfruit by clarete
This project aims to help you reach heaven while writing tests, but it may lead you to hell if used on production code.

It basically allows you to patch built-in objects, declared in C through python.
programming  python 
april 2013
Reverse-engineering of protobuf-based applications
First of all, we developed a quick class to extract every serialized .proto file from a given binary application (Elf file format). Then, we developed a set of classes handling the whole process, from namespaces and messages indexation to .proto file generation.
protocol  research 
february 2013
Obviously a Major Malfunction...: HDCP is dead. Long live HDCP. A peek into the curious world of HDMI copy protection...
HDCP (the copyright protection mechanism in HDMI) is broken. I don't mean just a little bit broken, I mean thoroughly, comprehensively, irredeemably and very publicly broken. Broken in such a way that any possible recovery would mean layering it with so much additional new infrastructure as to render it entirely pointless. Broken.
security  hardware  drm  hdmi  hdcp  via:popular 
february 2013
Rails and Legacy Databases
This document aims at describing how RoR can be tuned to work with legacy databases. Working with legacy databases is very important as it allow RoR to easily be deployed in conjunction with other legacy systems. I also personnally write some Rails app to overcome several limitations of legacy applications, and made my day simpler ;)
ruby  rails  database 
february 2013
« earlier      
2ch ajax algorithms android anime apache api automata avr backup bbs beginner benchmark bittorrent blog bookmarking books bootstrap browser bugfix bugs c c++ cheatsheet cli cms comparison compiling concurrency configuration copyright cpan crypto cs css css3 database debian debugging deployment design desktop development diy django dns doc download drivers eda editor electronics elf emacs english environment erlang example explaination ext3 extensions fabric faq filesystem firefox flash fonts foobar2000 framework freebsd freesoftware ftp fun fuse games gecko gentoo gevent git gnome graph graphics gtk2 hacking hardware haskell hdl howto http ide ie image imageboard iptables ipv6 irc japan japanese java javascript jquery json kde kernel keyboard language languages library linux lisp livejournal logging lua lyrics mail management manga manual markup math media memory microsoft mobile mochiweb monad mozilla music network nginx node.js old onmyouza oop openwrt optimization orm packaging parsec parser parsing patch performance perl perl5 php pic plan9 plugin plugins png pocketpc postgresql ppp privacy profiling programming protocol python qos qt radius rails rant rating redis reference research routing rpc ruby russian safari scheme scm screenshots search security service shaping shell skl social software source sources sql ssl tagging tc technology tex tips tools torrents translation tutorial typechecking typemoon ubuntu ui unicode unix via:ifttt via:pocket via:popular video vim virtualenv visualization web webdev wiki windows wm x11 xhtml xml 陰陽座

Copy this bookmark:



description:


tags: