Web Fonts Performance
Web fonts are great. They are also be really bad for front-end performance because they block rendering. You may have experienced this on a slow cellular network. Staring at a blank page is no fun, especially when the content has already loaded.

This talk explores why browser have placed fonts on the critical path, and how we can work around this while still delivering a good user experience. It also takes a look at what the future will bring to web font performance: preloading hints, the font-display property, and HTTP/2.
css  webdev 
3 days ago
Polymorphism for dummies - Haskell for all
This tutorial explains how polymorphism is implemented under the hood in Haskell using the least technical terms possible.
4 days ago
Surprisingly Turing-Complete
Pokemon Yellow: “Pokemon Yellow Total Control Hack” outlines an exploit of a memory corruption attack which allows one to write arbitrary Game Boy assembler programs by repeated in-game walking and item purchasing.
4 days ago
A vim Tutorial and Primer
There are dozens of vim references online, but most of them either go ninja straight away, or start basic and don’t go much deeper.

The goal of this tutorial is to take you through every stage of progression—from understanding the vim philosophy (which will stay with you forever), to surpassing your skill with your current editor, to becoming “one of those people”.
5 days ago
Processes a scanned document of text to clean the text background
9 days ago
A simple spectrometer can be built from a CD and a box.
Cut a slit on one side of the box. Place the CD on the other side with about 60 degree angle. Look down into the openning on the box. The slit should not be too wide, otherwise the spectrum lines will be blurred. It should not be too narrow either, otherwise the spectrum is too dim. I use a 0.2mm wide slit.

structure of the CD spectroscope
10 days ago
Counting Objects
Two years ago, if you cloned a large repository from any Git host, you probably found yourself waiting several minutes before data started being sent to your machine, while the server proudly announced that it was "counting objects".

However, if you try to clone the equivalent repository hosted on GitHub.com today, or on a GitHub Enterprise instance, you'll notice that data starts being sent immediately and the transfer is only limited by your available bandwidth to the server.

Inquiring minds may wonder: What are these objects, why did you have to count them every single time, and why are you not counting them anymore?
git  algo 
14 days ago
On Go, Portability, and System Interfaces
I've been noticing more and more lately that we have a plethora of libraries and programs written for Go, which don't work on one platform or another. The root cause of these is often the use of direct system call coding to system calls such as ioctl(). On some platforms (illumos/solaris!) there is no such system call.
golang  unix 
14 days ago
Stupid Template Tricks: Template Assembler
In this post, we'll build a simple x86 assembler C++ template metaprogram. The assembler will run at compiletime and generate machine code that can be run in as part of the compiled program, similar to inline assembly. We'll define a simple embedded domain specific language directly in C++ to express our assembly programs. By building the language directly in C++, we get a lot for free, such as powerful type checking and macro-like operations, and the syntax is not as horrific as you may imagine.
14 days ago
Some guiding principles for handling gender on forms.

The number one step is interrogating WHY you need a user's gender at all. 99% of the time, you really don't. So don't ask, full-stop.
14 days ago
vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s). It uses the network interface statistics provided by the kernel as information source. This means that vnStat won't actually be sniffing any traffic and also ensures light use of system resources.
networking  admin 
6 weeks ago
Ephemeral Undo
Undo on mobile devices has always been problematic. Shake to undo never really worked well, and most mobile apps don’t have a permanent menu bar where they can stick an undo icon.
android  design 
8 weeks ago
Pulse inserted nodes in the DOM · GitHub
I made a dumb gist that pulses elements that have been added to the DOM. It's kinda funky watching how FB does it
from twitter_favs
8 weeks ago
I/O Port: BCPL pointers were not zero indexed because of compile time issues.
There's a rebutal to the linked article. Have no clue if it's true, but the author sounds bitter XD
from twitter_favs
8 weeks ago
Unix Toolbox
This document is a collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users. This is a practical guide with concise explanations, however the reader is supposed to know what s/he is doing.
admin  unix 
8 weeks ago
Postmortem for July 27 outage of the Manta service - Blog - Joyent
RT : If you run Postgres this postmortem from Joyent should interest you.
from twitter_favs
9 weeks ago
xkcd: Screws
Stumbled upon this bit of goodness again:
from twitter_favs
9 weeks ago
QQ - Quantity Queries Builder
"A tool to help build Quantity Queries for your projects"
from twitter_favs
9 weeks ago
Subtractable values are torsors
But there are also things that can be subtracted, but not added. The simplest example is dates. You can subtract two dates to get the time interval between them, but you cannot add two dates. It doesn’t make sense to ask what today plus tomorrow is. You could try to add the numeric values corresponding to the dates and convert the answer back to a date, but the result would depend on whether you count from the start of the Common Era, the Unix epoch, or something else.

While adding two dates is not possible, it is possible to add a time interval to a date («five days from today»). This suggests that we should not confound dates and time intervals — they are different types of values.
haskell  math 
9 weeks ago
How A Simple Apple Feature Called Switch Control Is Changing Lives - BuzzFeed News
RT : How A Simple Apple Feature Called Switch Control Is Changing Lives - BuzzFeed News
from twitter_favs
9 weeks ago
Victor Hunt Designart Dealer
So beautiful:
A digital clock that uses uses analog clocks to display the time.
from twitter_favs
10 weeks ago
Untitled (http://www.cs.toronto.edu/~graves/handwriting.cgi)
Whoa, awesome, real computer generated handwriting (also neural-network based, like Deep Dream) via
fun  from twitter_favs
11 weeks ago
Will ZFS and non-ECC RAM kill your data?
Just as a reminder, ZFS w/o ECC memory is NOT worse than non-ZFS w/o ECC memory.
unix  admin  from twitter_favs
11 weeks ago
RT : Interactive Filters demo by :: 💙
—use ur own image & try the filters on it w/ viewable code snippets.
svg  tools  from twitter_favs
11 weeks ago
« earlier      
accessibility admin algo android apple audio c clojure content css culture design devops django dotnet elixir emacs ember erlang fun gc git golang graphics hardware haskell indieweb java javascript latex math monads mongodb music mysql nethack networking ocaml photoshop php pl postgres privacy prolog python react redis ruby rust scala security smalltalk svg swift talk tools typography unix via:macdrifter via:sunpig via:tlockney video vim webdev windows wtfjs zfs

Copy this bookmark: