|
As programmers, we have long learned that Duplication is the Ultimate Sin of programming. Even considering to duplicate something is almost unthinkable. But removing duplication introduces dependencies. If you and I use the reuse the same piece of code instead of duplicating it, changes I make may affect you. This effect can anything from beneficial (I fixed a bug you also needed fixing) to benign (I added a new feature that you’re not usin..
|
|
Before you get too worried, the title probably isn’t what you think it is. I’ve heard some strange sounds at night, things that sound vaguely like dirt bikes, drones, jackhammers, fireworks, people playing Pac-Man, you name it: if it’s unidentifiable and doesn’t belong in a parking lot, I’ve probably heard it from the back of this box. But there has been one sound I’ve heard on several occasions, usually in the morning on weekends, that u..
|
|
Before you get too worried, the title probably isn’t what you think it is. I’ve heard some strange sounds at night, things that sound vaguely like dirt bikes, drones, jackhammers, fireworks, people playing Pac-Man, you name it: if it’s unidentifiable and doesn’t belong in a parking lot, I’ve probably heard it from the back of this box. But there has been one sound I’ve heard on several occasions, usually in the morning on weekends, that u..
|
|
A while back we featured a post about why learning mathematics can be hard for programmers, and I claimed a major issue was not understanding the basic methods of proof (the lingua franca between intuition and rigorous mathematics). I boiled these down to the “basic four,” direct implication, contrapositive, contradiction, and induction. But in mathematics there is an ever growing supply of proof methods. There are books written about the “..
|
|
A while back we featured a post about why learning mathematics can be hard for programmers, and I claimed a major issue was not understanding the basic methods of proof (the lingua franca between intuition and rigorous mathematics). I boiled these down to the “basic four,” direct implication, contrapositive, contradiction, and induction. But in mathematics there is an ever growing supply of proof methods. There are books written about the “..
|
|
A while back we featured a post about why learning mathematics can be hard for programmers, and I claimed a major issue was not understanding the basic methods of proof (the lingua franca between intuition and rigorous mathematics). I boiled these down to the “basic four,” direct implication, contrapositive, contradiction, and induction. But in mathematics there is an ever growing supply of proof methods. There are books written about the “..
|
|
As you may or may not have noticed, I’ve been slowly rolling out new functionality to the site. What I’ve added so far: Box Badges Some posts have a little black box truck icon to the right of the title, which means that I was writing the post from inside the box. Since the blog is called “From Inside the Box”, it’d be disingenuous of me not to say whether or not I was actually in there while I was writing. This post, for examp..
|
|
As you may or may not have noticed, I’ve been slowly rolling out new functionality to the site. What I’ve added so far: Box Badges Some posts have a little black box truck icon to the right of the title, which means that I was writing the post from inside the box. Since the blog is called “From Inside the Box”, it’d be disingenuous of me not to say whether or not I was actually in there while I was writing. This post, for examp..
|
|
Requests for playlists have always included the full track objects contained within. This representation may be convenient for playlists…
|
|
It's been a while since I spotted The Ultimate Music Collection for Getting Work Done . Since then, I've been on the lookout for music to work to. Some favorites: B. Fleischmann - I'm Not Ready For The Grave Yet . B. Fleischmann - Pop Loops For Breakfast . B. Fleischmann - Sidonie . B. Fleischmann - The Humbucking Coil . B. Fleischmann - The Tired Sounds of Stars of the Lid . B. Fleischmann - Welcome Tourist . Bexar Bexar - Harala....
|
|
Requests for playlists have always included the full track objects contained within. This representation may be convenient for playlists…
|
|
Over the past few weeks I’ve been working on improving my slow_primes library, culminating in needing rename and the 0.2 release of primal, a Rust crate for computing properties of prime numbers with state-of-the-art algorithms , while still maintaining an idiomatic and easy-to-use interface. primal My computer takes a quarter of a second and less than 3MB of RAM to tell me that there 50,847,534 primes below 1 billion: 1 2 ....
|
|
Often when you’re tracking a metric for the first time you take a look at your average. For example what is your ARPU - Average Revenue Per User. In theory this tells you if you can acquire new user how much you’ll make off that user. Or maybe what’s your average life time value of a customer. Yet, many that are more familiar looking and extracting meaning from data median or a few different looks at percentiles can be much more meaningful....
|
|
Often when you’re tracking a metric for the first time you take a look at your average. For example what is your ARPU - Average Revenue Per User. In theory this tells you if you can acquire new user how much you’ll make off that user. Or maybe what’s your average life time value of a customer. Yet, many that are more familiar looking and extracting meaning from data median or a few different looks at percentiles can be much more meaningful....
|
|
My parking situation is very much analogous to my housing situation: I don’t quite fit in. One of the most difficult parts of my situation, one that I underestimated during the planning process, is trying to fit the silly thing in parking lots. Imagine this. It’s Saturday morning, and you’d like to run some errands. No big deal right, just hop in the car and go do them. Think again. There are two ways your scenario can play out.
|
|
My parking situation is very much analogous to my housing situation: I don’t quite fit in. One of the most difficult parts of my situation, one that I underestimated during the planning process, is trying to fit the silly thing in parking lots. Imagine this. It’s Saturday morning, and you’d like to run some errands. No big deal right, just hop in the car and go do them. Think again. There are two ways your scenario can play out.
|
|
Tales of a Part-time Sysadmin: Dogfooding Docker to test Docker
-
blog.jessfraz.com
-
11 years ago
-
eng
This is a tale about how we use Docker to test Docker. Yes, I am familiar with the meme. Puhlease. Many of you are familiar with the fact I work on the Docker core team. Which consists of fixing bugs, doing releases, reviewing PRs, hanging out on IRC, mailing lists etc etc etc. But what you may not know is that in addition to all these things I also manage our testing infrastructure. Now really this in itself could be a fulltime job. Howe....
|
|
Hacking the :visited selector to show unread posts. We'll look at the limitations and my little work-around.
|
|
I’ve mentioned in the past that I believe getting enough sleep is a key component to happiness and success. I also believe that the quality of sleep contributes to these factors. Because of this, I’ve been using an application on my phone that tracks my sleep, for the past year. Basically, you tell the application what time you’d like to wake up, and then tell it how much earlier you’re willing to be woken up. Then, you put it next to y..
|
|
I’ve mentioned in the past that I believe getting enough sleep is a key component to happiness and success. I also believe that the quality of sleep contributes to these factors. Because of this, I’ve been using an application on my phone that tracks my sleep, for the past year. Basically, you tell the application what time you’d like to wake up, and then tell it how much earlier you’re willing to be woken up. Then, you put it next to y..
|
|
Learning Go was in my TODO list for a while, and finally I did something about it. This post contains some thoughts about it…
|
|
As I’ve talked with more and more people about my living situation, I’ve noticed a few questions that come up all the time. I’m going to answer them here in full, gory detail. How do you go to the bathroom at night? Do you just pee in the woods? As cool as it would be, my life is not an episode of Man vs Wild . I do have 24 hour key card access to any building on the campus that I work at, so I could use the facilities in there if ..
|
|
As I’ve talked with more and more people about my living situation, I’ve noticed a few questions that come up all the time. I’m going to answer them here in full, gory detail. How do you go to the bathroom at night? Do you just pee in the woods? As cool as it would be, my life is not an episode of Man vs Wild . I do have 24 hour key card access to any building on the campus that I work at, so I could use the facilities in there if ..
|
|
This is another post on philosophy, take that as you will. I went out with a couple of co-workers last Friday, and naturally the conversation eventually ended up on my living situation. I’ve been continually surprised at how receptive people are to the whole concept of living in a car, normally once I explain all of my motivating factors. Mainly, I get a lot of “ That’s really great! I personally could never do something like that, but p..
|
|
This is another post on philosophy, take that as you will. I went out with a couple of co-workers last Friday, and naturally the conversation eventually ended up on my living situation. I’ve been continually surprised at how receptive people are to the whole concept of living in a car, normally once I explain all of my motivating factors. Mainly, I get a lot of “ That’s really great! I personally could never do something like that, but p..
|
|
With all the new technologies emerging for cloud migration, there is a wide acceptance that cloud services are the cheapest, and best way to manage some kinds of infrastructures. Nevertheless, on the decision on wether we should migrate into cloud must still be analysed in other ways. That’s why the current Milk-as-a-Service analogy is great, as it illustrates the downfalls of moving to cloud, and the exact situation on wether you need a mi..
|
|
I spent the last couple days in Paris with a bunch of smart architects and developers who are about to deal with a complex Monolithic-to-Microservices architecture transition. On my flight back to Italy I jotted down a few thoughts on the topic and then, this morning, the first thing that comes up on my newsfeed is Monolith First by Martin Fowler. Stunning, because the essay content totally resonates with my own notes, so much that it w..
|
|
After trying and playing some new stuffs(except M preview) released in Google I/O, I have found some trivial things to take care of. In the first part of the series I will talk about Snackbars.
|
|
With all the new technologies emerging for cloud migration, there is a wide acceptance that cloud services are the cheapest, and best way to manage some kinds of infrastructures. Nevertheless, on the decision on wether we should migrate into cloud must still be analysed in other ways. That’s why the current Milk-as-a-Service analogy is great, as it illustrates the downfalls of moving to cloud, and the exact situation on wether you need a mi..
|
|
After trying and playing some new stuffs(except M preview) released in Google I/O, I have found some trivial things to take care of. In the first part of the series I will talk about Snackbars.
|
|
It was a great read I must say! Packed with conspiracy and alternate history while remaining true to the facts of Lincoln’s life…
|
|
Eight little things I like to nitpick about in code. Mostly applicable to Java, but some are language-neutral.
|
|
Ok, so I have a confession: this is the first post that I’m actually typing up FromInsideTheBox . By the magic and miracles of modern technology, I’m actually able to access the internet by tethering to my cellphone. I’ve already talked about how this place is starting to feel like home, but I think calling it a dorm room, as someone said to me today, is much more appropriate. It even looks like one (see the picture above for the current s..
|