Slashdot Mirror


User: rippeltippel

rippeltippel's activity in the archive.

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

Comments · 57

  1. Re:Google becoming too powerful? on Chrome Overtakes Internet Explorer For Most Popular Desktop Browser (thurrott.com) · · Score: 1

    Someone has started already, and with the bigger picture in mind: www.fermat.org.

  2. Just bought a Samsung TV & disabled voice cont on Samsung Warns Customers To Think Twice About What They Say Near Smart TVs (theantimedia.org) · · Score: 1

    During the initial setup I didn't agree with some T&C, including the one for voice control.

    As a result those features are turned off.

    Easy peasy.

  3. Re:Which Windows is "Windows"? on Windows, OS X, and iOS Top 2015's List of Software With the Most Vulnerabilities (venturebeat.com) · · Score: 1

    Most likely it is XP.

    Bah, I'll stick to Linux.

  4. I would be interested to know what version of Windows is the one at position 39, as it looks safer to use than the other ones.

    I might even consider switching from Linux...

  5. Why are you so surprised? on Legal Loophole Offers Volkswagen Criminal Immunity · · Score: 1

    This is what happens when those who made the law receive hard money from the industry.

    It's called lobbying, some countries accept it as normal, other countries consider it as a form of corruption.

    Either way, it's the majority of citizens who lose.

  6. Re:As always with C++, the truth is more nuanced on Bjarne Stroustrup Announces the C++ Core Guidelines · · Score: 1

    However, it also means that if you have any weak_ptrs pointing at the end of that shared_ptr, the object itself won't go away until all the weak_ptrs do too (because the control structure won't go away until they do, and they're contiguously allocated).

    Shouldn't you lock the weak_ptr before using it?

  7. Obvious consequence on How To Find Out If GCHQ and the NSA Spied On You, and How To Complain · · Score: 5, Insightful

    Q: Hey, did you spy on me?
    A: Nope. But thank you for asking, we'll start right away.

  8. Same as journalism on You Don't Have To Be Good At Math To Learn To Code · · Score: 1

    A bunch of copy/paste/edit iterations.

    And good luck finding a job in software, by the way!

  9. Re:Reliable? on Italian Court Throws Out TripAdvisor Fine Over Bad Reviews · · Score: 2

    I wonder how difficult it would be to validate the reviews by asking users to submit their hotel receipt (maybe without publishing them).

    You can still fake them, but maybe it wouldn't be worth the pain.

    Same for all other review-based websites (amazon, etc)

  10. Palo Alto?! on Exploring the Relationships Between Tech Skills (Visualization) · · Score: 1

    Since when Palo Alto is a tech skill?

    Need to update my CV...

  11. Yawnnn! on iPhone 6S New Feature: Force Touch · · Score: 1

    ronf... ronf... zzzzz... zzzzzzz

  12. Re:North & South game on Google, Apple, and Others Remove Content Related To the Confederate Flag · · Score: 1

    Please mod parent up!!

    Aaah... nostalgia!!!

  13. Re:C++ is never the right tool on Ask Slashdot: Is C++ the Right Tool For This Project? · · Score: 0

    Fine. I know the difference between C and C++ and, as I wrote, that's not the point.

    Can I see your list now, please?

  14. Re:What else do you need? on Ask Slashdot: Is C++ the Right Tool For This Project? · · Score: 1

    You said that it should be cross-platform, which rules out C#, IMHO

    Also consider that, if you go for C++, you'll have to compile it for each platform.

    Maybe you can have a C++ library that deals with memory and do the rest in a language you're more familiar with? e.g. using Boost.Python to interface with... well, Python.

    There are similar solutions for Java and other high-level languages (in general I tend to avoid mixing languages but sometimes it's a necessary evil).

  15. Re:Emacs?? on The 2015 Open Source Summer Reading List · · Score: 1

    Didn't you get the irony?

    "Mastering Emacs" is a fictional novel.

  16. Re:C++ is never the right tool on Ask Slashdot: Is C++ the Right Tool For This Project? · · Score: 2

    Edit: My statement that Python in implemented in C++ may not be entirely correct (there are C implementations) but that's not the point and shouldn't prevent you from doing the exercise.

    By the way, you're welcome to copy your final list on Slashdot, I'd be curious to see it for my own education.

  17. Re:C++ is never the right tool on Ask Slashdot: Is C++ the Right Tool For This Project? · · Score: 4, Insightful

    Could you describe a project for which the choice of c++ is a good one?

    Guess what, you can easily do that:

    • 1) List ALL the software you normally use (don't forget your OS and the browser you're using now)
    • 2) Cross out the software written in C++
    • 3) Cross out the software written in a language which is itself written in C++ (e.g. Python)
    • 4) Cross out the software that rely on another software/framework written in C++
    • 5) Feel free to use the remaining items on a daily basis, knowing that C++ is not undermining your life anymore

    Oh... good luck!

  18. Re:C++ is never the right tool on Ask Slashdot: Is C++ the Right Tool For This Project? · · Score: 5, Funny

    Can you hear it, my son? This is the voice of ignorance.

  19. What else do you need? on Ask Slashdot: Is C++ the Right Tool For This Project? · · Score: 5, Informative

    You said nothing useful about your project

    C++ could be a good choice for all the things you've mentioned. Networking is not an issue, as there are many open source libraries (e.g. libcurl - http://curl.haxx.se/), and using Boost is often a good thing anyway. Also, there are at least two good memory allocators: tmalloc (http://goog-perftools.sourceforge.net/doc/tcmalloc.html) and jemalloc (http://www.canonware.com/jemalloc/) so you may not need to write your own. (I assume that the above open source licenses are good for you, but they are just examples...)

    However... I doubt that your project will be only Network + Memory + Disk. What else do you need? Some UI? Should it interact with the Web? Or with services in the Cloud? There's no easy answer to your question without knowing what else you need, and I wouldn't even exclude a hybrid-language approach (e.g. C++ / Python / JavaScript*).

    * Before someone starts ranting about JavaScript having to run in a browser: NO - JavaScript runs perfectly fine withouth a browser, and can easily interact with C++. Have a look at V8 or SpiderMonkey, just to name some JavaScript engines.

  20. Re:It's not about knowing, it's about understandin on Knowing C++ Beyond a Beginner Level · · Score: 1

    C++ abstracts away too much for that to be useful.

    Does it? :-)

    I agree that C takes you very close to the bare metal. Yet C code is perfectly valid C++ code, and C++ allows you to achieve the same* level of control that you get in C, plus (as you pointed out) many useful abstractions that could hide what happens underneath.

    However my point is that using some of those abstractions without understanding them could have nasty effects. Just a few examples:

    • * STD lists and vectors have very different implementations in terms of memory allocation and usage (vectors are contiguous in memory and could lead to inefficient copies if their size is not managed carefully, lists are not contiguous and tracersing them may be inefficient in some cases)
    • * shared pointers are exceptionally useful, but there's an overhead in copying them unnecessarily
    • * multiple inheritance is another powerful tool, but it's easy to misuse it if you don't understand virtual inheritance

    Of course there are similar abstractions in other languages, but their implementation is often mediated by some framework/VM/etc that takes care of the shit for you to some extent. In C++ there's no garbage collector (although you can write your own) and you have full responsibility of what your code does. You can write your own tools for the job, your custom allocators, your libraries and abstractions, but you are responsible for most of it (new compilers help, thankfully).

    To write good C++ you always have to see through the code, or you'll likely end up having sub-optimal stuff (which I concede can be enough in some cases).

    * if you think that's not the case, please provide some examples.

  21. Re:It's not about knowing, it's about understandin on Knowing C++ Beyond a Beginner Level · · Score: 3, Informative

    so, you claim you know:
    ...
    int a = 13;

    In which register a is residing, supposing we are on an ARM? Or suppose we are in an 68k? Or suppose we are on an x86?

    You are just an idiot!

    I don't claim i know, I claim that I understand: something that you're clearly neither willing nor capable of doing, as your question and offensive language suggest.

    Have a nice day!

  22. Cybersecurity policy!? on The US Navy's Warfare Systems Command Just Paid Millions To Stay On Windows XP · · Score: 1

    "Davis wouldn’t provide more details about the systems or their use, citing cybersecurity policy"

    ...on Windows XP?!

    ...WTF...

  23. It's not about knowing, it's about understanding on Knowing C++ Beyond a Beginner Level · · Score: 5, Insightful

    Since C++ is the language of choice when you need performance (along with C and - sometimes - assembly), to write good code it's essential to understand what each line of code does to the machine (memory, registers, ...) and if/how instructions can be optimized by the compiler.

    This level of awareness is generally not required to be proficient in other languages, but in my experience it's what makes the difference between newbies and pros, at least in the areas where C++ is used for a good reason.

    Said that, it can be useful to understand as much as possible of any language and C++ can provide strong foundations in that sense, as this short article points out: http://www.forbes.com/sites/qu....

  24. Authors of manuals may become rich on Amazon Is Only Going To Pay Authors When Each Page Is Read · · Score: 1

    Although reading reference material in digital format is not that simple (at least for me), that's exactly the kind of book where each page may be read several times.

  25. Three Easy Steps (actually, Four) on Ask Slashdot: How To Own the Rights To Software Developed At Work? · · Score: 1

    1) Make your software code clean
    2) Agree with your manager/HR/Legal dept to release it as free and open-source (that's right)
    3) Wait for other developers to use your software
    4) Make your own company and get paid for the support

    If your software is worth something, you'll be fine.
    If not, but still it becomes rather popular, you can put it in your resume and keep selling yourself.