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



Context Python’s os.path.isdir() is a much used function, but today, I wasn’t getting the expected results. My directory looks like this: |_root/ |_colors/ |_blue/ | |_blue1.jpg | |_blue2.jpg |_red |_red1.jpg |_red2.jpg When I ran the code snippet below, I was getting all nothing. os.path.isdir() was return ‘False’ on all of the color folders: colors_dir = os.path.join(os.path.abspath("root"), "colors") for i in os.listdir(co..

This past weekend I decided I need to clean up my GitHub profile. In this post I’ll write about why I cleaned everything up and also how I did, as well as some initial results.

It’s not a very disputed topic that you should backup your database, and further test your backups. What is a little less discussed, at least for Postgres, is the types of backups that exist. Within Postgres there are two forms of backups and understanding them is a useful foundation for anyone working with Postgres. The two backup types are Physical: which consist of the actual bytes on disk, Logical: which is a more portable format. L....

It’s not a very disputed topic that you should backup your database, and further test your backups. What is a little less discussed, at least for Postgres, is the types of backups that exist. Within Postgres there are two forms of backups and understanding them is a useful foundation for anyone working with Postgres. The two backup types are Physical: which consist of the actual bytes on disk, Logical: which is a more portable format. L....





Less Twitter So I started journaling my quick thoughts basically at the beginning of 2016 and only managed to post them to my blog once. So it goes, I guess. I have a backlog of them, most of which I'll just ignore and I'll post the highlights below. With my twitter feed becoming unpleasant due to so much Trump noise, I've reduced my use a twitter a lot. I've somewhat switched to reddit which is better organized into narrow topics. Inste....

So why write a blog? - daniel.do - 8 years ago - eng

So why write a blog? - daniel.do - 8 years ago - eng


A toast view is a small, short-lived popup provides a small bite of information (see what I did there?) to the user. It’s an Android paradigm, but if you’re working on an iOS app that has an Android component, the chances are high that you have been or will be asked to implement one at some point. So you might as well learn how to make one simply without having to pull in a 3rd-party dependency, right? Well, let’s get started then. I’ll f....

Introduction This article will deal with the issues we face with the current API architecture (mostly REST) and why demand-driven APIs seem…

When my beloved Google Reader was discontinued in 2013, I stopped regularly checking RSS feeds. Apparently, I am not alone . It seems like there’s a new article every month arguing either that RSS is dead or RSS is not dead yet . Maybe RSS will stick around to serve as a cross-site communication backbone, but I don’t think anyone will refute that RSS feeds are declining in consumer use. Facebook, Twitter, and other aggregators are where....

When my beloved Google Reader was discontinued in 2013, I stopped regularly checking RSS feeds. Apparently, I am not alone . It seems like there’s a new article every month arguing either that RSS is dead or RSS is not dead yet . Maybe RSS will stick around to serve as a cross-site communication backbone, but I don’t think anyone will refute that RSS feeds are declining in consumer use. Facebook, Twitter, and other aggregators are where....

I’ve just released Helpful , a new way of getting help in Emacs! The *Help* built-in to Emacs is already pretty good. Helpful goes a step further and includes lots of contextual info. Let’s take a look. Have you ever wondered which major modes have a keybinding for a function? Helpful reports keybindings in all keymaps! When you’re hacking on some new code, you might end up with old function aliases after renaming a function. H....

Context I use virutalenv and virtualenvwrapper tomanage my development environments. Virtualenvwrapper consolidates all your virtualenvs into a single location, and can link a directory to a virtualenv. Once in a while, I need to change the name of my repo and/or virtual environment. This means I have to change a bunch of other stuff. How To ¶ If the project directory is moved/changed/renamed, modify the following: In the virtu..

Over the past years, AdRoll has grown from a humble startup built around a single feature to a global marketing platform with a diverse suite of products . Along with the growth of the company, we have put a lot of work into building a solid infrastructure for user interface development. In this post, we talk about the human aspects of front-end projects that are shared between multiple engineering teams. Every web application at AdRoll....

When Google set out to measure what makes their best software development teams successful, they found a strong correlation with psychological safety : A shared belief held by members of a team that the team is safe for interpersonal risk-taking... A sense of confidence that the team will not embarrass, reject

Background In order to manage the health of populations, Cerner builds data-driven solutions built on top of its HealtheIntent℠ platform. The platform transforms and standardizes data across disparate health systems. The data is then used in algorithms that aid healthcare providers and hospitals in managing and monitoring health both at a person and population level. The Reference Record is one of the core components of the HealtheIntent pl..

Trading is a competitive business. You need great people and great technology, of course, but also trading strategies that make money. Where do those strategies come from? In this post we’ll discuss how the interplay of data, math and technology informs how we develop and run strategies.

Trading is a competitive business. You need great people and great technology, of course, but also trading strategies that make money. Where do those strategies come from? In this post we’ll discuss how the interplay of data, math and technology informs how we develop and run strategies.

VCs have 3 principal jobs: picking startups to invest in, helping startups after investing, and raising capital for investing.



Swift's error handling is a unique feature of the language. It looks a lot like exceptions in other languages, but the syntax is not quite the same, and it doesn't quite work the same either. Today I'm going to take a look at how Swift errors work on the inside. (Read More)

Friday Q&A 2017-08-25: Swift Error Handling Implementation Friday Q&A 2017-08-25: Swift Error Handling Implementation Swift's error handling is a unique feature of the language. It looks a lot like exceptions in other languages, but the syntax is not quite the same, and it doesn't quite work the same either. Today I'm going to take a look at how Swift errors work on the inside. Semantics Let's start with a quick refresher on h....

What Do The Valence Electrons Of Carbon Tell Us About The Bonding In CH4? (Hint: since the dipole moment of CH4 is zero, the answer

For those of you interested in what what interns do at Jane Street, here’s a post from former intern Tristan Hume, on his work developing tree-diffing algorithms last summer at Jane Street. It’s a fun (and very detailed!) read.

For those of you interested in what what interns do at Jane Street, here’s a post from former intern Tristan Hume, on his work developing tree-diffing algorithms last summer at Jane Street. It’s a fun (and very detailed!) read.

What is the kernel.terminate event? It is the last event that is triggered in Symfony, just after the response has been sent to the client (only on php-fpm). This means that we can do some heavy lifting here because our response time is not affected. The client gets the response quickly and our processing will occur afterwards. The Symfony SwiftMailer bundle does this by default, so we should be ok with emails, but my latest project need....

What is the kernel.terminate event? It is the last event that is triggered in Symfony, just after the response has been sent to the client (only on php-fpm). This means that we can do some heavy lifting here because our response time is not affected. The client gets the response quickly and our processing will occur afterwards. The Symfony SwiftMailer bundle does this by default, so we should be ok with emails, but my latest project need....


People seem to enjoy talking about programming methodologies. They give them cute names, like eXtreme programming , Agile , and Scrum ; run conferences and build communities around them; write books that describe how to use them in excruciating detail; and manifestos that lay out their philosophy.

People seem to enjoy talking about programming methodologies. They give them cute names, like eXtreme programming , Agile , and Scrum ; run conferences and build communities around them; write books that describe how to use them in excruciating detail; and manifestos that lay out their philosophy.

trivago will host a PHPUnit Code Sprint in mid-October to support this crucial part of the PHP ecosystem. Sebastian Bergmann, the creator of PHPUnit, will be there to coordinate the developers' efforts and to answer questions.

What Type of file system is used in EFI partition ? # EFI partition in Ubuntu is basically a FAT partition with label “EFI” How to create / restore an efi partition ? # Just reformat or create a normal FAT file system partition with a size of 512MB (can be any size) and label it as “EFI”, You can use fdisk command if you are comfortable with cli or you can use gparted tool from a live media of Ubuntu to create new efi partition. H..

In this tutorial I will show you how to reinstall grub2 bootloader on a ubuntu system with efi partition. Boot from a live usb/cd # Boot from the ubuntu live usb/cd and select the option “try ubuntu without installing” Check if EFI is enabled in bios # Enter below command in terminal\ [ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD" If you see “EFI boot on HDD” Message then you are already running ....

trivago will host a PHPUnit Code Sprint in mid-October to support this crucial part of the PHP ecosystem. Sebastian Bergmann, the creator of PHPUnit, will be there to coordinate the developers' efforts and to answer questions.

A little more than a year ago we made the first commit to the gem that eventually became humidifier . It’s evolved quite a bit in the last year, including integrating AWS’ resource specification which had the side-effect of greatly stabilizing the API. Here at Localytics, we’


80 visitors online