|
Recently my brother was telling me about a deal he received on financing a new truck. He had gone to the dealer to browse and possibly buy, and after a bit of negotiation with the salesperson, agreed to a price of $20,000* at 0% interest for 60 months. However, the dealer was unable to actually approve him for 0% interest, so my brother shrugged his shoulders and proceeded to walk.
|
|
Similarly, the ratio of “code churn” to “lines of code” in mature and non-trivial software is also at least 10:1. Keep this in mind the next time a manager or customer asks you for a time estimate! To build a 10,000 line app, expect to write roughly 100,000 lines.
|
|
Random UAC permissions for C# applications notes: Ask for elevated permissions via app.manifest - see
|
|
Introduction It should be no secret that I am trying to design a new programming language. What is probably less well-known is that I have been trying to do so, at least in some way, since late 2012. Why is it taking me so long? The short answer is that I am trying to save the world from a tech apocalypse. The long answer explains why I think that and why I believe that I might succeed.
|
|
Introduction It should be no secret that I am trying to design a new programming language. What is probably less well-known is that I have been trying to do so, at least in some way, since late 2012. Why is it taking me so long? The short answer is that I am trying to save the world from a tech apocalypse. The long answer explains why I think that and why I believe that I might succeed.
|
|
Introduction It should be no secret that I am trying to design a new programming language. What is probably less well-known is that I have been trying to do so, at least in some way, since late 2012. Why is it taking me so long? The short answer is that I am trying to save the world from a tech apocalypse. The long answer explains why I think that and why I believe that I might succeed.
|
|
Introduction It should be no secret that I am trying to design a new programming language. What is probably less well-known is that I have been trying to do so, at least in some way, since late 2012. Why is it taking me so long? The short answer is that I am trying to save the world from a tech apocalypse. The long answer explains why I think that and why I believe that I might succeed.
|
|
Introduction It should be no secret that I am trying to design a new programming language. What is probably less well-known is that I have been trying to do so, at least in some way, since late 2012. Why is it taking me so long? The short answer is that I am trying to save the world from a tech apocalypse. The long answer explains why I think that and why I believe that I might succeed.
|
|
Introduction It should be no secret that I am trying to design a new programming language. What is probably less well-known is that I have been trying to do so, at least in some way, since late 2012. Why is it taking me so long? The short answer is that I am trying to save the world from a tech apocalypse. The long answer explains why I think that and why I believe that I might succeed.
|
|
Introduction It should be no secret that I am trying to design a new programming language. What is probably less well-known is that I have been trying to do so, at least in some way, since late 2012. Why is it taking me so long? The short answer is that I am trying to save the world from a tech apocalypse. The long answer explains why I think that and why I believe that I might succeed.
|
|
In the months leading up to GopherCon, my wife Jamilet and I had come up with the idea of creating a “small” browser-based game for the convention using the racing theme. Neither of us had ever worked on a game before and we had no idea what was involved. However, we knew we wanted to design and build something special for the awesome Gopher community. The original idea was to create a game where Gophers raced each other around a track...
|
|
Prerequisites Emacs , with org-mode and use-package a working hugo instance ox-hugo ox-hugo is an emacs plugin allowing the export of blog posts from an org-mode file to hugo. ox-hugo Installation Add to you emacs configuration file (.emacs.d/init.el for example) the following use-package instruction : (use-package ox-hugo :ensure t :after ox) Once ox-hugo is installed, the exporting functions will be avai..
|
|
As the final post in this series, I decided to see how I can create a complex query. Given the NSA’s statement, I decided to see if I can use LemonGraph to find a dog of interest. In particular, given our graph, I wanted to find start with a particular dog and find another dog that likes this dog that also like a dog that dislike the original. As a reminder, here is the graph: And starting from Arava, I want to find a dog that likes....
|
|
A few months ago I rebuilt my router on an espressobin and got the itch to overhaul the rest of my homelab. While I could pick up some post-market AmaFaceGooSoft equipment for a typical high-power x86 lab, I decided to put the devops mantra of a distributed, fault-tolerant architecture to work and see how far I could get with lots of small, cheap, low-power machines instead. In a nutshell, I'm running ~20 ARM-based single-board comput....
|
|
In the early 2000s, authentication was nothing more than a username and password. Today, things have evolved.
|
|
Simply put, Git is a version control system that can be used to keep track of the changes that you make to files over time - it allows you to revert files to a previous state, or see who made changes to a file at different times if several people are working the those files collaboratively. Git was original developed back in 2005 by Linus Torvalds (the creator of Linux) to aid in making changes to the Linux kernel, but has since become th..
|
|
Simply put, Git is a version control system that can be used to keep track of the changes that you make to files over time - it allows you to revert files to a previous state, or see who made changes to a file at different times if several people are working the those files collaboratively. Git was original developed back in 2005 by Linus Torvalds (the creator of Linux) to aid in making changes to the Linux kernel, but has since become th..
|
|
Last night a friend and I were up into the early hours of the morning talking about philosophy, life and mental health—as one does after several beers.
|
|
France's 10 top food experiences - Lonely Planet . GR 20 : Best Mountain Hiking in France - The French Touch - Quora . Hmmm I want to take some August vacation time in a city I can go by train from paris and is nice to visit calm and not too expensive . Inside the walls of Mont Saint-Michel, France. .
|
|
I've grown accustomed to M-r bindings to search Emacs history. Been wanting similar functionality to search commit message history. Turns out log-edit-comment-ring has some of my local commit message history. Feeding it to completing-read gives me an easily searchable history when using a completing framework like ivy or helm: (defun ar/git-commit-search-message-history () "Search and insert commit message from history." (interactive..
|
|
I mentioned on Twitter earlier today that very often when I get really stuck on something and finally decide to ask for help on a forum, the answer suddenly hits me as I finish writing my post. Most of the time the problem is something really silly that I just kept completely overlooking, and the answer feels painfully obvious once it clicks. Despite the fact that these might be a little embarrassing to post, I figured rather than letting m..
|
|
Life Hacks: Text Notifications So many notifications come to us in the form of an audible alert, and this can sometimes be inconvenient. Who likes having their phone go off in church? The problem is that sound propagates regardless of the intended target. Touch, on the other hand, is an inherently personal sensation. Setting your phone to vibrate lets you know you’re being alerted, without notifying everyone else in the room as well. Unl....
|
|
Life Hacks: Text Notifications So many notifications come to us in the form of an audible alert, and this can sometimes be inconvenient. Who likes having their phone go off in church? The problem is that sound propagates regardless of the intended target. Touch, on the other hand, is an inherently personal sensation. Setting your phone to vibrate lets you know you’re being alerted, without notifying everyone else in the room as well. Unl....
|
|
Reading the NSA’s codebase: LemonGraph review–Part VI–Executing queries
-
ayende.com
-
7 years ago
-
eng
After going over many layers inside LemonGraph , I think we are ready to get to the real deal. We know how LemonGraph starts to execute a query. It find the clause that is likely to have the least number of items and starts from there. These are the seeds of the query, but how is it going to actually process that? Here is my graph: And here is the query that I want to run on it: n()->e(type="likes", value="yes")->n() LemonGraph detect....
|
|
Mathematics students often hear about the classic “blue-eyed islanders” puzzle early in their career. If you haven’t seen it, read Terry Tao’s excellent writeup linked above. The solution uses induction and the idea of *common knowledge—*I know X, and you know that I know X, and I know that you know that I know X, and so on—to make a striking inference from a seemingly useless piece of information. Recreational mathematics is also full of p..
|
|
Mathematics students often hear about the classic “blue-eyed islanders” puzzle early in their career. If you haven’t seen it, read Terry Tao’s excellent writeup linked above. The solution uses induction and the idea of *common knowledge—*I know X, and you know that I know X, and I know that you know that I know X, and so on—to make a striking inference from a seemingly useless piece of information. Recreational mathematics is also full of p..
|
|
Mathematics students often hear about the classic “blue-eyed islanders” puzzle early in their career. If you haven’t seen it, read Terry Tao’s excellent writeup linked above. The solution uses induction and the idea of *common knowledge—*I know X, and you know that I know X, and I know that you know that I know X, and so on—to make a striking inference from a seemingly useless piece of information. Recreational mathematics is also full of p..
|
Recently, we migrated one of our web apps to the Webpack 4, which decreases build time and reduces chunk size by using Split Chunks plugin…
|
|
Earlier this year a couple of police officers were accused of raping someone they had in their custody . The police countered that they had not raped anyone, but rather the sex had been consensual. Critics rightly pointed out that police shouldn’t be having sex on the job with anyone - especially someone in their custody since they cannot consent - and raised the question How was this legal for the police to do in the first place?
|
|
During my five week vacation I made myself finally sit down and read a book that’s been recommended to me repeatedly: Why We Sleep by Matthew P. Walker.
|
|
I said before that I don’t want to get into the details of how LemonGraph is dealing with parsing the queries. Unfortunately, I can’t avoid that. There seems to be a lot of logic, magic and mystery in the MatchLGQL() class, which is critical to understanding how queries work. The problem is that either my Python-fu is lacking or it is just really hard to figure out a non trivial codebase behavior in a dynamic language like python. I ....
|
|
Big fan of my morning power smoothie. Best deals I've found so far: Almonds (BuyWholeFoodsOnline.co.uk, £1.06/100g @ Amazon ). Banana. Blueberries. Chia seeds ( £4.99/Kg @ Real Food Source ). Cocoa powder (Active foods, £ 1.7/100g @ Bulk Powders ). Coconut water (Innocent, £0.37/100ml @ Tesco ). Crunchy peanut butter ( £ 4.99/Kg @ Real Food Source ). Matcha powder (Active £6.8/100g @ Bulk Powders ). Strawberries. ps. I have no affil..
|
|
First of all, British spelling. Now that's out of the way, I recently created a custom colour scheme for Sublime Text, and thought I'd write up a quick note…
|
|
Reading the NSA’s codebase: LemonGraph review–Part IV–Compressed, sortable integers
-
ayende.com
-
7 years ago
-
eng
Before going over the actual query implementation, I wanted to talk about something that I just realized. I said previously that I don’t understand why LemonGraph is using its integer encoding method, because it is less efficient than using variant sized integer. What I didn’t take into account is that the method LemonGraph is using gives short, but sortable, integers. Here is the encoding method: Now, let’s see what kind of binar....
|
|
The attribution team at AdRoll computes metrics out of petabytes of data every night. This is accomplished using a batch processing pipeline that submits jobs to AWS Batch. In this blog post we discuss how this is organized and orchestrated with Luigi. We announce Batchiepatchie, a job monitoring tool for AWS Batch. Batchiepatchie is an improvement over Amazon’s own monitoring solution for AWS Batch and it has saved us countless hours of en....
|