News for hackers. Stuff that matters.

dhcar

Re:CSS coding techniques on Friday May 20, 2016 @01:26PM (#11739713)
The author does mention that "It is also used a lot when you are including a CSS framework with very specific rules and it’s just too hard to override them." Which seems like a perfectly valid use case for !important.

In my experience working with a lot of CSS frameworks there are times where not using !important would make the site too brittle if layout had to be changed.

When it comes down to abusing selector nesting vs using !important, use !important.

Re:A Guide to Naming Variables on Friday May 13, 2016 @12:29PM (#11691329)
I mostly agree. However, "tmp" and "temp" beg the question: "temp what?". But if you're using say node + express, and you're not using res and req - I'd have to question your sanity.
I'm in the same boat. Write speed increased 8.5x. Before, apps would take forever to load and respond. Now, it's on par with my work computer - a 2015 MBP.
Re:Raspberry Pi Zero Headless Setup on Wednesday December 02, 2015 @03:25PM (#10665554)
Thanks for posting this, I was second guessing that a simple nmap/fing and SSH would do the trick. From there you can set up a VNC and be able to tackle most tasks. Thats what I did on my Pi 2, not sure why it would be different on a zero.
Re:A letter to our daughter on Tuesday December 01, 2015 @05:49PM (#10659497)
This seems more like PR than a genuine letter to a child. Which is fine, but I wish they'd treat it as such.

They talk about facebook, donations, improving the world, their beliefs, etc. but very little on how to be a better person or how to enjoy life. Maybe I'm projecting, but what would you want to find in your pillow after moving in for your first day of college?

I hope they wrote their daughter a real letter. One directed to her and not something that will be tweeted by hundreds of news organizations.

Re:Judge: There’s no proof Yelp manipulates reviews on Monday November 30, 2015 @12:59PM (#10650708)
I've also seen this first hand, except rather than a bad review, a bunch of 5 star reviews were made invisible. 3.5 stars on yelp vs 4.8 on google. From then on I've always used google ratings instead of yelp, which also has the benefit of being integrated well into the maps app.
Re:Why I love knowing I have high-functioning autism on Wednesday November 18, 2015 @07:59PM (#10591982)
I agree. From what I've seen, when a person allows their problems to define them it leads to a negative spiral that maximizes the impact of those problems. Would you rather be introduced as "the madaxe_again with a learning disability" or "the madaxe_again, who just can't sit still", which would you rather think of yourself as? Its unfortunate that the solution is often prescription medication rather than an education that better suits their learning modality.

However, in the author's case, its obviously helpful because it gives an explanation for why she's different after spending the majority of her life not knowing.

Blaming negative societal effects on people wanting to make money is akin to blaming gravity for airplane crashes. Moreover, the people that would listen to these pleas for putting society before the dollar aren't the type that are investing large sums, and those that are investing probably don't care to listen.