2,800 karma · joined Mar 14, 2015 (11y ago) · 772 submissions
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
In the .NET world, at least, I highly recommend the AutoFixture library. It's mainly meant for generating test data, but combined with your preferred mocking library it can auto generate mocks on the fly. For example, imagine that you're testing a class with 5 dependencies, but only one is relevant to the current test. AutoFixture will generate all the mock objects automatically for you, then let you capture the one you care about to set up its behavior for your test.
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
There's nothing to it, most people just apparently don't know that it's possible. Chrome, Firefox, and I assume all the major browsers support remote debugging, your IDE just need to know how to send them commands. All you need to do is install the Chrome/FF debugging plugin and click 'Start Debugging'. A settings file should open for you to configure the url to launch.
comment 8y ago · link · parent
> It's also not that explosive, owing to the fact that TNT doesn't have enough oxidizer to burn all its carbon and hydrogen fuel, which is why you see a black cloud of mostly carbon after TNT is detonated. So TNT is generally mixed with other chemicals, such as RDX to form an explosive mixture called Composition B that is found in many bombs.
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
“Continuously delivery” would probably be difficult. Your typical truck will head out with 6-800 packages to be delivered in a 8-9 hour day, and they don’t all come in at once. Maybe you could send out trucks more often during the day, with fewer packages to be delivered over a larger area, but I’m not sure it would be that beneficial. You’d increase fuel and maintenance costs, plus you’d be paying your (fairly expensive) drivers to spend more time driving rather than delivering packages.
comment 8y ago · link · parent
Loading semis is basically 3D Tetris where you have to consider not only shape (boxes, tubes, cylinders, and everything in between) and size (fits in the palm of your hand up to 2- 3m long), but weight (basically 0-75 kg) and rigidity. Humans pretty easily develop and intuition for these things. I certainly unloaded plenty of semis that were for all intents packed to capacity. In theory you could probably have some kind of fully integrated system that let you know ahead of time the details of every package so you could model the entire load and figure out how to fit it... but doing what humans do loading on the fly would be damned hard.
Loading package cars (the brown delivery trucks) drops the need to maximize volume carried and adds constraints about the order and location of packages so the driver can find them. Again though, it’s a fairly loose system. In theory the load is pretty well distributed across the truck’s numbered shelves by the planning system... except all the days that it isn’t. A loader ends up making a lot of on the fly calls to overflow shelves and rearrange things so they fit on the truck and the driver has a reasonable chance to find them.
tl;dr - Anything is possible, but automating that part of the process is an enormous challenge IMO.
comment 8y ago · link · parent