Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:Easy to solve - calibrate them to overestimate (Score 2) 398

Cars have airbags so that the people who refuse to buckle their safety belts wont die.

That's just so wrong. Nope, the airbags are the supplemental restraints. They work together with seat belts. Airbag deployment in a frontal collision actually makes you more likely to get injured if you wear no seatbelts, than if you had none - at least for the driver. I've had a T-bone with side airbag deployment, and I can assure you that in this particular case, the seatbelts alone would have done nothing. Again: the restraint system in a car is designed as a system. It's not designed to save you from anyone's folly, it's designed to save you from effects of sudden deceleration. The causes of such sudden deceleration can be and often are beyond human control.

Comment Re:Be competent? (Score 1) 120

This is a site serving what amounts to static content with simple lookup. There's zero reason to even use a database outside of startup. On startup simply put it into a native data structure in your programming environment of choice, and be done. MongoDB with replica sets, my ass, that's just crazy. The whole lookup application could be a couple of files on a CDN, a single executable and a single bootstrap data file. And syslog somewhere to listen to the traffic updates. It could run on a VM image with a dozen files on it - literally. Heck, you might not even need any dedicated application servers. Just slice-and-dice the data into multiple, reasonably-sized json files, sliced by VIN ranges, as have the webapp do the lookup entirely using the static content. Then all you do to deploy is upload a bunch of files to a CDN.

Comment Re:yes, what ever can they do? (Score 1) 120

The "enterprisey" scalability is probably an entirely overblown and over-the-top approach for such a simple web app. All of the executable and the data needed to serve this app fits comfortably in memory, all at once. You don't need anything fancy. The "effort" needed for lookups and generation of the replies is really tiny, as long as you use a solution that is compiled (or JITed). I'm pretty sure any modern multicore desktop machine would easily handle all of the load and completely saturate a couple gigabit pipes with html in response to the requests. Images and static content belong on a CDN (duh).

The entire dynamic content of the site could be served by a simple C++ executable that doesn't even need to use a database outside of startup. Populate a couple static data structures from sqlite, use libmongoose, microhttpd or a similar httpd library, and you're done. Fast n' easy, the entire deployment could consist of two files: a staticly linked server executable + bootstrap data file. The whole code, with syslog output, could probably fit a couple thousand lines or two, with comments and license headers :)

Comment Re:hum (Score 1) 109

I'm probably feeding the troll, but who the fuck cares if the middle is not thin? Heck, I'd say who the fuck cares if the sides aren't thin - I have no problem with the look of the inch-thick '07 aluminum iMac. It'd be sheer insanity to try and make the whole thing as thin as a laptop, with the power supply inside of it. You can save quite a bit of money by not making it super-thin where the guts are.

Comment Re:Mac Mini (Score 1) 109

There are two ways to a hackintosh: using random hardware, and using hardware that's purposefully selected to use the same components that Apple uses in their hardware. The "I''ll just try running OS X on whatever I have" route is perilous and ill-advices. Buying stuff from tonymacx86's buyer guide is a much saner choice, and it worked great for myself.

Comment Re:Mac Mini (Score 1) 109

I've been using one for almost a year now, and there's no looking back. It was only tricky to set up because initial releases of Mavericks were trickier than the current release. I'd say it was a day well spent to set it all up. These days, using it is no different than using any Apple hardware would be, except that after OS version upgrades one has to reboot to the recovery partition and re-run Multibeast.

Comment Re:how do SSD's compare to HD's? (Score 1) 109

Modern HDDs media have coercivity so high that the Earth's magnetic field, and the fields from nearby "electronics", are immaterial. The best thing you can do to a HD is leave it alone, not spinning, in a non-condesing atmosphere. As long as the spindle doesn't seize up due to lubricant migration, it might well last for centuries.

Slashdot Top Deals

It is better to live rich than to die rich. -- Samuel Johnson

Working...