Slashdot Mirror


User: MichaelSmith

MichaelSmith's activity in the archive.

Stories
0
Comments
11,670
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 11,670

  1. Re:What's the point of MongoDB? on MongoDB CEO Claims They're Luring Customers From Oracle (diginomica.com) · · Score: 1

    Yeah for the servers running mongo I have administered I have put in daily or weekly reboots. Its a crude way to fix the problem bit it seems to work.

  2. Re:Wait, what? on Is Google's AI-Driven Image-Resizing Algorithm Dishonest? (thestack.com) · · Score: 2, Insightful

    But they were guilty.

  3. Re:Any still used? on Intel's 4004 Microprocessor Turns 45 (4004.com) · · Score: 3, Interesting

    Yeah I am pretty sure a lot of the road traffic monitoring/incident detection systems in my city run on Z80s.

  4. Memory leaks on MongoDB CEO Claims They're Luring Customers From Oracle (diginomica.com) · · Score: 1

    I have never seen mongo run happily on its own for more than a week at a time. It has to be coddled and administered by hand. Automatic restarts are a necessity,

    So no, its not challenging Oracle right now,

  5. The 200-2000 thing isn't my typo. Obviously you should check the required space before doing a malloc and memcopy. This was one of about ten functions, each for a different type of message. They all had the same boilerplate malloc, etc. I suspect the mistake was made once and then pasted multiple times. The 2k buffer was probably enough (200 might have been enough at one point). The pattern in that application would have been to #define a constant in a module level header. Pattern was not followed.

  6. Ah no not in this environment. That API would pass the buffer (pointer or contents, not sure) on to custom middlewear, which runs in a different process and transacts messages. The interface is via shared memory. There might be some local spooling as well.

  7. What if I need sub-millisecond resolution?

  8. Re:2 more I've seen on 'Here Be Dragons': The Seven Most Vexing Problems In Programming (infoworld.com) · · Score: 1

    My latitude and longitude have arbitrary precision.

  9. Yeah send_buffer() was almost certainly asynchronous.

  10. Re:It's probably because you suck at it on 'Here Be Dragons': The Seven Most Vexing Problems In Programming (infoworld.com) · · Score: 2

    Wow. The script kiddies where I work are doing all their backend programming in coffescript, running in js interpreters. Every branch and loop they write creates a new callback (which they call threads) so there is no way to predict which order they run in. Half the applications are tricks to put order of execution back into a meaningful sequence and avoid race conditions.

  11. Re:Closure and Threads... on 'Here Be Dragons': The Seven Most Vexing Problems In Programming (infoworld.com) · · Score: 1

    with some proper study of functional and parallel programming

    Yeah but for every person who does that there are 10000 wannabees who just want a bigger paycheck.

  12. Re:Buffers on 'Here Be Dragons': The Seven Most Vexing Problems In Programming (infoworld.com) · · Score: 4, Interesting

    Saw this in C:

    some_func(char *data) {
            char *buffer;
            buffer = malloc(200);
            memcpy(buffer, data, 2000);
            send_buffer(buffer);
            free(buffer);
    }

    Occasionally it would cause a crash.

  13. node on 'Here Be Dragons': The Seven Most Vexing Problems In Programming (infoworld.com) · · Score: 4, Insightful

    Oh christ if I get one more node.js developer claim that node is multi threaded...

  14. Re:I'm no where near as smart as most of you.. on Leaked NASA Paper Suggests The 'Impossible' EM Drive Really Does Work (sciencealert.com) · · Score: 1

    If there is hardly any drag from the falls, and no gravity. The sound of water rushing past can be turned into electricity to power your emdrive.

  15. More like a simplified interstellar ramjet. But probably done with photo-voltaic cells. Just collect a few hot photons and turn them into thrust.

  16. Re:I'm no where near as smart as most of you.. on Leaked NASA Paper Suggests The 'Impossible' EM Drive Really Does Work (sciencealert.com) · · Score: 1

    But any energy input will give you thrust, so if you can collect photons from the medium you fly through you may create enough thrust to overcome drag.

  17. Re:I'm no where near as smart as most of you.. on Leaked NASA Paper Suggests The 'Impossible' EM Drive Really Does Work (sciencealert.com) · · Score: 1

    I would be interested to see some justification for that. You have a small, constant drag from the interstellar medium, and a source of energy of excited atoms. Photovoltaic cells can extract energy from those atoms and power an emdrive, If the thrust from the emdrive exceeds drag from the medium then you are going to accelerate. Its like a simpler version of the interstellar ramjet.

  18. Re:This is interesting on Leaked NASA Paper Suggests The 'Impossible' EM Drive Really Does Work (sciencealert.com) · · Score: 1

    If a chinese space station lands on Europa, then we will know.

  19. Re:I'm no where near as smart as most of you.. on Leaked NASA Paper Suggests The 'Impossible' EM Drive Really Does Work (sciencealert.com) · · Score: 1

    Say I have a fission reactor which I use to power my emdrive and it pushes me to 0.1 c. Now I have a large amount of the interstellar medium pushing into my vehicle. It creates friction and heat. It ionises and I can extract energy from that. So I feed that energy into my emdrive (I have abandoned the dead reactor). Do I get a net gain in velocity? Will this continue until my shielding can't cope and I lose structural integrity?

  20. Re:This is interesting on Leaked NASA Paper Suggests The 'Impossible' EM Drive Really Does Work (sciencealert.com) · · Score: 1

    But its early days yet. We don't really know how it works. If it turns out to be a real thing, then physicists will have to mull it over for a couple of decades before new applications appear.

  21. Re:Never meet on New Paper Explores The Prospects For Life Around M-Class Stars (arxiv.org) · · Score: 1

    Within a few hundred years we should be able to grow animal bodies to specification, as well as scanning and storing human personalities. The first ship to a remote star could be very small. Just an assembler which makes larger assemblers, guided by signals from home. The first humans to make the trip would be essentially teleported to their destination.

    Its a shame that we are missing out on this by such a short time.

  22. Re:Or do a different Heinlein book on Will The New 'Starship Troopers' Reboot Stay Faithful To The Book? (hollywoodreporter.com) · · Score: 2

    Yes, definitely. One of his best books. Alternately I would look at one of the juveniles, like Farmer in the Sky or Have Spacesuit will Travel. Both have stood the test of time and would form the basis of a great book.

    I would love to see Stranger made into a movie or series but I have no idea how it would work out.

  23. The one singular redeeming scene was the naked co-ed shower scene

    Surely that was a reference to The Number of the Beast.

  24. The Puppet Masters with Donald Sutherland as 'the old man

    Its a low bar then. That was a horrible movie. Almost as bad as Varley's Millennium.

  25. Or do a different Heinlein book on Will The New 'Starship Troopers' Reboot Stay Faithful To The Book? (hollywoodreporter.com) · · Score: 1

    Friday would be my preference.