|
Saturday was a late start. Woke up with a headache, no good. It was a yuuuge dissapointment. Went to Ikea again, to start buying stuff, ended up buying a kitchen island and deciding on a set of drawers (x2). Seems like this stuff will again be donated once we move, which seems like a waste. Had dinner with B and U - curry and naan. B went off to sleep after that, U, R and I talked for a bit. B and U have it tough, but seem to be doing well ..
|
|
Friday was a relaxed but “feeling guilty” day. I lost a contract, didn’t feel so good. Ended up signing up for workify to build out a store. Decided to focus on Google Apps customization. R and I went to our old place to pick up stuff. Dropped off stuff at Goodwill and brought the rest back with a quick stop in Ikea.
|
|
Must I say anything? Murakami once again dazzles with his stunning simplicity and expansive writing ability. The novels’ looming…
|
In a previous post, I wrote that startups are collections of risks, and that the best way to make progress on a company (and to get higher valuations from investors) is to address the biggest risks as quickly and thoroughly as possible.
|
|
I was recently invited to do the keynote at the Commercial Users of Functional Programming workshop, a 15-year-old gathering which is attached to ICFP, the primary academic functional programming conference.
|
|
I was recently invited to do the keynote at the Commercial Users of Functional Programming workshop, a 15-year-old gathering which is attached to ICFP, the primary academic functional programming conference.
|
|
I went to the meeting for MBE businesses in Oakland. Then Comcast to see how to move our internet to our new address: 723 Jackson St. Albany, CA They said try plugging in a new modem to see if there’s already a connection there. If not, they’ll send out a tech to take a look. Hope it doesn’t take a week to fix the internet. Cough is better. Ritika left early today, deadline on Friday.
|
|
Earlier this year I started a new hobby - flipping things I find at garage sales, thrift stores, and even regular retail stores. Flipping essentially means I sell it elsewhere more than what I paid for. I sell most of these items on eBay, and some on Amazon, which means I need to ship these items. There are a few things I’ve found essential for shipping, and here’s a list of six of them:
|
|
The varnishhist tool is one of the most underused varnish tools that come with your standard varnish install. Probably because of how it appears at first glance. In short, you want as many | symbols as possible and you want everything far toward the left hand side. The closer to the left the faster the responses are regardless if they are cached or not. The more | symbols then more items were served from cache.
|
|
By design, Salt is not opinionated. That means that its flexibility allows you to create your own patterns and designs for concepts where it makes sense. The best practices outlined here are meant to be suggestions – not doctrine. Thus, this is a living document that evolves over time as your infrastructure’s needs change. For anything not covered under this guide, defer to Salt Best Practices . States are atomic and seldom change Stat....
|
|
By design, Salt is not opinionated. That means that its flexibility allows you to create your own patterns and designs for concepts where it makes sense. The best practices outlined here are meant to be suggestions – not doctrine. Thus, this is a living document that evolves over time as your infrastructure’s needs change. For anything not covered under this guide, defer to Salt Best Practices . States are atomic and seldom change Stat....
|
|
In the latest episode of “The Secure Developer”, I had the pleasure of interviewing Sabin Thomas, VP Engineering at Codiscope.
|
|
Posted more for my personal use (I have to look it up every time) but here is how to run a mysqldump without impacting performance on the box. It sets the ionice and nice values to be as low as possible (but still run) and uses a single transaction and ups the max packet size for MySQL. ionice -c2 -n7 nice -n19 mysqldump -u root -p DATABASE --single-transaction --max_allowed_packet=512M > FILENAME
|
|
In 2016, Facebook announced the open-source release of Yarn: an alternative client for the npm registry. While it’s true that Yarn is often much faster than other clients, and that the new lockfile ensures more consistency when your application is installed, the security claims around it are a little over-optimistic.
|
|
What's happening here! This isn't a podcast about window managers and the ways to make one. (Though we might record one in the future) It's about the architectural differences between the different ways of interacting with the system to display graphics. Be it by interacting with other layers such as X11 or higher or by directly drawing them on the screen. It's really not about how to use the functions, and the technicalities and intric..
|
|
I’ve had a few opportunities to learn that I definitely shouldn’t read comments about me (or anything really) on the Internet, but sometimes morbid curiosity gets the better of me. Firmly not learning from the past, I found myself sifting through a hundred or so of these Internet comments earlier today. The general consensus seemed to be that I’m wasting my life and I’m wrong for living in a truck. But that really confused me, because ..
|
|
I’ve had a few opportunities to learn that I definitely shouldn’t read comments about me (or anything really) on the Internet, but sometimes morbid curiosity gets the better of me. Firmly not learning from the past, I found myself sifting through a hundred or so of these Internet comments earlier today. The general consensus seemed to be that I’m wasting my life and I’m wrong for living in a truck. But that really confused me, because ..
|
|
For any of you command line code searching nerds out there, just wanted to point out the newest addition to a long line of command line filesystem search utilities. A brief, probably wildly inaccurate history goes something like this: In the before time, the long long ago, there was grep. It did recursive regex searches and was pretty powerful and effective. Sometimes you would need to pair it with find and xargs to get more precision. ....
|
|
Open DNS is a DNS resolver that caches records beyond their TTL if the upstream DNS server cannot be found. In cases like today’s major outage it can be handy to swap your DNS settings out for this, or it may be worth using as a standard default. Resolution may be a bit slow as it will try to see if the upstream server cannot be found, but it at least can get you back to a working state. If you know what you’re doing then all you need to ..
|
|
Open DNS is a DNS resolver that caches records beyond their TTL if the upstream DNS server cannot be found. In cases like today’s major outage it can be handy to swap your DNS settings out for this, or it may be worth using as a standard default. Resolution may be a bit slow as it will try to see if the upstream server cannot be found, but it at least can get you back to a working state. If you know what you’re doing then all you need to ..
|
|
On the futility of understanding Is true understanding actually possible? I use my fingers to tap out keys on a keyboard and the light from your screen hits our eyeballs, but is it reasonable to think that there is any correspondence between the patterns in my brain and the patterns that were just created in your brain? Or are we just lucky if we have the same thoughts? I used to think that if I just used the right words and asked the right..
|
|
Introduction Interfaces should only be used when their added value is clear. I see too many packages that declare interfaces unnecessarily, sometimes just for the sake of using interfaces. The use of interfaces when they are not necessary is called interface pollution. This is a practice I would like to see questioned and identified more in code reviews. Code Example Let’s look at a code example that contains questionable design choices ..
|
|
When Can Using If/Else Be Considered Unfavorable in Object Oriented Programming?
-
www.joehxblog.com
-
9 years ago
-
eng
One way using if/else would be bad design, from an OOP standpoint, is if you’re using a chain of instanceof checks instead of polymorphism.
|
|
Signals have been there since the very first version of Unix. They were just a bit different from what we know today. For many reasons in fact, they've gone through many iterations of development and ideas. Today we have one single system call to catch all signals but that only appeared in version 4 of Unix and before that there were different system calls to catch different types of signals. In version 7 of Unix signals received a symb..
|
|
There are a lot of different solutions when it comes to collecting metrics, I found myself happy with this hybrid solution. Telegraf is an agent written in Go for collecting metrics from the system it’s running on. It’s developed by Influxdata the people behind InfluxDB, but Telegraf has a lot of outputs plugins and can be used without InfluxDB. Many different platform (FreeBSD, Linux, x86, Arm …) are offered and only one single static bina..
|