Slashdot Mirror


User: gbjbaanb

gbjbaanb's activity in the archive.

Stories
0
Comments
5,859
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 5,859

  1. Re:And Then COBOL 2009 on Interview Update With Bjarne Stroustrup On C++0x · · Score: 1

    trouble is, once you get past 1 object you're into a nightmare world of nested 'using' statements that make 'if then elseif' look good.

  2. Re:It hurts you to learn C++ is still being used. on Interview Update With Bjarne Stroustrup On C++0x · · Score: 1

    then you don't bother trying. Hire specialists, preferably those who can turn their hand to something else but generally keep to one thing.

    I mean, you wouldn't expect your DBA to code middleware applications in C++, you'd want them to be the best guru sql dev ever. The same can apply to everyone else - you need Web skills, get a web dev and tell him he only needs the basics of c++, java and sql but he'd better be "teh l33t hax0r" at javascript and html.

    Often this approach makes everyone happier, there's less politics in a group, they start to work much more co-operatively and are happier in their roles.

    Unfortunately, most people who are good like this are focussed on the technology. If they have to reskill every time something new comes out, they'll never be any good, they'll be continually junior developers as soon as they start to get good, its all-change time again. A good businessman would understand that and only introduce new stuff when there's a very good reason to do so.

  3. Re:Some counterpoints. on Interview Update With Bjarne Stroustrup On C++0x · · Score: 1

    re: point 1, why stop at URL fetching or data compression? I needed an interface to a DS1000 serial-port call logger today, do I complain that Python doesn't have such library routines to handle that?

    Ok, so maybe that's slightly obscure .. but why not SOAP libs, or JSON libs, or .. well I could keep going. I think you're being unfair expecting a language to provide you with domain-specific functionality. Similarly with compression - which one would you expect to be present? C++ sticks things in libraries, so you can use whichever you want if you can find one, or write your own if not.

    point 3: isn't a GC just another memory management aid?

  4. Re:I just don't get it.... on Interview Update With Bjarne Stroustrup On C++0x · · Score: 2, Informative

    no, I think he meant a map where the value part can be any type, not just the one stated in the definition.

    eg.
    map.insert(1, "hello");
    map.insert(2, 69);
    map.insert(3, myobj);

    etc. Boost::any is what he's after in that case so its a pretty moot point.

  5. Re:Garbage Collection? No? BAH! on Interview Update With Bjarne Stroustrup On C++0x · · Score: 2, Insightful

    I want to like C++, heck, it was the first language I learned. But after so many hours of memory leaks and pointer-induced errors...

    perhaps you didn't learn it very well. Check out RAII for one way round your problem, learn about references and destructors for another, and learn about auto_ptr/shared_ptr if you still have difficulties.

    If you absolutely must have a GC, put one in. Mono uses this one, so I assume they think its quite good. Stroustrup says that GC has a place in memory management, but it should be the last resort not the first. I agree - if you can't program without getting so lost you lose memory all over the place, GC will not magically help you* as you'll end up losing track of other non-memory resources instead**.

    * - unless you're an ex-VB programmer, in which case you need all the help you can get :-)

    ** - eg. you create an object that opens a file, if you 'leak' that object, the GC will collect it for you when it feels like it, so you may end up trying to reopen that file only to find that its still in use. There's still 'soft leaks' that the GC will not manage where your objects are still referenced even though you think they aren't.

  6. Re:Objective C and C++ on Interview Update With Bjarne Stroustrup On C++0x · · Score: 1

    Agreed just STL, functors will make your life incredibly easy once you grok them.

    Thing is, to say that C++ is no good because other languages are easier suggests that everyone should be a VB programmer.

    There are different tools for different jobs, to standardise on one because its the latest cool thing is short-sighted and naive.

  7. Re:The 1990s called and offered you a job. on Was Standardizing On JavaScript a Mistake? · · Score: 1

    sometimes you need asynchronous notifications back to the client - so you take input, send input, and then stop blocking for a response. When the response is ready, you want to be told about it. Current http tech forces you to poll, which isn't too efficient. If async notifications could be implemented, then the browser could replace all client applications completely.

  8. Re:No scripting language is going to solve on Was Standardizing On JavaScript a Mistake? · · Score: 1

    If browsers were a good application framework, we wouldn't need Flash, Air, Silverlight, Java applets, XBAP apps, XUL, etc, etc etc

    of course, if any of those were good application frameworks, we wouldn't need all the others...

    Don't try top shoehorn every problem into a single solution; and newer isn't necessarily better, not from a technical and especially not from a business POV.

  9. Re:Right... on Solar Cells — Made In a Pizza Oven · · Score: 1

    Except that if greedy corp did 'steal her idea' all they could then do is manufacture their solar cells cheaper, and hopefully then spend the difference on selling their cells more cheaply (they do this you know, something about competing with other manufacturers)

    They couldn't apply for a patent as she could demonstrate prior-art, so all her patent does is ensure she doesn't get her wish of cheaper solar cells.

  10. Re:Look to the beam in your own eye on A Mozilla Plugin to Help Overcome IE Rendering Flaw · · Score: 1

    Not necessarily. Take SVG for example, you could get that in IE because Adobe provided a plugin. Since Adobe announced that plugin was to become EOL, many companies have started thinking about replacements. I know the discussions here about the SVG-based map rendered that will have to be ported to something else. If this plugin provides SVG, we have a big problem solved for us. If not, we'll end up probably going with (groan) Silverlight.

    The fact that SVG support was only available as a plugin for IE doesn't mean that no-one will want SVG support in IE.

  11. Re:Er... on A Mozilla Plugin to Help Overcome IE Rendering Flaw · · Score: 1

    So you don't use Flash anywhere on your site? good for you.

  12. Re:Can anyone clarify? on Microsoft To Buy $100M More SUSE Support Vouchers · · Score: 2, Interesting

    I suppose $100m will pay some Mono developers' salaries for a while longer, though I reckon if they wanted to really support Linux interoperability and suchlike, they'd have bought RedHat vouchers instead/as well.

  13. Re:Not needed. on Level of IPv6 Usage Is Vanishingly Small · · Score: 1

    Think for a second how a Skype call can arrive at your PC that is sitting behind a NAT device without any special configuration to allow it through.

    Think how secure your system is behind that NAT device. Its not an alternative for a firewall.

    Now, most (if not all) NAT routers come with a firewall already enabled. Moving to IPv6 won't change anything (except make everything easier to implement and provide you with all kinds of possibilities that you don't know you wanted until you get them)

  14. Re:Reasons. on Level of IPv6 Usage Is Vanishingly Small · · Score: 1

    Yeah, its true. Go to netgear or belkin and see if their routers support IPv6. Though I live in hope that they'll release firmware updates that do this, I won't hold my breath waiting for it.

    in fact, search netgear.com for "IPv6" and you get 2 results, for 2 products (a CM232 cable modem and CBVG834G cable router) which actually *does* support iPv6.

    Getting IPv6 support in the home routers is the major step that's required for IPv6 adoption.

  15. Re:Should have gone to A.B.C.D.E.F.G format. on Level of IPv6 Usage Is Vanishingly Small · · Score: 1

    No. If you're counting from 0 to 100, you stop at 100... :)

    Its not like that anyway, I mean - you count 0 to 9, and then go "1" and "0", and if you continue adding decimal positions, you end up with "1,000". Everybody (except programmers) writes numbers in the human-readable format with place separators, and parsers happily recognise and deal with them.

    Remember: computers are there to make our life easier, not the other way round. Putting the colons in is fine.

  16. Re:What regex problem? on Level of IPv6 Usage Is Vanishingly Small · · Score: 1

    eh?

    Like r'\.'.join([r'(?:\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])']*4) is any easier to remember.

  17. Re:When did Microsoft become a hardware company? on Vendors Rally While Windows Sleeps · · Score: 1

    Oh, and you can push a button on the screen that boots Windows if you need to read the boss' Powerpoint.

    Try that on your blackberry.

  18. Re:Once again, Lobbyists on Why Is Adobe Flash On Linux Still Broken? · · Score: 1

    Adobe's two biggest cash cows are Windows and Mac users. Why should anyone that earns such a lot of money and has close ties to the aforementioned companies be interested in supporting the Open Source community

    becuase then they'd have 3 cash cows. They may not get much direct revenue from Linux users (eg I doubt anyone would buy Adobe development/publishing tools on Linux), but there's the indirect revenue - if they had Flash on Linux too it'd be the de-facto standard for all flashy web stuff. Without it, there's a good chance Silverlight will become much more widely adopted... and what happens to Adobe then.

  19. Re:Lotsa logging on Software Logging Schemes? · · Score: 1

    strangely enough, we do something similar - only I work in emergency response call centres.

    We don't do 1Gb of logs per day, only about half that...

    Some of the comments on this thread all seem to be about performance and code-level logging (ie what path the system is taking through the code). Our logging only does that incidentally, as the logs are vastly more important for tracing through why something happened the way it did. eg, recent reports from a customer was "at 2am one of the operators reported that unit xyz was recommended for a call when we'd expect unit abc should have gone", then we trawl the logs to see why (usually because the operator marks the unit as 'not-recommendable' and forgets to turn him back on - I consider that a bug in the software).

    Nobody cared how the system processed it, or the code path, but we do care about the state of data at the time.

  20. Re:Protection of the tech jobs market on Judge Rejects H-1B Visa Injunction · · Score: 1

    it IS possible to fall somewhere between 'Pinko Commie' and 'Right-Wing Nutjob'.

    yeah, but don'tcha just hate those Pinko Nutjobs.

  21. Re:How much skill? on Linux Foundation Paving Way for New Kernel Developers · · Score: 5, Informative

    This one.

    Pick a project (you will have to filter the language to C for the more kernel-like projects), then offer to help out with some coding. The people running it should be happy for you to help out (just don't expect to suddenly become a respected developer until you've proven it) and should be able to provide you with more assistance in getting up to speed. Once there, you should have the confidence to tackle something more high-profile.

  22. Re:No standards compliant programs on ISO Rejects OOXML Protest Appeals · · Score: 1

    The net result of this mess looks like no program can claim to be standards compliant.

    Wouldn't it be funny if Word was rejected by government programs because it is not compliant?!

  23. Re:Linux on the desktop on What Will Linux Be Capable Of, 3 Years Down the Road? · · Score: 1

    Its not really that often an issue, everything works on Windows... except when it doesn't. And then you end up usually buying new hardware. Vista is especially poor like this when they changed their driver model and lots of old hardware stopped working (like my camera, 'cos Sony won't bother to update the driver for it).

    Linux is not better in this regard, its pretty much the same - mostly it just works except every so often it doesn't. The difference is that with Linux if something doesn't work you can usually get it going with some googling. With Windows, you're stuffed. And without the internet, life is a cold, dark, lonely place :-)

    You always need to format USB sticks as USB2. NTFS is only supported if you turn on the optimise for performance, and always *always* use the 'safely remove' option. Also NTFS (as a journaling filesystem) will decrease your USB drive lifetime, and will not be as fast.

  24. Re:maybe it'll be like ms word? on What Will Linux Be Capable Of, 3 Years Down the Road? · · Score: 1

    pipes through stdio. It may not be 'cool' or use a needlessly complex standard, but it the Unix way and it works wonderfully.

    Now, if it worked over a socket instead of stdio, they you'd be able to connect to 'services' on remote machines too. Imagine what that could turn into - working SOA! Analysts would wet themselves :)

  25. Re:KDE4 on What Will Linux Be Capable Of, 3 Years Down the Road? · · Score: 1

    well, post some links and people will get to know about it :-)

    Seriously, one thing MS has in its favour is the MSDN and Technet sites, everything you ever wanted to know about developing or administrating a Windows box is in there somewhere (as there's a lot, shame their search isn't that good). I would love to see the same for Linux distros.

    Especially code documentation, the easier it is to develop the more people will.