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

The main technique in software design is this: You look at the entirety of your system and you decompose it into pieces that are more manageable and have clear interfaces. This approach is usually referred to as modularization . But what’s the point of investing such an effort if in the end only the externally visible properties of a software matter? In his classic paper “On the Criteria To Be Used in Decomposing Systems into Modules” ....



This blog post was originally posted on JetBrains .NET blog . In Rider , we have unit tests that enumerate files in your project and dump a sorted list of these files. In one of our test projects, we had the following files: jquery-1.4.1.js, jquery-1.4.1.min.js, jquery-1.4.1-vsdoc.js. On Windows, .NET Framework, .NET Core, and Mono produce the same sorted list: jquery-1.4.1.js jquery-1.4.1.min.js jquery-1.4.1-vsdoc.js

This blog post was originally posted on JetBrains .NET blog . In Rider , we have unit tests that enumerate files in your project and dump a sorted list of these files. In one of our test projects, we had the following files: jquery-1.4.1.js, jquery-1.4.1.min.js, jquery-1.4.1-vsdoc.js. On Windows, .NET Framework, .NET Core, and Mono produce the same sorted list: jquery-1.4.1.js jquery-1.4.1.min.js jquery-1.4.1-vsdoc.js


Update August 17 2021 : I've got the tool working in Chrome and Firefox by launching it a standalone new window instead of loading in an iframe. It is still broken in Safari for unknown reasons. It's not ideal, but until the whole SharedArrayBuffer debacle settles down, it's probably the best I can do right now. Update October 17 2022 : The mp4's should now always be compatible with QuickTime. While they were always compatible with ....

Update August 17 2021 : I've got the tool working in Chrome and Firefox by launching it a standalone new window instead of loading in an iframe. It is still broken in Safari for unknown reasons. It's not ideal, but until the whole SharedArrayBuffer debacle settles down, it's probably the best I can do right now. Update October 17 2022 : The mp4's should now always be compatible with QuickTime. While they were always compatible with ....


How do you convert a UTC timestamp to Unix Time (seconds since the epoch)? "2020-04-29 04:48:15" → 1588135695 Of course the right answer is “you use a standard library function.” But what if you don’t have one available? Or what if you’re the person implementing that library? Converting the time portion is trivial. Unix Time pretends that leap seconds do not exist and makes every day exactly 86,400 seconds long. This is a fib on....

Jenkins is an Open Source CI / CD software program that you can easily install on an AWS instance. Here is how to install Jenkins: sudo apt install default-jre wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add - sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list' sudo apt update sudo apt install jenkins sudo systemctl start jenkins Here are ..

Ansible is an Open Source DevOps engine for systems configuration. Here is the process for installing Ansible on Ubuntu 18 for AWS. sudo apt-add-repository ppa:ansible/ansible sudo apt update sudo apt install ansible sudo apt install python-pip pip install boto3 --user pip install boto --user Note : The commands pip install boto3 –user / pip install boto –user - you only need one of these. Use boto3 if your Ansible installation i..

URI.parse is a Ruby call I've written a thousand plus times. The unfortunate reality of URI.parse is that it doesn't work when there are UTF-8 characters in the url. The work around is the addressable gem. So: Gemfile gem "addressable" Example Usage require 'addressable/uri' url = 'http://www.example.com/wp content/uploads/2012/01/München.jpg' parts = Addressable::URI.parse(url) Sources [Stack Overflow] (https://stackoverflow..



Brain dump so I don’t forget this one] So you want your bash script to exit on an error but you’d like it to clean some stuff up before it closes after the error occurs. No problem a TRAP can do this for you (read detailed docs for caveats). In a very simple form it looks like this: https://gist.github.com/lawrencegripper/9e778601b2a21d7891e46cf0e1765f46 Using Trap to fire cleanup on exit Learn more here: https://www.linuxj..





Today I announce a new project: Swig . Swig is a monolithic, multithreaded, micro web framework designed for an air-gapped intranet environment. Aside from Python 3, it has zero dependencies; just download and deploy. Out of the box, Swig supports IPv4 and IPv6, HTTP and HTTPS, block and chunked responses, and gzip compression. I encourage you to go through the README for more information, and to check out the code on GitHub repo . P..

Update I now use dwim-shell-command , which reduces the logic to: (defun dwim-shell-commands-image-to-jpg () "Convert all marked images to jpg(s)." (interactive) (dwim-shell-command-on-marked-files "Convert to jpg" "convert -verbose '<>' '<>.jpg'" :utils "convert")) Original post Shell one-liners are super handy for batch-processing files. Say you'd like to convert a bunch of images from HEIC to jpg, you could use somethi....

