|
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..
|
|
To ensure the product being built is usable, with reasonably acceptable performance, we need to ensure the product is designed, built and validated from each of these Non-Functional Requirements perspective.
|
|
While User Experience is generally regarded and defined for the web, it really appears all around us. Driving to work is an experience, as is boiling a kettle, even sitting on a chair is an experience. Whoever is having the experience is the user.
|
|
We’ve been spending a lot of time looking at performance for one of our enterprise customers. As part of the investigation he came up with an interesting and very important find… He found that hashMap.get("String") was much slower under the new VM than under the old VM. It’s these sort of “simple” finds that help narrow down bigger issues in performance that might impact a lot of things in Codename One, since HashMap is so ubiquitous ..
|
|
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 ....
|
|
Development team level agility is relatively well understood. Better engineering techniques and delivery process allow us to achieve greater performance at the level of development teams. However, this doesn’t go far enough to redeem the reputation of IT in the eyes of the business. Team level agility is necessary but not sufficient for overall IT responsiveness which is often constrained by a deficit of organizational agility. So what is ..
|
|
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.
|
|
The web is not print. I'm definitely not the first person to write about this. Just google that phrase and you'll find pages of articles that revolve around…
|
|
Update, July 24, 2026: JavaScript builds are now open source, available on every account tier, and buildable locally without a Codename One account. The original post below is preserved as published. See the current announcement . The JavaScript port is nearing beta stage which will start next week it’s already added support for most API’s including SQL support and many other features. Once the JavaScript port is in beta it will bec..
|
|
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..
|
|
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..
|