Slashdot Mirror


User: Jamesie

Jamesie's activity in the archive.

Stories
0
Comments
112
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 112

  1. Re:DBs and C++ on F/OSS Flat-File Database? · · Score: 0

    Same as above but properly formatted this time.

    Sounds like you're using C++ to do a lot of work that could/should be done by a well written query, obviously I have no idea what it is you want to do with this data so I may be wrong.

    It is fairly common in my experience to see apps that get a large chunk of data from a fairly broad sql statement and then loop through the results performing processing that could be done more efficiently by a query. I have often seen this loop then make further queries resulting in tens of thousands of queries hitting the server and slowing down things even further.

    Basically a good front end/back end balance would be the query limiting the results as much as possible on the server and the front end presenting and making the data available for modification with as little selectivity in the front end code as possible.

    As for data conversion, most data structures/grids can be set up to accept and display any of the types you need and if you need that datetime field as a string in a specific format that can be done in sql too.

  2. Re:DBs and C++ on F/OSS Flat-File Database? · · Score: 0

    Sounds like you're using C++ to do a lot of work that could/should be done by a well written query, obviously I have no idea what it is you want to do with this data so I may be wrong. It is fairly common in my experience to see apps that get a large chunk of data from a fairly broad sql statement and then loop through the results performing processing that could be done more efficiently by a query. I have often seen this loop then make further queries resulting in tens of thousands of queries hitting the server and slowing down things even further. Basically a good front end/back end balance would be the query limiting the results as much as possible on the server and the front end presenting and making the data available for modification with as little selectivity in the front end code as possible. As for data conversion, most data structures/grids can be set up to accept and display any of the types you need and if you need that datetime field as a string in a specific format that can be done in sql too.

  3. Re:For me, good code is like good math on Are You Proud of Your Code? · · Score: 0

    I have often been criticised for not enough code documentation (but then, that usually means that someone can't understand code, rather than just not understanding my code)

    I bet that they understand code, it'll be your code that's the problem. I've heard plenty of people claim that their code is self documenting but when you read it takes ages to understand, all for the sake of a few well thought out comments.

  4. Re:The tag says it all on Cameras Help Cops Catch a Killer · · Score: 0

    I was in Athens just after the Olympics and every now and then I would see Greeks shaking their fists or holding their fists to their eye like a telescope at the surveillance blimps that were still operating. Are they still flying over Athens?

  5. Re:I don't have a problem. on Cameras Help Cops Catch a Killer · · Score: 0

    You're talking rubbish, police in the UK can and do defend themselves if attacked. Anyone can defend themselves using reasonable force.

  6. Re:Mail.co.uk story on Police Using YouTube to Catch Killers · · Score: 0

    And at the other end of the political spectrum we have the Socialist worker (the only paper with a tractor on page 3) and the Gruniaad - long famed for it's accomplished typesetting.

  7. Re:Too expensive and Too risky? on George Lucas To Quit Movie Business · · Score: 0
  8. quid pro quo? on US–EU Flight Talks Collapse · · Score: 0

    Is the same data being collected on passengers flying to the EU from the US?

  9. nildram 50GB limit on True Unlimited Broadband in the UK? · · Score: 2, Interesting

    I have the 2MB for £22.12 pcm service and there is a peak limit of 50GB and you can carry any unused over to the next month, all that happens is that they throttle you down to 64 KBs after you use all your peak download bytes. Additional 2GBs for £1.98 at 2MB.

  10. Re:I Win on The 2006 Underhanded C Contest Begins · · Score: -1

    Take it easy. Take a chill pill Bill.

  11. Re:The hypocrisy of Slashdot on Portable Stereo Creator Gets His Due · · Score: 0

    They are all obvious inventions with 20-20 hindsight.
    In the 70's the idea of removing the speaker and mic from the hardback book size mono tape recorders of the time was not at all obvious. The idea of carrying around a stereo player with just headphones that couldn't record was a novel one.

  12. Re:one thumb and an index finger on Disabled Fans Shut Out of Galaxies · · Score: 0

    Clod! Shut up, insensitive you are.

  13. Re:important Information on Fixing Windows Boxes that Crash After Blackouts? · · Score: 0

    A few more thoughts.
    Does your pc fail to boot only after power outages?
    Does it fail to reboot if you shut it down?
    Does it fail to reboot if you pull the plug?
    Is the pc plugged into a different wall socket to the rest?
    If it is on a power strip with other pc's try swapping sockets with one.
    Open it up and reseat everything.

  14. important Information on Fixing Windows Boxes that Crash After Blackouts? · · Score: 1, Informative

    You left out some important information, like ...
    There are several versions of windows, which one are you using?
    What actually happens when you try to reboot? Is there an error message? A blank screen?
    Which model gateway are you using?

    Here are a few things to try.
    Try googling that model with 'reboot' and any other useful info about the problem.
    Could it be the cmos battery? Swap with another pc and see if that works.
    Could the power supply be on it's last legs? Swap in one from another pc
    While I am not suggesting you switch operating systems, the 'try linux' idea could narrow down the problem. Try booting off a knoppix or other livecd, if that doesn't work try installing linux (back up your system first!) and seeing if there are still boot problems.

  15. Even Ricky Gervais has a Podcast now ... on The Podjacker Threat · · Score: 0

    ... at the Guardian.

  16. virtual pc on Pocket Linux Server Showdown · · Score: 0

    Why not have a usb powered disk with virtual pc and the vmc & vhds you want on it. The laptop drive enclosures are pretty small and you can get all your favourite software in the images and even a number of different builds. There is also a mac version but I am not sure if they can use the same images.

  17. Blame on NASA Video of the Cryosphere · · Score: 0

    Personally I blame the shrinking Cryosphere on all the Podslurping and Camsnuffling that's been going on recently.

  18. Re:Pointy-haired Idiot Quote on Sensitive Data Stolen Via Digital Cameras · · Score: 0

    Podslurping!!!

  19. Re:Everyone loves to bash MS and VB... on Build a Program Now · · Score: 0

    Most VB code is written for use within an organisation. The VB developer will know the minimum resolution to support and the UAT teams will catch any weird resolution issues.

  20. Re:Is programming getting much harder? on Build a Program Now · · Score: 0

    *Try* *out* a different operating system, nearly any one at all. Microsoft is not even at the bottom of the barrel in programming, it *can't* *find* the barrel.

    Win2k server is solid, installation is straight forward and it runs the most important enterprise server apps flawlessly - Sql Server, Exchange, Oracle, Crystal Enterprise etc.

  21. Re:Could be worse on Build a Program Now · · Score: 0

    I think you are right about not using an IDE to start with.
    Programming should be learnt with as little distraction as possible. It used to be that PASCAL was the best example of a beginners programming language, so I imagine that Java or C# is probably the best way to learn OO programming now. Neither of these languages need more than a text editor and their compilers to explore the fundamental concepts.

  22. Re:True AI on Company Claims Development of True AI · · Score: 0

    Do you think bootcamp exists only to bread skill?

    In the catering corp maybe.

  23. A question for the humourless on Open Source Worse than Flying · · Score: 0

    If this had been in the Onion would you have taken it so seriously?

  24. Re:Otis Stern is just upset because on Open Source Worse than Flying · · Score: 0

    Borat?

  25. Re:Otis Stern is just upset because on Open Source Worse than Flying · · Score: 0

    No, the future will hold at least two separate classes of end-user machines. Limited, easy for morons to use, and something for power users.

    charming.