News for hackers. Stuff that matters.

andyford

Re:Lego Ideas Boeing 747 Cockpit Achieves 10k Supporters on Tuesday February 08, 2022 @04:21PM (#30264874)
It's one guy with a Lego fan hobby blog. Not everything needs to be Web Scale all the time
As much as I like dunking on Amazon and Bezos, I can't help but wonder if this could be applied to brick and mortar stores where you go in and ask for help finding something and they pitch you the product that's best for their sales commission
Re:Netlify Drop on Wednesday November 17, 2021 @03:00PM (#29258158)
Bet on Eleventy... the creator of it works for Netlify
how to get to moon without a rocket: 1. go to moon and install thin wire on moon and dangle it toward earth 2. use a rocket to reach wire
Re:Memoirs of an Ass on Friday March 16, 2018 @03:51PM (#16603537)
oops. one of the homepage links points to their dev site http://theparisreview.tierradev.com/interviews/6806/the-art-...
Re:Shoelace.css – A back to the basics CSS starter kit on Tuesday August 01, 2017 @05:20PM (#14905470)
I'm glad to see another viable CSS non-framework and Shoelace looks very promising. I haven't put it through its paces yet, but found a nitpicky thing... why have a "table td" selector? You can't have a td outside of a table anyway. This is top of mind for me because I was just grappling with Bootstrap's lovely specificity nightmare ".table > tbody > tr > td"
Re:Stepping down as Nodevember organizer on Tuesday September 06, 2016 @09:07AM (#12435672)
one, two and zero are all numbers.
Re:Rare Video Captures Sperm Whale in Deep Sea on Thursday April 16, 2015 @09:20AM (#9387708)
rare video indeed
Re:Submarine Cable Map 2014 on Friday August 29, 2014 @11:45AM (#8243021)
Totally awesome. But can't buy the wall map until they fix the "asterix" typo!
Re:YUI Library relaunches with snappy UI on Thursday August 25, 2011 @04:22PM (#2926287)
Whooo! Thank goodness!!! We needed more YUI URLs!
Re:The Shapes of CSS on Friday August 12, 2011 @07:53PM (#2879739)
The moment before your code looks like this, you use Sass.
Re:535 ways to reload the page with JavaScript on Wednesday August 10, 2011 @07:50PM (#2870737)
I can hear it now... "but how do I do it in jQuery?!"
Re:Alternative jQuery Documentation on Thursday June 02, 2011 @05:48PM (#2614148)
Re:Top Programming Fonts on Wednesday May 25, 2011 @05:58PM (#2585728)
The lowercase 'e' in Monofur is a deal breaker. Too reminiscent of italics. And the mixed baseline numerals don't help either. Otherwise it's pretty nice. Of the 10, Inconsolata deserves to be #1.
Re:Ask HN: What podcasts do you watch regularly? on Monday April 04, 2011 @11:04AM (#2406728)
For the OP (and HN readers in general), I recommend Founders Talk - http://5by5.tv/founderstalk. But make sure to check the list of all the shows - http://5by5.tv/broadcasts - lots of good ones.
Re:Why designers need to stop moaning about 99designs.com on Monday March 28, 2011 @10:03AM (#2378369)
This is missing the point. The problem isn't that some designers are losing work to 99designs. The problem is that spec work devalues the entire design industry.
Re:Ask HN: Anyone have a really smart way to organize css? on Monday March 28, 2011 @01:00AM (#2377208)
Like many of the other commenters, I break the code into reset, global elements, layout, modules/blocks, and then special overrides if any.

I'll admit it's a personal preference, but as a team consideration I don't recommend the 'all properties on one line' approach. It's discouraged in other languages so why do it in CSS?

Definitely check out OOCSS as well as the Natalie Downe talk both posted by in the comments already.

I can't overstate how highly I recommend Sass/SCSS. It's been mentioned already as "for Ruby". Yes, you need Ruby installed to use Sass/SCSS but you do not need to be working on a Ruby project to use it. You can run "sass --watch (directory name)" from the command line and sass will automatically compile your .scss (or .sass) files to .css files upon save. Even if you're scared of the command line I assure you, it's easy! If you're a TextMate user, there's also a great SCSS bundle here: https://github.com/kuroir/SCSS.tmbundle (it was enough for me to abandon CSSEdit for good)

One thing that hasn't been discussed in this thread yet is the organization of properties within a declaration block. It's a good idea to have an approach and stick with it. Alphabetizing the properties is one approach. I wrote about my preferred approach a couple years ago here: http://fordinteractive.com/2009/02/order-of-the-day-css-prop... (also check out the SitePoint discussion linked in the "Further Reading" section of the post)

"iOS is far less usable and powerful than Android, but people like it more because it's visually pleasing."

I'd argue that iOS is far more usable than Android in addition to being visually pleasing.