|
I'm happy to announce that I've joined forces with the amazing developers at Octopus Deploy. It's a fantastic product and if you havn't…
|
|
With every single article Rohan Anderson writes, I become more convinced that his is a lifestyle I would love to live. A hard life, no doubt, but a good one all the same. And isn’t that what we are all after? Permalink.
|
|
Last week, we went over how to quickly build a reverse proxy using NGinx. While this solved our immediate problem of hiding n+1 servers behind our n ip addresses, it could still stand a bit of work. As it stands right now, we don't have any access control capability. The Setup Let's assume we have two sites that need to be proxied: public.example.com and internal.example.com1 and 2. upstream internal { server 10.
|
|
This post is intended for people with a little bit of programming experience and no prior mathematical background. So let’s talk about numbers. Numbers are curious things. On one hand, they represent one of the most natural things known to humans, which is quantity. It’s so natural to humans that even newborn babies are in tune with the difference between quantities of objects between 1 and 3, in that they notice when quantity changes much ..
|
|
This post is intended for people with a little bit of programming experience and no prior mathematical background. So let’s talk about numbers. Numbers are curious things. On one hand, they represent one of the most natural things known to humans, which is quantity. It’s so natural to humans that even newborn babies are in tune with the difference between quantities of objects between 1 and 3, in that they notice when quantity changes much ..
|
|
This post is intended for people with a little bit of programming experience and no prior mathematical background. So let’s talk about numbers. Numbers are curious things. On one hand, they represent one of the most natural things known to humans, which is quantity. It’s so natural to humans that even newborn babies are in tune with the difference between quantities of objects between 1 and 3, in that they notice when quantity changes much ..
|
|
Software development is mostly horseshit. We’re busy trying to build things, trying to estimate when things are done, trying to work with other humans to make sure you don’t break anything when you launch. All of these things can go horribly, horribly wrong without much malice or without much intention. It’s still very difficult. via Why doesn’t GitHub talk about their product roadmap?
|
|
Writing an article that gets read by tens of thousands is exhilarating. If you’ve written an article, it’s hard not to obsess over the analytics.
|
|
Comment on A survey for writing your CV in LaTeX by dimle
-
dimle.wordpress.com
-
12 years ago
-
eng
In reply to noemailsorry@gmail.com. Thanks for the comment. The post is old. If I had written it today, I would say just use moderncv.
|
|
Another short week, unfortunately. Short, but no less excellent — of that, I can assure you. So sit back, relax on your day off tomorrow, and enjoy last week’s best podcasts: Permalink.
|
|
I’ve been over the high-level requirements and think it’ll probably take 8 weeks with 2 developers, so you should be able to deliver this by X. Well, that’s great. Can I presume that you’re one of the two developers working on it? I didn’t think so. Nothing irks me more than being handed a batch of work along with the timeline for delivering it. If you want to estimate my work for me, then you can also go ahead and build it.
|
|
Big update this week! First, I updated the logo. I rotated the cubes 45 degrees to try and convey a better sense of speed and movement. What do you think? Next, I added support for 4K screenshots. Now I can hit Alt-S and my renderer resizes all of its buffers to 4096x2304 (biggest 16:9 resolution supported by XNA), renders the scene, saves it to a PNG, then resizes everything back to normal.
|
A curated collection of personal reminders, quotes, and principles on leadership, technology, and living well
|
A curated collection of personal reminders, quotes, and principles on leadership, technology, and living well
|
|
Like Josh, I prefer to navigate with swipes rather than taps. However, unlike him, I prefer tidy swiping — that is, I prefer my apps not to register my gestures unless I begin them in certain areas, such as the extreme left side of the screen: whenever I want to go back in an app’s visual hierarchy, for example, I put my finger up against my case’s left bumper and swipe across; it would be confusing and annoying if I made an accidental righ..
|
Lost in the shiny new features (see: namespaces and closures ) PHP 5.3 also added the __invoke method. While not plainly apparent, it is secretly an amazingly useful 'magic method' . If you're not taking advantage of __invoke, you should be . Why? It provides a uniform execution points for objects that have a doPrimaryAction() style method. What do I mean by this? Many simple, single responsibility objects have a usage that goes ....
|
Lost in the shiny new features (see: namespaces and closures ) PHP 5.3 also added the __invoke method. While not plainly apparent, it is secretly an amazingly useful 'magic method' . If you're not taking advantage of __invoke, you should be . Why? It provides a uniform execution points for objects that have a doPrimaryAction() style method. What do I mean by this? Many simple, single responsibility objects have a usage that goes ....
|
|
pAt theScore, we have a big JSON API with hundreds of end-points that expose sports data. Since sports data is very rich, the JSON representation of most of the resources on our API tend to be complex. As a result, a lot of time is spent on generating JSON in our Rails application./p pAt the time we wrote the API, a href=https://github.com/nesquena/rablRABL/a was a great choice. When a href=https://github.com/rails-api/active_model_serializ....
|
|
Connection pooling is quickly becoming one of the more frequent questions I hear. So here’s a primer on it. If there’s enough demand I’ll follow up a bit further with some detail on specific Postgres connection poolers and setting them up. The basics For those unfamiliar, a connection pool is a group of database connections sitting around that are waiting to be handed out and used. This means when a request comes in a connection is ....
|
|
Connection pooling is quickly becoming one of the more frequent questions I hear. So here’s a primer on it. If there’s enough demand I’ll follow up a bit further with some detail on specific Postgres connection poolers and setting them up. The basics For those unfamiliar, a connection pool is a group of database connections sitting around that are waiting to be handed out and used. This means when a request comes in a connection is ....
|
|
More than two years ago, a company called Nosh got quite a bit of attention for their inventive approach to the generally unremarkable 404 error page: rather than the usual, bland description or even a poor attempt at humor, the folks over at Nosh made a video, and a fantastic one at that. I won’t spoil it for you here, but I will say this: this video stands the test of time in a way that few other things from even two years ago do; it’s ju..
|
|
Junior programmers will often ask, “Which language should I use?”, “Which programming language is the best?”, and when they discover this new hip programming language that’s meant to solve all of their scaling problems, they get in your face and mock you for not using it for every single task. They will write blog posts titled “X language for Y programmers” in hopes of converting the masses to their newfound toy. Smug senior programmers ....
|
|
Junior programmers will often ask, “Which language should I use?”, “Which programming language is the best?”, and when they discover this new hip programming language that’s meant to solve all of their scaling problems, they get in your face and mock you for not using it for every single task. They will write blog posts titled “X language for Y programmers” in hopes of converting the masses to their newfound toy. Smug senior programmers ....
|
|
For better or worse — better in my opinion, but clearly worse if you looked at my bank statement — money has always been nothing more than the means to an end for me, and not a goal in and of itself. I want to have a good job where I can work hard and receive appropriate compensation after a job well done, but outside of a safety net should said job fall through, a costly, once in a lifetime opportunity arise, or an unexpected bill arrive i....
|
|
Our universe is comprised of a seemingly infinite number of rules ranging from little tidbits like magnetism and inertia, to the unchangable truths of buyer's remorse and Steam downtime occurring on a weekend. Still, there is another rule that seems to be more faithful than gravity itself: given ‘n’ public facing IP addresses, you will receive ‘n+1’ requests for their allocation. Six IPs? I'll see your six IPs and raise you seven servers.
|
|
Over the past week especially, there has been a fair bit of discussion devoted to podcasting’s so-called “Blogger moment”. In particular, John Gruber and Mike Monteiro discussed this on the latest episode of The Talk Show , and Myke Hurley and Casey Liss spent some time talking about it on CMD+SPACE 96: Not Many Original Thoughts, with Casey Liss as well. In a nutshell, the idea is that just as Blogger brought blogging to the masses in t..
|
|
Graphs are among the most interesting and useful objects in mathematics. Any situation or idea that can be described by objects with connections is a graph, and one of the most prominent examples of a real-world graph that one can come up with is a social network. Recall, if you aren’t already familiar with this blog’s gentle introduction to graphs, that a graph $ G$ is defined by a set of vertices $ V$, and a set of edges $ E$, each of whi..
|
|
Graphs are among the most interesting and useful objects in mathematics. Any situation or idea that can be described by objects with connections is a graph, and one of the most prominent examples of a real-world graph that one can come up with is a social network. Recall, if you aren’t already familiar with this blog’s gentle introduction to graphs, that a graph $ G$ is defined by a set of vertices $ V$, and a set of edges $ E$, each of whi..
|
|
Graphs are among the most interesting and useful objects in mathematics. Any situation or idea that can be described by objects with connections is a graph, and one of the most prominent examples of a real-world graph that one can come up with is a social network. Recall, if you aren’t already familiar with this blog’s gentle introduction to graphs, that a graph $ G$ is defined by a set of vertices $ V$, and a set of edges $ E$, each of whi..
|
|
At the intersection of science and fun-filled Friday nights you find neat tricks rooted in the former and potentially immensely helpful in the latter, such as this one. I still have a couple of years until I have to worry about this, but I might as well get ready now. Permalink.
|
Moving VIM .swp Files Vim has this annoying habit of creating .swp files in your current working directory when you're editing a file. I found a better way (inspired by this stackoverflow thread). To change this, create three new folders to house all your .swp files... mkdir -p ~/.vim/{backup_files,swap_files,undo_files} Then add the following lines to your .vimrc file… set backupdir=~/.vim/backup_files// set directory=~/.vim/swap_files// s..
|