|
The Problem with Cropping Every programmer or graphic designer with some web development experience can attest to the fact that finding good images that have an exactly specified size is a pain. Since the dimensions of the sought picture are usually inflexible, an uncomfortable compromise can come in the form of cropping a large image down to size or scaling the image to have appropriate dimensions. Both of these solutions are undesirable.
|
|
The Problem with Cropping Every programmer or graphic designer with some web development experience can attest to the fact that finding good images that have an exactly specified size is a pain. Since the dimensions of the sought picture are usually inflexible, an uncomfortable compromise can come in the form of cropping a large image down to size or scaling the image to have appropriate dimensions. Both of these solutions are undesirable.
|
|
The Problem with Cropping Every programmer or graphic designer with some web development experience can attest to the fact that finding good images that have an exactly specified size is a pain. Since the dimensions of the sought picture are usually inflexible, an uncomfortable compromise can come in the form of cropping a large image down to size or scaling the image to have appropriate dimensions. Both of these solutions are undesirable.
|
|
John Siracusa in the opening paragraphs of his article Fear of a WebKit Planet with a few atypical sentences characterizing the traits so many came to love of the former Hypercritical co-host: “As someone whose memory of perceived past technological betrayals and injustices is so keen that I still find myself unwilling to have a Microsoft game console in the house, my lack of anxiety about this move may seem incongruous, even hypocrit..
|
|
I’ve looked deeply into SquareSpace. I know a lot about Shopify. I had this site running on MovableType, and tons of other CMSs — but at the end of the day I realized that WordPress works fine and I need to concentrate on the things readers will actually notice.” Permalink.
|
|
TechCrunch has this article on AirPair today with a nice quote about me. This is my first ever mention on TechCrunch (but hopefully not my first and only!).
|
|
Here’s a quick anaconda solution that I am now using in some of my kickstart files… I wanted to bootstrap a machine and do all the partitioning and logical volume creation, but not format or mount one of the logical volumes. The magic parameter I needed was: --fstype=none This seems to work perfectly for me. It’s not 100% intuitive to me, but it does work. I hope it’s not an accidental bug in the anaconda code! The full text of ..
|
|
Here’s a quick anaconda solution that I am now using in some of my kickstart files… I wanted to bootstrap a machine and do all the partitioning and logical volume creation, but not format or mount one of the logical volumes. The magic parameter I needed was: --fstype=none This seems to work perfectly for me. It’s not 100% intuitive to me, but it does work. I hope it’s not an accidental bug in the anaconda code! The full text of ..
|
|
A typeface’s readability is about far more than just one cosmetic attribute.” Something to keep in mind next time you design a website with Arial or Helvetica. You don’t even have to buy a font from TypeKit: go to Google Web Fonts and pick something suitable from there — anything to make your site more readable and set yourself apart from everyone else is an excellent choice. Remember, though, that the first job a font should be employed ..
|
|
I think I just solved a very first world problem - Where to find the nearest takeaway that sells fried chicken. When you are stumbling out of Spiders at 1am in the morning and craving some SFC goodness the last thing you want to do is wander the backstreets of hull in the cold looking for an open ta...
|
|
I think I just solved a very first world problem - Where to find the nearest takeaway that sells fried chicken. When you are stumbling out of Spiders at 1am in the morning and craving some SFC goodness the last thing you want to do is wander the backstreets of hull in the cold looking for an open ta...
|
|
John Gruber in an exceptional article posted to Daring Fireball a few days ago. Not only a phenomenal piece on the history of the computing industry and the “open versus closed” argument but also an extraordinarily well-written piece — a reminder that I still have far to go. “The Mac’s resurgence had nothing to do with being more open, and everything to do with improved quality: a modern operating system, well-designed software, and har..
|
|
The Magazine isn’t successful because I have red links, centered sans-serif headlines, footnote popovers, link previews, and a white table-of-contents sidebar that slides over the article from the left with a big shadow even on iPhone. It isn’t successful because authors write in Markdown, the CMS gracefully supports multi-user editing, we preview issues right on our devices as we assemble them, and any edits we make after publication are q..
|
|
To adopt Ben Brooks’ practice of posting interesting tidbits as he comes across them as a “Quote of the Day”, I found this gem while scrolling through my twitter stream yesterday: “Everything I write feels like something I read somewhere else first.” Permalink.
|
|
Book 3, chapter 23 When Paul declares that we were chosen in Christ before the foundation of the world (Eph. 1:4), he certainly shows that no regard is had to our own worth; for it is just as if he had said, Since in the whole seed of Adam our heavenly Father found nothing worthy of his election, he turned his eye upon his own Anointed, that he might select as members of his body those whom he was to assume into the fellowship of life.....
|
|
Book 3, chapter 23 When Paul declares that we were chosen in Christ before the foundation of the world (Eph. 1:4), he certainly shows that no regard is had to our own worth; for it is just as if he had said, Since in the whole seed of Adam our heavenly Father found nothing worthy of his election, he turned his eye upon his own Anointed, that he might select as members of his body those whom he was to assume into the fellowship of life.....
|
|
In my last post simply titled Outbox I linked to an article by Laura June of The Verge in which she raised a number of doubts as to the practicality of Outbox, including the potential legal troubles the startup could run into given that opening its users’s mail is an integral part of the startup’s business model. I glossed over those concerns in my last post; however, I feel they do merit some discussion. Permalink.
|
|
For $4.99 a month, you sign up online for an Outbox account (they also have apps), and then an Outbox employee comes to your house, picks up your mail, takes it back to Outbox HQ, opens it, scans it, and gives you access to it via your account. From there, you can ”unsubscribe“ from junk mail, and request to have your mail ”delivered“ to your house (even though it was definitely already delivered once, the other day).” After reading Laura..
|
|
Every selector you write is additional complexity that will need to be maintained. Can you generalize or abstract that selector so other components can use it? Write your CSS selectors to be as concise as possible Write your CSS selectors to be as performant as possible, efficient as possible and even more efficient Don’t overqualify your CSS selectors Use the lessons learned in “Object-Oriented” CSS Make use of the child selector to ....
|
|
I was chatting with a colleague the other day and he was asking me why code search is a difficult problem. After all its not quite as dynamic as the web so it should be easier to index. In truth its a mixed bag. Some things like like crawling are easy, others such as indexing are much harder then you would think. I thought I would write down why this is.
|
|
It is done! Well ok, it is very far from done. It’s as far from done as far from done yet functional can be. It’s messy, buggy, untested, and the score calculations are all weird. But it works and it makes you want to throw things through windows when you play it.
|
|
In this post we’ll expand our toolbox of proof techniques by adding the proof by contradiction. We’ll also expand on our knowledge of functions on sets, and tackle our first nontrivial theorem: that there is more than one kind of infinity. Impossibility and an Example Proof by Contradiction Many of the most impressive results in all of mathematics are proofs of impossibility. We see these in lots of different fields. In number theory, plent..
|
|
In this post we’ll expand our toolbox of proof techniques by adding the proof by contradiction. We’ll also expand on our knowledge of functions on sets, and tackle our first nontrivial theorem: that there is more than one kind of infinity. Impossibility and an Example Proof by Contradiction Many of the most impressive results in all of mathematics are proofs of impossibility. We see these in lots of different fields. In number theory, plent..
|
|
In this post we’ll expand our toolbox of proof techniques by adding the proof by contradiction. We’ll also expand on our knowledge of functions on sets, and tackle our first nontrivial theorem: that there is more than one kind of infinity. Impossibility and an Example Proof by Contradiction Many of the most impressive results in all of mathematics are proofs of impossibility. We see these in lots of different fields. In number theory, plent..
|
I have been reading quite a few posts lately concerning the topic of becoming a ‘technical co-founder’ of a startup. Just search for the…
|
|
Well, the toughest part of the move is complete. I’m sitting in the kitchen of the new apartment (which is so much more awesome and homey than the old apartment), drinking Silver Needle white tea (a consequence of my aforementioned tea craze) and trying to convince myself to do at least some work on the rhythm game tonight. Although to be honest it’s 10:43pm and I’m falling asleep on this extremely comfortable kitchen stool right now, so it..
|
|
In reply to rhettinger. At bottom I found my mistake: super(self.__class__, self) We dont need to write class name more then once.
|
|
From MapReduce to realtime This post covers much of the Near-Realtime Processing Over HBase talk I’m giving at ApacheCon NA 2013 in blog form. It also draws from the Hadoop, HBase, and Healthcare talk from StrataConf/Hadoop World 2012. The first significant use of Hadoop at Cerner came in building search indexes for patient charts. While creation of simple search indexes is almost commoditized, we wanted a better experience based on clinica..
|
|
Ah the linkblog. Although not the genesis of the format , John Gruber is often credited with the advent of this extremely pervasive practice and its widespread adoption over the years, a propagation that has continued despite the resurgence of its detractors every few months. Nevertheless, in spite of those dissidents, many writers have built a business around this model. Today, I would like to focus on one in particular: Shawn Blanc. P..
|
|
Here's a post about my recent experience with the new AirPair service connecting entrepreneurs with technology experts.
|
|
Lettura interessante se state cercando quello giusto fra le decine di front-end framework disponibili. I love the way how each and every discussion turns into the war of the frameworks. I have worked with BackboneJS and AngularJS quite extensively and have come across most of their short comings in production. So, you dont really have to take this analysis with a grain of salt. I would be happy to take back anything that I have said if ..
|
|
Naming a class AbstractThing violates the Liskov Substitution Principle, and causes client code to read wrong. Call a class a name which you'd be happy to call any of the objects belong to the class. If you want to borrow your friend’s phone, and you’re not sure what brand it is, how many times have you asked “Excuse me mate, can I borrow your abstract phone? Cheers.” Object-oriented modeling and programming allows certain classes of ob..
|
|
Recently we ported Discourse from CoffeeScript to plain old Javascript . The process was straightforward since CoffeeScript spits out fairly good Javascript, although I did have to spend the better part of a day cleaning it up afterwards . (Note: we’d love any patches to further tidy up the generated Javascript.) One thing that CoffeeScript does by default that’s nice is it wraps everything in an Immediately Invoked Function Expression ..
|
|
For the past two months I've been reading about SDR and everything related to radio telecommunications. For those that don't know what SDR is (and are too bored to click the previous link), Software Defined Radio is a system that implements hardware subsystems of a typical radio in software. People have been designing their own SDRs with FPGAs for quite some time now, but in the last year there has been a huge "revolution". It turns out..
|
|
Members contribute nearly half of this site’s income. Which means there is no way I could be writing here as my full-time gig without the generous support of the members.” With a month left in Shawn Blanc’s membership drive he announced an additional incentive to the existing membership perks: prizes. Worth an aggregate of more than $3,000, these prizes are a great way to encourage readers on the fence about whether to become a member or ..
|
|
This week is shaping up to be full of crazy. Not only do I still have to finish my February One Game a Month submission, but just a couple of days ago I found out I’d have to pull off a move. The apartment now looks like a bomb went off as I stuff things into what empty boxes we have left and garbage bags. I’m trying to get as much as I can done over the weekend so that I don’t have to pull packing, cleaning, and JavaScript all-nighters on ..
|
|
So I've just been one of the earliest progragrammers to get involved with AirPair . It's a service that pairs entrepreneurs with technology experts for code review and pair programming sessions to help them with their coding projects. I did some google hangouts with an entrepreneur who built his own Ruby on Rails app that analyzes geology data files for oil & gas companies and is just starting to port it over to node.js. There's a youtu..
|
|
Reclining airplane seats are a terrible idea and should be banned
-
www.slate.com
-
13 years ago
-
eng
We paid for these goddamn seats, and we’ll recline them if we want to.’ So then everyone was angry: I was angry because I had no room, and she was angry because I passive-aggressively kicked her seat once every 15 minutes — often enough to be annoying, but not often enough to definitely be on purpose.” Funny how such a little thing could become such a bone of contention to so many people. Having spent days in airports and on numerous long..
|
|
As I fill the last jar with sweet summer pears I ponder for a second. Why do all this work when I could buy it? Well the truth is I don’t like money. I’m not good with it. Thats why I’d rather work for my food. I know I’ll never be a rich man, I’ll never own anything of great expense, but I have everything I need, I don’t want for much more than this. I have pears in a jar.” Permalink.
|