Live data from Hacker News

Developing When Your Computer is too Fast

dustin.github.com

21–30 of 32 posts

Re: Developing When Your Computer is too Fast

#21

Wouldn't all this depend on your target customers? If your target customer is big business that have fast computers you are okay. If your customers are average joes, then yes I would say you should have a test environment in place that closely represents those customers. Even after all that the question I have is which set of customers brings in the most money for you? Lets say you have a mix of big business that run…

Incidentally, as a webdev who targets big businesses, they in fact usually have -slow- computers. Javascript in IE 6 is pokey, and typical use-cases of Outlook and Excel don't need much firepower.

A joe-blow at home on the other hand is either at least at the "corporate" level, or even higher for gaming or media-centering.

Re: Developing When Your Computer is too Fast

#24
I appreciate this sort of software, since our development and production hardware has vastly different performance profiles.

Development is on fast intel single or dual core machines with slow disks and production is slow many core sparc machines with fast disks.

Re: Developing When Your Computer is too Fast

#25
post #10
post #4

Fun, but the good thing about slow computers is that they're also the cheapest; it's far more economical to just buy an old box for a couple hundred dollars (or even cheaper).

Sure, but then I have to carry around another computer or two when I want to work within a particular assumption. Now, I can say, ``What if this box were really slow to respond to network requests 10% of the time?'' and just do it.

Carry around, repair, keep patched, etc. It's only cheap if your time is cheap.

Re: Developing When Your Computer is too Fast

#26
post #16
post #2

Great work, but I think a library to do the opposite would be more useful.

... to make your computer go faster than it really is? That WOULD be pretty useful. Or are you merely talking about libraries that do optimization for you?

The former!

Re: Developing When Your Computer is too Fast

#27
post #5

I have been programming since the late 80's and one thing I learned early was to always develop (or at least extensively test) on older hardware. My primary work machine is usually a generation or two old. At present I code on a T42 Thinkpad and there is a new T60 waiting to take over in a couple months. If you're forced to develop in a "slow" environment you learn to optimize your code from the get go, all the time.…

I also started programming in late 80's, and I use that technique too. Currently, my netbook is more powerful than my primary laptop. :-)

My laptop is also able to variate CPU clock speed from 2GHz to 200MHz. It makes me easy to execute CPU-bound benchmarks of my programs.

Re: Developing When Your Computer is too Fast

#28

Earlier quoted context omitted.

I see. Does HN say somewhere that "anything you submit can be used for commercial purposes by YC startups"?

Interesting point, I googled for 'who owns copyright blog comments' and found this (Google cache, the site itself is down): http://webcache.googleusercontent.com/search?q=cache:6GfoIFr... I'd like to hear if anyone else agrees or disagrees with this article (it seems to be a bit of a grey area).

I think it was when talking to Jonathan from Plagiarism Today (http://www.plagiarismtoday.com) that I was told that forum posts should be regarded as the authors' own, legal copyright property. I may have some old notes on this around that I can dig up.

Some forums (and sites like YouTube) write some Terms of Use/EULAs to waive their content rights to the site owners (not for any nefarious reasons), although I doubt that these "agreements" hold up.

If I had any comments or forum posts that were copied verbatim in a manner that upset me, I would definitely pursue it legally. But I'm a fanatic like that.

Re: Developing When Your Computer is too Fast

#29
I recommend doing the same thing for web development.

There is a nice Firefox plugin (Firefox Throttle) that lets you throttle uploads and downloads with a single button click. If, like most web developers, you do development on localhost using the plugin lets you see how your user's experience uploading large files or downloading image rich pages with network latency.

Unfortunately its been pulled from the addons library search but you can download it directly (for now) using the ftp url in the comments here:

http://support.mozilla.com/en-US/questions/755876#answer-107...

Re: Developing When Your Computer is too Fast

#30
post #12

I don't believe I communicated clearly enough in the creation of this project. This is not ``Yay, I don't ever have to worry about any other computer because I can simulate anything.'' This is me sitting next to my QA guy (who really understands what I did better than I do so far) and having him say, ``Why don't you just make it fast for the first ten minutes, then slow down socket operations briefly, then switch a p…

I understand your motivations better now. Being able to run these ad hoc tests in a repeatable manner isn't the same as firing up IE6 on a Pentium 4 box with 256MB of RAM.
Post reply on HN