News for hackers. Stuff that matters.
Re:Offer HN: I'll test your web app from Tanzania by jakobegger on Monday March 02, 2015 @03:27PM (#9134112)
If you work on anything web related and you have a Mac or an iOS device, I strongly encourage you to try the "Network Link Conditioner". It's a preference pane (on OS X) or a setting (on iOS) that allows you to simulate different types of networks. You can artificially limit bandwidth and transmission delay, simulate package loss and DNS delay.

For me, it's become an essential tool for testing website & app performance.

Re:Offer HN: I'll test your web app from Tanzania by krebby on Monday March 02, 2015 @04:38PM (#9134507)
There's also Comcast[0]. No clue if it's any good but the name is amazing.

[0] https://github.com/tylertreat/Comcast

Re:Offer HN: I'll test your web app from Tanzania by stingraycharles on Tuesday March 03, 2015 @01:51AM (#9136433)
Seems like a copy of the joke the people of The Onion came up with a few months earlier, ComcastifyJS: https://theonion.github.io/comcastifyjs/
Re:Offer HN: I'll test your web app from Tanzania by LukeB_UK on Monday March 02, 2015 @04:03PM (#9134304)
Chrome has a network throttling emulation in the dev tools too: https://developer.chrome.com/devtools/docs/device-mode
Re:Offer HN: I'll test your web app from Tanzania by taude on Monday March 02, 2015 @04:21PM (#9134404)
One thing I wish I was able to do in the Chrome tools is to set my bandwith and latency preferences manually...
Re:Offer HN: I'll test your web app from Tanzania by teraflop on Monday March 02, 2015 @08:49PM (#9135658)
Somebody opened an issue on the Chromium bug tracker asking for the ability to customize those parameters. The Chromium devs added another preset and marked it as "fixed" even though it clearly isn't.

https://code.google.com/p/chromium/issues/detail?id=441858

Re:Offer HN: I'll test your web app from Tanzania by IgorPartola on Monday March 02, 2015 @05:02PM (#9134641)
Yes! There is a huge jump between DSL and Wi-Fi. Adding the ability to randomly drop out the network would be nice too.
Re:Offer HN: I'll test your web app from Tanzania by Kiro on Tuesday March 03, 2015 @02:57AM (#9136573)
It doesn't affect things like Web Sockets though.
Re:Offer HN: I'll test your web app from Tanzania by click170 on Monday March 02, 2015 @06:11PM (#9135027)
If you're on a Linux system, the 'tc' (traffic control) command has many similar abilities, though the UI is CLI only and is a bit cryptic. There are many posts and articles on usage though, including the Linux Advanced Routing and Traffic Control manual.
Re:Offer HN: I'll test your web app from Tanzania by skrebbel on Monday March 02, 2015 @03:59PM (#9134276)
Nice! Does anyone know whether something like this exists on Windows?
Re:Offer HN: I'll test your web app from Tanzania by scott_karana on Monday March 02, 2015 @05:01PM (#9134638)
I like "clumsy", which has a perfect animated GIF showing the app:

http://jagt.github.io/clumsy/index.html

Re:Offer HN: I'll test your web app from Tanzania by marasal on Tuesday March 03, 2015 @03:39AM (#9136690)
This is great. Thanks.
Re:Offer HN: I'll test your web app from Tanzania by junto on Tuesday March 03, 2015 @01:41AM (#9136407)
Since nearly every Windows web dev has Fiddler2, it can simulate network latency: http://helephant.com/2012/07/11/simulating-network-latency-w...
Re:Offer HN: I'll test your web app from Tanzania by WickyNilliams on Tuesday March 03, 2015 @09:37AM (#9137803)
I believe Fiddler handles this? Not very friendly to change, but it's documented here http://docs.telerik.com/fiddler/KnowledgeBase/FiddlerScript/...
Re:Offer HN: I'll test your web app from Tanzania by lstamour on Monday March 02, 2015 @04:09PM (#9134337)
Fiddler or Network Emulator for Windows Toolkit perhaps. I'm sure there are other options though.
Re:Offer HN: I'll test your web app from Tanzania by wasyl on Monday March 02, 2015 @04:27PM (#9134432)
There is crapify [1]. I remember seeing other tools as well, but can't find them at the moment.

[1] https://www.npmjs.com/package/crapify

Re:Offer HN: I'll test your web app from Tanzania by goldins on Monday March 02, 2015 @04:02PM (#9134296)
Google Chrome Canary has network throttling functionality.
Re:Offer HN: I'll test your web app from Tanzania by tuacker on Monday March 02, 2015 @04:11PM (#9134355)
As does plain Google Chrome, at least on OSX. Open Dev Tools and click the 2nd icon on top, next to the loupe, which looks like a mobile phone. From there you can specify a set of throttling speeds (offline, gprs, edge, 3G, DSL, Wifi)