Flexbox lets you lay out page elements similar to the boxes & springs approach used by other frameworks. To turn it on set style="display:flex;" wherever you'd like to use it. This can be the entire <body> or just a <div> . Flex layout will now apply to any elements within this element. You can think of these child elements like the boxes from boxes & springs. To add springs use justify-content.…
I created a diagram to better understand Unix/Linux lineage. Posting incase it's useful to others. The other ones out there were way too complicated for my purpose.
I run a timezone conversion website that has text fields for selecting the locations that you want to convert times between. There's a list of hundreds of common cities for people to choose. I created the site over 5 years ago and made a "Show HN" out of it (this was before there was Product Hunt, and even before there was "Show HN". Back then we called it a "weekend project"). The location text…
I hadn't checked out Bootstrap in a while, but came back to it this weekend while working on a side project. I re-read its getting started guide and found that their "hello world" was still too complex for my taste. It included cruft for IE8 support and required uploading extra files to my server. So I present my own, further slimmed down, version of a Bootstrap hello world example. Bootstrap…
Not an amazing article, but short enough to be worth recommending: There’s actually a good name for this in the realm of psychology. It’s called “goal disengagement,” and it’s actually a good thing when you get older. A 2011 study on the topic ... found that a willingness to give up goals that were no longer attainable actually helped decrease depression in the elderly.…
You can't fail, if you don't give up. -- Stephen in The Last Kiss It's a "deep" statement that isn't obviously true or false. There's an entrepreneur I know who has tried an idea that has clearly failed. It's failed due to a combination of it not being needed enough and other people doing it better. I don't know which is the killer of his implementation, but one of them is. This person has still…
I don't remember seeing this before at the bottom of the Craigslist posting form. I'm guessing this is the result of the Padmapper debacle? (bolding mine) Clicking "Continue" confirms that craigslist is the exclusive licensee of this content, with the exclusive right to enforce copyrights against anyone copying, republishing, distributing or preparing derivative works without its consent. For…
In the business world, the question "do you know anyone who..." must get asked thousands of times a day. Do you know anyone who... can program? Would be interested in investing? Would be a good fit for this position? Is looking for a job and has this particular skill and background? I personally get asked this question several times a week. Most of the time it's by a business contact that I'm…
I’ll always stay connected with Apple. I hope that throughout my life I’ll sort of have the thread of my life and the thread of Apple weave in and out of each other, like a tapestry. There may be a few years when I’m not there, but I’ll always come back. [Playboy, Feb. 1, 1985] I've had two personal encounters in my life with Steve Jobs. The first was in 1997 when my parents forced me to stalk him…
A few days ago, I asked one of the "grey hairs" (experienced people) at my startup: Is it better to have engineers coding features or components? Should they work on a vertical slice, a feature, that cuts through many layers in the technical stack? Or instead, should they focus on one component in one layer of the stack? I wasn't sure of the best answer, but the experienced-one recommended a…
We've been using addresses to send messages for a long time but Facebook has made them obsolete. Our "identity" is our new address. We don't need e-mail addresses, phone numbers, or IM handles anymore but address books, strangely, might still be useful. Addresses sprang from the need of identifying someone within a crowd without a central directory. Before addresses, we didn't have the crowd or…
I was inspired by Path's iPhone app to dabble in textures tonight. Here is the part of the iPhone app that I thought looked very pleasing to the eye: And after downloading a few of the packs from http://tileabl.es/ and using a technique from Game Artist to colorize the texture, I ended up with this: The rounded rectangle is intentionally different from Path's. Path's shadows give the impression…
Honor the voice of possibility that calls you. Notice what diminishes you and what brings you alive. Embrace your questions, treasures, and gifts with gratitude. Passionately commit to impossible causes. Love generously. Believe in your goodness and genius. And always - keep learning. Dr. Stephanie Pace Marshall, Spring 2007
(original publish date 6/9/09) These remarks were delivered to the 8th Group at Avery Coonley School in Downers Grove, IL on June 3rd. Dear guinea pigs, I asked my father for his sage wisdom on how to begin today, especially given his many years of experience in life and as a previous ACS graduation speaker himself. He thought for a moment with closed eyes, and then said, “Jonathan, I know how you…
I was lamenting the fact that browsing the web is not very productive to a friend and she suggested I summarize my learnings in written form, possibly posting such a composition to my blog. I decided I'll give that a try by looking through my browser history... Stopping a "fixey" bike requires using the back tire as a skid break . I read the article because I learned about the fixey trend roughly…
I'm not trying to lose weight. But I do like to drink Coke or Pepsi with meals, particularly dinners, and I know this is not particularly healthy. A close friend of mine was... and I don't think he'd mind I say this... "bulkier" back in high school. In fact, he ate fast food every day for lunch his senior year and lots of soda with those meals. However, he also happens to be one of those…
I'm writing this to fix the Dell website. It's a long shot that the site will actually get fixed due to this post, but I'll write anyways since the internet can't stop me! Dell: please give me a hierarchy not a database for buying your products (specifically monitors). A database is basically just a searchable list. Imagine walking into a car dealership. A happy salesman walks up and gives you a…
I'm one of those people who hate junk mail. Apparently there aren't a lot of people like me because I routinely see people throw their junk mail away rather than try to stop it! What I've been doing consistently for the past 2 years is making an effort to get my name and address removed from every piece of junk mail I receive. Yes, every piece of junk mail. And the results have been surprising.…
I found this data interesting, especially considering that I only placed a link to this page in two places. I also need more feedback people! Seriously! That's the only reason I posted this in the first place!