Slashdot Mirror


User: loufoque

loufoque's activity in the archive.

Stories
0
Comments
3,170
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 3,170

  1. Re:Problem with Exceptions on The Scourge of Error Handling · · Score: 1

    This is the most stupid idea ever.
    You have completely misunderstood the point of exceptions.

    If the exception can be handled directly by the caller, then you should use return values. Exceptions are for situations where you want the abstraction that the operation never fails, while still keeping the ability to handle such failure at a higher level.

  2. Re:Inconvenient? yes. Necessary? yes on The Scourge of Error Handling · · Score: 1

    You only have to log when the error occurs, not when it is forwarded to the parent scope, so I don't see how it would add any verbosity.

  3. Re:Mid-'70s PL/I Exception Handling is Alive & on The Scourge of Error Handling · · Score: 1

    Were those links supposed to support your argument?
    I'm sorry but they didn't explain anything at all.

  4. Re:Bullcrap on The Scourge of Error Handling · · Score: 1

    No, you need to forward it so that someone with enough context will know what to do with it.

  5. Re:Exceptions in C++ on The Scourge of Error Handling · · Score: 1

    The most important primitive for good exception-safe code is an atomic swap.
    Microsoft Windows doesn't have an atomic swap for files AFAIK, which is a very big problem. No wonder video games end up with corrupt save files...

  6. Re:People just doesn't get it on The Scourge of Error Handling · · Score: 1

    You're building critical components with MATLAB?
    Are you crazy?

  7. Re:The third option on The Scourge of Error Handling · · Score: 1

    How is that significantly different than exceptions?
    An exception, when thrown, will gracefully terminate any subcomponent up to the scope it is caught in.

  8. Re:Aw, geez, not this shit again. on Ticking Arctic Carbon Bomb May Be Bigger Than Expected · · Score: 1

    Americans complaining about the NSF...
    In my country you're happy if you can get 200k funding for 3-year project.

  9. Re:Truly a 1st world problem on FCC Chief Urges FAA To Ease Airplane Electronics Ban · · Score: 1

    It usually takes much longer than 10 minutes.
    Also, when you're on the verge of an epiphany, it doesn't matter if you can't access your device 1 minute or 1 hour, what matters if that you're not going to be able to type what's on your mind, and that you'll have lost it by the time you get access to your device again.

    If there is no reason for this annoyance, then it should be removed, however minor the annoyance may be.

  10. Re:Trust me on this one... on Nintendo Puts a Bedtime On Wii U Content In Europe · · Score: 1

    Did you actually read the message you're replying to?

  11. Re:Wow, such a minor quibble too. on SEC Investigates Netflix CEO Reed Hastings Over Facebook Posting · · Score: 0

    That's misunderstanding how Facebook works.
    Any one can wilfully choose to subscribe to his updates, so it's the same as them being public.

  12. My experience, are studies useless? on Just Say No To College · · Score: 1

    I frequently tell people that studies are useless. This article made me think about this a bit more.

    I am CEO of a little start-up in software that I founded this year, at 25 years old. Nothing big, we barely break even, but we do bleeding edge stuff, work with big names and, more importantly, have fun.
    I studied for 5 years (actually 6 if you count bad orientations) in France, where studies are essentially free. So I had no problem with debt or anything like that.

    At the end of the my studies, I found them so boring and useless that I decided to go work full-time as a software engineer abroad (it's easier to get tech jobs in the UK than in France), while only showing up for exams, which I passed without problems.
    I was offered to do a PhD, but I refused because I considered it a waste of time. The truth is, you will learn much more in one year working on your own or in a company than in 3 years studying in university.

    Yet, thinking back on it, I did do some pretty interesting stuff in my early studies that I wouldn't have done on my own. Those things are not particularly useful to my everyday work, but they contribute to some kind of general knowledge about a variety of things.

    What I think is that studies up to the bachelor's level are useful since they're very general, but later more specialized studies are better done by yourself alone. There is nothing that makes you a specialist more than to experience the problem domain first hand.

  13. Re:I'm waiting for... on 3D Printing of Custom Personal Electronics Arrives · · Score: 1

    They have the time to watch stupid shows on TV. They very well have the time to cook.
    It's that usians are lazy and cannot enjoy simple pleasures in life.

  14. Re:No plans for LLVM on Multi-Server Microkernel OS Genode 12.11 Can Build Itself · · Score: 1

    You just said there are low end 6-core systems.

    Where did I say that? Because I didn't.

  15. Re:What's the point? on Interview With Icculus on GNU/Linux Gaming · · Score: 1

    By Linux, I mean GNU/Linux, of course.

  16. Re:What's the point? on Interview With Icculus on GNU/Linux Gaming · · Score: -1

    People who use Linux do so because they want a good operating systems to actually do things productively.
    People who want games just want a toy, which is why they use Windows.

    The only thing bringing games to Linux will do is provide a bit of occasional entertainment for the existing Linux users. Don't expect people to migrate to Linux because of that. The people that do not use Linux do not do so because it doesn't have games, it's because they don't look for the same thing in a computer.

  17. Re:What's the point? on Interview With Icculus on GNU/Linux Gaming · · Score: -1, Offtopic

    The truth is, most Linux users don't care about games.
    There are much more interesting uses of a computer than gaming.

  18. Re:No plans for LLVM on Multi-Server Microkernel OS Genode 12.11 Can Build Itself · · Score: 1

    Server cluster? I thought we were talking about average middle end desktop/workstation computers.

  19. Re:No plans for LLVM on Multi-Server Microkernel OS Genode 12.11 Can Build Itself · · Score: 0

    AMD does not make any good processors anymore.

    Intel i3 is the low end, i5 the middle end, and i7 the high end.
    i5 are usually dual core processors, while i7 are usually quad core.

  20. Re:Hurd device drivers aren't in user space? on Multi-Server Microkernel OS Genode 12.11 Can Build Itself · · Score: 1

    Where did you see that was not true?

  21. Re:No plans for LLVM on Multi-Server Microkernel OS Genode 12.11 Can Build Itself · · Score: 2, Insightful

    There are no mid-range 6-core systems.
    Mid-range is dual core with hyperthreading.

  22. Re:No plans for LLVM on Multi-Server Microkernel OS Genode 12.11 Can Build Itself · · Score: 1

    LLVM optimizes better than GCC in quite a few cases, in particular since 4.0

  23. Re:No plans for LLVM on Multi-Server Microkernel OS Genode 12.11 Can Build Itself · · Score: 1

    A bad copy/paste happened here, sorry.

  24. Re:No plans for LLVM on Multi-Server Microkernel OS Genode 12.11 Can Build Itself · · Score: 1, Interesting

    In particular, because it is very rigid in the tools it needs to work with, making it more complicated to have a full working toolchain on exotic platforms. Hurd still doesn't have: working sound support. For those unfamiliar with multi-server systems, the project has a brief conceptual overview document.

    clang/llvm can actually cross-compile to several different architectures with the same binary. That thing would be absolutely impossible with GCC.

  25. Re:Uses RAM, bad at running games on Why KDE Plasma Makes Sense For Linux Gaming · · Score: 1

    That will not help you if you run a 32-bit non-PAE kernel, like many people still do. (Apparently, Ubuntu still recommends the 32-bit version)