Last night I moved this site from a VM in the UK to a static deployment in Google Cloud Run . It’s a neat service that can take a pre-packaged container and route HTTP and gRPC requests to that container. The concept of having immutable versions of infrastructure deployed, such that it’s clear what the deltas between versions were, and rollback is clearly nothing new, but it’s really nice that it’s quite so easy to deploy things on GCP thi..

Last night I moved this site from a VM in the UK to a static deployment in Google Cloud Run . It’s a neat service that can take a pre-packaged container and route HTTP and gRPC requests to that container. The concept of having immutable versions of infrastructure deployed, such that it’s clear what the deltas between versions were, and rollback is clearly nothing new, but it’s really nice that it’s quite so easy to deploy things on GCP thi..



KVM is a virtualization technology that comes with the Linux kernel. In other words, it allows you to run multiple virtual machines (VMs) on a single Linux VM host. VMs in this case are known as guests. If you ever used QEMU or VirtualBox on Linux - you know what KVM is capable of. But how does it work under the hood? ioctl KVM provides an API via a special device node - /dev/kvm.

This post is meant to be a counterpart to the previous KVM post, but about containers instead. The idea is to show how exactly containers work by running a busybox Docker image in our own small container runner. Unlike a VM, container is very vague term. Normally, we call containers a self-contained bundle of code and its dependencies, that can be shipped together and run in an isolated environment inside some host operating system.


Previously in database basics: 1. SELECT, INSERT, CREATE and a REPL 2. binary expressions and WHERE filters 3. indexes In this post, we'll extend gosql to implement the database/sql driver interface. This will allow us to interact with gosql the same way we would interact with any other database. Here is an example familiar program (stored in cmd/sqlexample/main.go) we'll be able to run: package main import....


KVM is a virtualization technology that comes with the Linux kernel. In other words, it allows you to run multiple virtual machines (VMs) on a single Linux VM host. VMs in this case are known as guests. If you ever used QEMU or VirtualBox on Linux - you know what KVM is capable of. But how does it work under the hood? ioctl KVM provides an API via a special device node - /dev/kvm.

This post is meant to be a counterpart to the previous KVM post, but about containers instead. The idea is to show how exactly containers work by running a busybox Docker image in our own small container runner. Unlike a VM, container is very vague term. Normally, we call containers a self-contained bundle of code and its dependencies, that can be shipped together and run in an isolated environment inside some host operating system.



1 . x A daily routine of cd’ing in a directory and starting a server can easily be automated.


Conventional wisdom dictates that the larger the number of types declared in a Go program, the larger the resulting binary. Intuitively this makes sense, after all, what’s the point in defining a bunch of types if you’re not going to write code that operates on them. However, part of the job of a linker is […]

1 Line endings CRLF vs. LF Theres a difference in how line endings are encoded. If you use VS Code and git, take care that line endings are handled the right way.


Blend Ripe banana. 2 Eggs. 1/3 cup instant oats. 1/2 teaspoon baking powder. Really is this easy. Add all ingredients and blend. Cook Medium to low heat. Cook for 3 minutes. Flip. Cook for 1 minute. You're done.

Starting Fresh - lambdaland.org - 6 years ago - eng
I’ve been building a compiler for a small lambda calculus that compiles to x86. It’s pretty broken, and I decided to start from scratch. I checked out a new branch in Git, and then deleted the entirety of my compiler before I had a chance to do anything else. It hurt. But it was a good kind of hurt. I don’t usually just blow everything away like that. Even this time, I’m keeping many of my auxiliary functions. I’m not rewriting the ....

Starting Fresh - lambdaland.org - 6 years ago - eng
I’ve been building a compiler for a small lambda calculus that compiles to x86. It’s pretty broken, and I decided to start from scratch. I checked out a new branch in Git, and then deleted the entirety of my compiler before I had a chance to do anything else. It hurt. But it was a good kind of hurt. I don’t usually just blow everything away like that. Even this time, I’m keeping many of my auxiliary functions. I’m not rewriting the ....

Update : I have uploaded the videos to YouTube and embedded the playlist below. You can check out my other hacking session recordings from my videos page . I will run another hacking session that has been in my mind for a while. It will be a pretty narrow deep-dive into one of the SQL Monitoring report’s columns that is not well explained: Oracle SQL Monitoring - Understanding the Execution Timeline column In this hacking session, I w..

61 visitors online