|
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..
|
|
Incredible video by Gary Turk teaching the value of living life outside of the narrow world within our smartphones, tablets, and laptops. Take a few minutes to watch this; I do not feel out of place saying that it just might change your life. Truly remarkable work. Permalink.
|
|
Relative to last week’s , and compared to the week prior’s , another relatively short list this time around, unfortunately. But, as I have said before, volume and quality are rarely linked: I will never pad these out with shows of dubious value just to reach an arbitrary length. This is a curated list of the best podcasts I discovered within the last week, and so it will forever remain. Permalink.
|
|
Combining Bloom Filter Offloading and Storage Indexes on Exadata
-
tanelpoder.com
-
12 years ago
-
eng
Here’s a little known feature of Exadata – you can use a Bloom filter computed from a join column of a table to skip disk I/Os against another table it is joined to. This not the same as the Bloom filtering of the datablock contents in Exadata storage cells, but rather avoiding reading in some storage regions from the disks completely. So, you can use storage indexes to skip I/Os against your large fact table, based on a bloom fil....
|
|
Combining Bloom Filter Offloading and Storage Indexes on Exadata
-
tanelpoder.com
-
12 years ago
-
eng
Here’s a little known feature of Exadata – you can use a Bloom filter computed from a join column of a table to skip disk I/Os against another table it is joined to. This not the same as the Bloom filtering of the datablock contents in Exadata storage cells, but rather avoiding reading in some storage regions from the disks completely. So, you can use storage indexes to skip I/Os against your large fact table, based on a bloom fil....
|
|
Although I don’t watch television, I’ve been watching the episodes of The Goldbergs online because it’s absolutely hilarious and I relate to a lot of the stuff in it from my own childhood experiences. The final episode of season 1 was this week, and it starts off by talking about how the father never bragged about past events (no matter how cool), and would occasionally say something that totally made you think you knew nothing about him ;..
|
|
Although I don’t watch television, I’ve been watching the episodes of The Goldbergs online because it’s absolutely hilarious and I relate to a lot of the stuff in it from my own childhood experiences. The final episode of season 1 was this week, and it starts off by talking about how the father never bragged about past events (no matter how cool), and would occasionally say something that totally made you think you knew nothing about him ;..
|
|
There are many subtle joys associated with working almost exclusively in the command line all day: tab completion, a simple interface, and unix pipes . Like general command-line mastery, learning how to wrest unix pipes to your best advantage can translate into a wide variety of benefits. Don't get me wrong, when you need a scripting language, use a fully fledged scripting language – bash isn't going to juggle diverse data types and c....
|
|
A MadJS meetup presentation with live coding. I talk about and show you how to make use of the most interesting portions of the W3C File API, including image and video file dropping & processing. Part 1 of 2.
|
|
A MadJS meetup presentation with live coding. I talk about and show you how to make use of the most interesting portions of the W3C File API, including image and video file dropping & processing. Part 2 of 2.
|
|
As some of you may know, Lemma has an interactive dialogue system that lets you exchange text messages with an AI character. I implemented every conversation manually in code (well, scripts ) until this week, when I got fed up and decided to automate the process! Like the last article in this series , my system has all the hallmarks of a Poor Man's solution: developed in-house, tailor-made, simple, and based on free and open so..
|
|
As a Feed Wrangler subscriber myself, I’m glad to hear that this has not only become a profitable and sustainable business for David Smith, but an intellectually fulfilling one as well full of many more potential avenues of exploration. Feed Wrangler is right now at the cusp of its Instapaper 4 moment, right after Marco Arment sold the service to Betaworks: very much in need of improvements that it will undoubtedly receive in short order an..
|
|
A lot’s happened with Gastropoda over the last few days, but progress on new features has slowed down because I’ve started working slightly differently. Instead of just porting everything from the JS version as quickly as possible I’ve started prototyping features and then going back and improving the implementation after each new thing is in. I get pretty impatient wanting to move on to the next feature as fast as possible, but taking the ..
|
|
Yes — I agree with everything in this article from Sid O’Neill, from the lessons that ought to be applied generously when driving during the winter to the appropriate etiquette on the internet. We could all benefit from slowing down a little and realizing that everyone else has as many problems as we do, and that completely disregarding the validity of another’s existence, much less the validity of the challenges they face every single day,..
|
|
There are two types of background tasks that you'd want to use in .NET. Long running tasks which include things like background services…
|
|
There must be something in the water — over the last few months, a surprising number of writers have gone independent, each with varying degrees of success: first Brett Terpstra , then Matt Gemmell , followed by Sid O’Neill and Ben Thompson soon after. Personally, I think this is wonderful: these great writers have left their distracting nine-to-five jobs to focus on the thing they love and that I love to read; fantastic. However, two..
|
|
Late last month, Federico Viticci wrote a great article about his iOS 8 wishes. I agreed with some of his suggestions, disagreed with the necessity a few, and consider still others a bit too niche for Apple to have focused much time and energy, if any, on over the last twelve months. By the end of his piece, I had decided to write out my own list in preparation for WWDC, as we all begin to turn our attention towards the impending unveiling ..
|
|
After getting an intense look at Docker last night, I firmly believe that it is going to be the most disruptive server technology that we've seen in the last few years. It fills a much needed hole that's currently managed by very expensive solutions and it's being actively funded by some of the biggest players in the market.
|
|
After getting an intense look at Docker last night, I firmly believe that it is going to be the most disruptive server technology that we've seen in the last few years. It fills a much needed hole that's currently managed by very expensive solutions and it's being actively funded by some of the biggest players in the market.
|