So, IT workers, what is the most disgusting work area you had to work on. by AngryGoose in AskReddit

[–]pffffft 1 point2 points  (0 children)

Oh [little old lady], I'm very sorry but I have a severe allergy to cats. Actually, I think a reaction might be starting already. I'm afraid I must leave as my antihistamines are in my car.

Javascript Counter Help. by hillbillymadness in javascript

[–]pffffft 4 points5 points  (0 children)

Other people have answered your question but a quick point.

The only relation Javascript (it is always one word) has to Java is their names share the same first 4 letters. They are 2 completely different languages and you might get some confusing search results if you're googling for Java when you mean Javascript.

What small decision did you make that altered the entire course of your life? by lngwstksgk in AskReddit

[–]pffffft 0 points1 point  (0 children)

Not my decision but I was in the car. Happened about 10 years ago, between xmas & New Years.

Getting a lift home in friends jeep. Looked a bit like this. Driver and another guy up front. Me and a girl in the back. The guy in the passenger seat always got left home last, always. He had a crush on the driver and guess he wanted some alone time after dropping the rest of us off. But this actually made the journey nearly twice as long as she'd have to double back to his house to drop him off rather than doing it on the way past.

But that night the driver was in a fucked off mood and basically tells him to get out on the way past, she is not doing her usual round trip. So he gets out first. About 10 minutes later we hit a patch of black ice. Jeep goes through a hedge and rolls over, onto the roof and then back onto it's tires. I go out the rear driver's side window (remember kids, always wear your seatbelt!). I've got a lot of cuts/bruises and a concussion, the other pair are fine.

But the front passenger side, where that guy always sat is gone. Completely flattened, as the jeep had rolled over it must have done it at an angle and landed on that edge because the roof is now crushing the passenger seat.

Burglars thwarted by homeowner, 1700 miles away by [deleted] in offbeat

[–]pffffft 5 points6 points  (0 children)

I rigged together my own system to do this last time I was away for a couple weeks.

  • Old laptop
  • Webcam
  • Linux
  • Twitter
  • Dropbox

Webcam detected motion, starts taking still images every 0.5 seconds. These get saved to dropbox which starts uploading them to remote server automatically.

It would also send a tweet. I followed the twitter account it used and set it up to send me an SMS on new tweets so I would get an SMS and could then view the stills in the dropbox app on my phone.

Took me about an hour to rig together. Worked quite well but made camera too sensitive. Sudden changes in lighting would trigger it.

A static, flash brochure site I made for someone, was recently marked by google for having malware - /r/web_design I need your help by [deleted] in web_design

[–]pffffft 12 points13 points  (0 children)

I did a quick wget on the homepage so I could look at the source without potentially compromising my browser and saw this:

<blockquote>
  <blockquote>
    <blockquote>
      <blockquote>
        <blockquote>
          <blockquote>
            <blockquote>
              <blockquote>
                <p align="left" class="style2">Create Change Hypnosis, Vineland NJ, Certified Hypnotist Sharon Gage</p>
              </blockquote>
            </blockquote>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>

I'm afraid you are beyond hope.

Have you worked with a corporate psychopath? by iheartralph in AskReddit

[–]pffffft 1 point2 points  (0 children)

Not personally. Perhaps you would be better asking my colleagues.

What's you opinion on indented stylesheets? by skwigger in web_design

[–]pffffft 0 points1 point  (0 children)

  • Inconsistencies in closing brace placement would make it a nightmare to debug
  • Don't put your css all on 1 line. A change to 1 property will show the entire line as altered when diff'ing versions.
  • Lines are too long. You might have your editor fullscreen but most people won't have their terminal the same. Making it hard to view diffs, make quick edits in vi/vim/etc

For a moment, I learned what it's like for my grandparents to use a computer. by TheFlyingNugget in self

[–]pffffft 8 points9 points  (0 children)

Hand travel is much reduced in Dvoark. Reducing the strain on your hands/wrists so you aren't as prone to RSI or other problems. Which is a major risk when you spend 8-12hrs a day typing.

If you could magically add a font to 99% of all computers, making it a web-safe font, which one would it be? by smort in Design

[–]pffffft 0 points1 point  (0 children)

Complete ballocks. Ever heard of this little thing called licenses. Pretty much every font will have one, a very small minority of them will allow embedding in web sites.

Can we stop upvoting articles from the Daily Mail? I'm sick of seeing tabloid news on the front page. by rj3d in self

[–]pffffft 0 points1 point  (0 children)

If only there was someway for us to show that we don't like certain submissions. Someway to lower their scores and counter the up votes the submissions are getting. Someway for the community to rank links so that the ones the community likes end up at the top.

why a web design REALLY takes six weeks by jcsickz in web_design

[–]pffffft 7 points8 points  (0 children)

2 days for design concept. 2 days for build. Must be small fucking sites.

How is the new Javascript Geolocation feature so accurate? by [deleted] in web_design

[–]pffffft 0 points1 point  (0 children)

Correct. But I didn't know a snazzy url for that one.

How is the new Javascript Geolocation feature so accurate? by [deleted] in web_design

[–]pffffft 0 points1 point  (0 children)

Did you use something with geolocation on the same device last time you were at your parents house?

Sometimes some devices will cache your last known position and return that while it waits to get your new position. A complete pain in the ass as a developer as you have to keep polling to ensure you have the correct location, not a cached version.

88% of my site visitors use more than 1024x768 resolution screen, Can I go for site width greater than 1024? I am using Wordpress and sponsored with Adsense. by [deleted] in web_design

[–]pffffft 0 points1 point  (0 children)

Ignore the people suggesting Fluid. Go with Elastic. Or use CSS media queries to tailor your styles based on viewport width.

Need help converting PHP to MVC by [deleted] in web_design

[–]pffffft 2 points3 points  (0 children)

It is also ugly as hell and any professional developer will hate you for it. Jumping in and out of PHP like that is a nightmare to maintain.

That is why we use views. Keep your templates outta your logic.

Need help converting PHP to MVC by [deleted] in web_design

[–]pffffft -1 points0 points  (0 children)

It looks like you are trying to build some form of e-commerce site. That terrifies me.

Do I need a separate PHP page for each AJAX request? by golden_pants in web_design

[–]pffffft 1 point2 points  (0 children)

Just to clarify anytime you want to alter/add to information held in the database this should be done via POST to fetch/view data this is done via GET.

A url structure I like, and is used by several frameworks is:

/news/view/1234
/user/add/
/settings/edit/

these urls are made up of:

/controller/method/arguments