Slashdot Mirror


User: DuckDodgers

DuckDodgers's activity in the archive.

Stories
0
Comments
2,484
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 2,484

  1. Re:Lies! on Cassandra Rewritten In C++, Ten Times Faster · · Score: 1

    I know it's only micro benchmarks, but according to this: http://benchmarksgame.alioth.d... C++ run through GCC 4.9.2 maintains a roughly 3x speed lead over Java JDK 1.8.0_45b14 in three benchmarks, a 2x speed lead in another three, a lead in another three, and a loss in two. That speaks very well for the JVM, really. There are a huge number of applications where that gap is acceptable.

    But it also speaks to your point that JIT compilation still doesn't bring Java to the speed of well-written, optimized native code. There are plenty of other applications where a 2x or 3x speed advantage for C++ or C is critical.

  2. Re:Lies! on Cassandra Rewritten In C++, Ten Times Faster · · Score: 1

    To address the parent post author's point and yours, you can game benchmarks a bit. If you know that a particular algorithm goes through 550MB of memory in Java, then you can set the Java Virtual Machine for your micro benchmark to use 550MB of memory and never incur the cost of the garbage collector during benchmark execution. Then you get very fast times for Java - but it may not translate to your long-running production application because unlike the benchmark, that is likely to make extensive use of the garbage collector.

    Going forward, two things will help Java. Project Jigsaw for Java 9 attempts to make the Java Virtual Machine modular, so that instead of loading the whole standard library into memory before you can run "Hello World", it only loads the libraries your program will use. That will obviously dramatically speed Java start times and for most programs reduce total memory use, though it won't affect execution times. Project Shenandoah for the OpenJDK is an attempt to make a garbage collector that sacrifices about 10% raw speed for much better latency guarantees ( https://www.youtube.com/watch?... ) - in its alpha status in mid 2014, the benchmarked application had its garbage collector pauses dropped to a max of 15 ms versus a max of 75 ms using the OpenJDK G1 garbage collector. But neither of these things will put Java program execution speed on par with well-written C++ or C speed.

    On the other hand, for any non-trivial application I wonder at the number of security flaws that will creep into the C++ or C code vs. the Java code. If you need ultra fast and also secure, the new hotness seems to be Rust.

  3. Re: Police? on Ask Slashdot: How Do I Recover From Doxxing? · · Score: 1

    http://wehuntedthemammoth.com/...

    There are others, I don't feel like digging them up. Many of the death threats and rape threats are directly on Twitter.

  4. Re: Same old RMS on Interviews: RMS Answers Your Questions · · Score: 1

    DDG uses Google, Bing, and a few other search engines (Yandex, I think) and its own data mining. I find it works well enough for anything more than a year old, but if I want to look at something relatively recent I have to go back to Google.

  5. Re: Police? on Ask Slashdot: How Do I Recover From Doxxing? · · Score: 1

    Disavow the 95% of their side that.. what? How many of the SJWs have been caught doxxing Gamergaters? Swatting? DDOSing? Death threats? Rape threats? Give me a list.

    All I've seen the SJWs do is throw insults and make extensive use of ignore lists. Big deal.

  6. Re: Police? on Ask Slashdot: How Do I Recover From Doxxing? · · Score: 1

    Even if we grant that the SJWs are whiners, the Gamergaters are using insults, death threats, rape threats, DDOS, doxxing, and swatting. Tell me again that the SJWs are the villains in the story.

  7. Re: Police? on Ask Slashdot: How Do I Recover From Doxxing? · · Score: 3, Insightful

    Whatever legitimacy there might be at the core gamergate complaint that launched the shitstorm is buried under the mountain of insults, rape threats, death threats, swatting, and doxxing of anti-gamergate people. No matter how valid your original point was, if you haven't disavowed the 95% of your movement that is a bunch of assholes, you're part of the problem. If it really matters to you, pick a new tag and start over. But you can't team up with a bunch of babyfuckers and call yourself one of the good guys.

  8. Re: Police? on Ask Slashdot: How Do I Recover From Doxxing? · · Score: 1

    I know this is going to sound like a sales pitch, but I use the VOIPO voice over IP phone provider, and their account settings control panel gives you the option of blocking numbers, reporting them as spammers (if a number gets reported as spam often enough, it's blocked from all VOIPO customers), or setting them to direct-to-voicemail. After about three annoying months where I had to keep logging in and adding numbers to the respective lists, my land line quieted down a lot.

  9. Re: Police? on Ask Slashdot: How Do I Recover From Doxxing? · · Score: 4, Funny

    I'm Tina Crumpett, and I work in London in hospitality.
    I'm Luke A. Boyd, and I work as an ornithologist.
    I'm Imelda Czechs, and I work in payments.
    I'm Turner Luce, and I work in animal control.
    I'm Lisa Carr, and I work in car sales.
    I'm Otto DeLupe, and I'm a CIO.
    I'm Picov Andropov, I work as a chauffeur in Moscow.

    ...with apologies to the folks at the old Car Talk radio show.

  10. Re: Same old RMS on Interviews: RMS Answers Your Questions · · Score: 1

    Good point. I'm contributing money to the development of services and software that give me the features I want to use without tracking me. But my contributions are not proportionate - if I spent $600 on a traditional Android phone and donated $20 to Replicant, and most of the world doesn't even do that, then obviously Replicant won't take off.

    I bought a subscription to the https://sandstorm.io/ service, because it's an attempt at making host-your-own web services more secure and more simple for non-technical people. I plan to use their own Sandstorm hosting for services I'm comfortable with making public, and host my own Sandstorm instance out of my house for services I want to (try to) protect from surveillance.

    I backed the own-mailbox kickstarter ( https://www.kickstarter.com/pr... ) because if it works it will dramatically simplify hosting my own secure mail with PGP for communication with other PGP users and messages guarded by https links and passwords for communication with non-PGP users.

    I think the real long term solution, besides Replicant, is true peer to peer networks that are harder to snoop like ZeroNet, mesh networks like Hyperborea, and peer to peer networks that run on distributed digital currency like MaidSafe and Ethereum.

    I think one convenience that sucks people into proprietary ecosystems is voice recognition software like OK Google, Apple's Siri, Microsoft's Cortana, and Amazon's Alexa, but there's hope in the form of the Mykroft project ( https://www.kickstarter.com/pr... ) and Qt 5.6 beta will be getting speech recognition features.

    The last nut to crack is search, and that's a tough one. I tried the distributed search engine Yacy for a while, but it didn't work well enough to be usable. I use the DuckDuckGo search engine, which at least has the benefit of being tiny next to the search giants. But DDG tends to not reference recent information or weigh it poorly against older information, so if I need to see something that happened in the last year most of the time I'm forced to go directly to Google.

  11. Re:Same old RMS on Interviews: RMS Answers Your Questions · · Score: 2

    You're blaming the person doing the right thing because the average citizen isn't following? If you lived 160 years ago, would you be blaming the abolitionists because there was still slavery?

    He's not dodging questions. He answered directly, and he's very careful to articulate his exact position on everything. You seem to be making the argument that he should compromise on his position and that would help free software. Look at the technology world, most people in the open source community compromise on proprietary software, and that is exactly what has brought us to where we are today.

  12. Re: What's the real problem? on Ask Slashdot: Advice On Enterprise Architect Position · · Score: 1

    I should have added a lot more context to what I wrote. A rewrite for Linux doesn't magically solve technology problems and unless your application is trivially simple the return-on-investment window for cutting your straight licensing costs and even your sysadmin time managing Windows license costs (which is the expensive part) is probably measured in years or decades. I understand that.

    I just get painfully annoyed when I have to set up a server, or change a configuration file, or allow a third person to login to a machine, or otherwise get something useful done and I have to wrestle with licensing first. I respect Microsoft's right to be paid, but in an ideal world after I paid the licensing problem would magically disappear until I have to order new services. Pay once, and never ever manage licensing again. No such luck. Open source is no silver bullet, but that's one particular werewolf it never has to battle.

  13. Re:What's the real problem? on Ask Slashdot: Advice On Enterprise Architect Position · · Score: 1

    As I wrote above, I should have qualified my original comment. Obviously there are times you're stuck with what you have and it's not cost-effective to do a rewrite. I realize and accept that.

    And I realize a bull-in-a-china-shop architect can demolish a Linux environment or FreeBSD environment as quickly as he can screw up Windows Server (or Solaris or whatever).

    I was just whining about the fact that if you run proprietary applications, some of the time you wrestle with artificially imposed problems that make your life more difficult in order to make sure the vendor gets their money. I understand - and even respect - their motives, but even when I'm in complete legal compliance with all of their requirements it eats some of my time.

  14. Re:What's the real problem? on Ask Slashdot: Advice On Enterprise Architect Position · · Score: 1

    I should have qualified my original post a lot more. Obviously if you have a contract with a client that states you will use Windows Server, you have to keep using it. Obviously if you have a million lines of code that is Windows-specific in an important application, that application will run Windows until it's retired - and it's likely not to be retired until the company ceases to exist - because it will probably never provide a good return on investment to rewrite for an open source operating system. And obviously, running an open source operating system doesn't magically sole technology problems.

    I just froth at the mouth and want to develop an alcohol problem every time I realize that I spent a few days wrestling with Microsoft/Oracle/SAP/whatever licensing instead of actually setting up servers, setting up networks, testing, or writing code.

  15. Re:Architect != sysadmin on Ask Slashdot: Advice On Enterprise Architect Position · · Score: 2

    I third this, and suggest pushing hard for a complete copy of production in a testbed environment where you do have root access. Do whatever the hell you want to your testbed, provided it's documented. Then incorporate what works into your plans and discuss with the systems team how to roll it out in production. They may have reasonable objections - listen. If the company has 3000 employees, 60 servers, and 1500 VMs then at least some of the systems staff knows their job.

  16. Re:What's the real problem? on Ask Slashdot: Advice On Enterprise Architect Position · · Score: 1, Troll

    Windows Server has a lot to recommend it. I genuinely mean that. But spending any of his time or yours solving proprietary software licensing issues instead of making your own products work is a gigantic waste. You're not in business to make Microsoft money and you don't run all of your servers for the sole purpose of interacting with Microsoft licensing. You run servers as a means to host your software, and licensing headaches are an obstacle and not an aid.

    I'm not defending your architect. He was out of his depth, and instead of asking for help he made the situation worse. But the very fact that the problem exists is yet another reason to write the next version of your server applications to run on an open source host operating system.

  17. Re:Purpose? on Open Source, Collaborative Rich-Text, Web-Based Editor Almost Available · · Score: 1

    First, as Krishnoid mentioned upthread the Etherpad project is open source and already covers this: etherpad.org

    But cloud hosted software is wonderful, provided the end user owns the service. Owncloud, Sandstorm.io, etc...

  18. Re:Etherpad lite is pretty close on Open Source, Collaborative Rich-Text, Web-Based Editor Almost Available · · Score: 1

    I was going to mention this one. I've been using Etherpad on the Sandstorm.io service for a few weeks and I haven't had any problems yet. I haven't used it extensively, though, and I've only been sharing documents between two accounts. But so far, so good.

  19. Good point on your criticism to my first comment. Old C++ libraries are baggage that newer languages don't have, but clean slate new C++ programs can ignore old libraries as easily as new languages can. I was hypocritical with that argument and didn't notice. Thanks.

    I would assume that for developing most code, unless you're hitting specific performance-related problems you need to debug, you do most of your compiling without the optimizer. Once it's more or less feature complete, then you have a few optimized builds before release. But even so, I work in web development. Python and PHP may not be finished getting out of bed for a day of number crunching when when C++ is already in the bar enjoying a beer, but with web work when you're accustomed to a recompile and re-deploy cycle of "Ctrl-s, Alt-Tab, F5" it makes working with C++ feel like sticking thumb-tacks into your face.

    In terms of abstraction levels and such, that's a whole separate discussion or debate. I've swung around to the Clojure community philosophy of working with the simplest possible data structure that gets the job done. See for example the video https://www.youtube.com/watch?... - of course I don't know the particulars of your work so I would be foolish to assert without specific evidence that you're doing something wrong by making your own data structures. Clojure supports interface-based polymorphism and you can even use Java's inheritance-based polymorphism too, but the best practice method is to work as much as possible with sets, vectors, lists, maps (aka associative arrays) and keywords (enums). By staying at that level as much as possible, you have code that's much easier to inspect and reason about, and you get a staggering amount of libraries that will work on your data as-is instead of using the Visitor pattern and the Strategy pattern and the Decorator pattern and all of those other Design Patterns that provide wonderful fixes to one problem at the cost of requiring lots of extra work to interact with other code. So maybe Go with the simple data structures and the right code would do your work well - minus any performance deficits, of course - but maybe not.

    I hadn't followed the evolution of the D language much. I stumbled across the language a few years ago when D 2.0 seemed relatively stable. I admit, I would have been furious if I had been an early adopter of D 1.0, because the transition between 1.0 and 2.0 was enormous.

  20. Re:Already propagating on Coca-Cola To Fund Research That Shifts Blame For Obesity Away From Bad Diets · · Score: 1

    I've read Protein Power and Dr. Atkin's books, among others, and what they write and the research they use to back it up make sense, but when I cut my carbohydrate intake to 50 grams per day or less and ate that way for three months, I only lost fat for the first month and a half or so and even then barely a pound per week. I had a good intake of fat, protein, and vegetables at the time too.

    So while the connection between saturated fat intake and good cholesterol, and protein intake and overall health might be rock solid, I am not sold on the fat loss. I have an easier time cutting calories, at least for a little while, on a diet with a high proportion of fat and protein in the food. But I still have to cut calories to slim down, period.

  21. Re:Already propagating on Coca-Cola To Fund Research That Shifts Blame For Obesity Away From Bad Diets · · Score: 1

    Not hungry? Really?

  22. Go as a C++ replacement should be fine unless you need manual memory management. D as a C++ replacement should be awesome - D has garbage collection by default but manual memory management as optional. I'm surprised the Mozilla team didn't go with D. I don't have anything against Rust, mind. It just seems to me that in general terms D already provided almost everything the Rust designers had in mind.

    C++ drawbacks:
    1. The language has a long history, which by its nature means there is tons of older C++ code around. So while you can write a new program with a small, safe, consistent set of the language features, you will often find yourself reading and calling older code that deals with corner cases and language features you don't understand. (I mean "you" in the general sense, for all I know serviscope_minor knows every revision of the C++ standard backwards, forwards, sideways, and inside out and all of the compiler quirks and corner cases dating back to Stroustrap's first release.) Go, Rust, and D adoption is hindered by the fact that there isn't half a billion or more lines of code in their respective languages in use around the world, but for all three of those languages you won't get bitten by misunderstanding older versions of the code or compiler quirks. They were designed with the benefit of hindsight using C++ as a starting point.
    2. C++ has a preprocessor and header files. In the time it takes to compile a three million line C++ program, you can compile a three million line Go or D program and build a two car garage. I think Rust is in the middle, but closer to Go and D for compiler times on large projects than to C++. The C++ preprocessor and header files are fundamental to the language, you can't get rid of them without breaking most older C++ projects. This is a headache that will never go away. This slow compile time is the fundamental reason most websites are not written in C++ despite the fact that C++ demolishes competitors for performance. I expect to see more websites written in Go, D, and Rust as time goes on because they're getting close to C++ for raw performance but the edit-compile-run-test loop time for any website much bigger than "Hello World" is much closer to that of PHP than that of C++.

  23. Re:note 4 on Ask Slashdot: Best Big Battery Phone? · · Score: 1

    Planned obsolescence is more profitable for vendors. But really, the only reason to upgrade since the Samsung Galaxy S3 era Android phones has been for the camera. I think 2GB of RAM or Android 4.x or both were the tipping point to where Android is stable and simple to use. All enhancements past that has been window dressing.

    But of course, you need CyanogenMod or something similar to keep getting security updates on older phones.

    I think the really cost effective thing to do would be to get a Samsung Galaxy S3 or something similar and a separate digital camera, and just get into the habit of carrying both around. But I forget the phone as it is.

  24. Re:Google Search on Ask Slashdot: Best Big Battery Phone? · · Score: 1

    My HTC One Max has a 1920x1080 (not quad hd) screen and 3300 mAh battery, I can get two days between charges with moderate usage. My daughter can watch Netflix on it for about six or eight hours before it needs a charge. (I know it's no good for her to watch that much, but sometimes I'm just too damn tired to make her do something else.) The phone is good in all respects except the camera, which just can't match the mid range or better Android cameras.

  25. Re:Already propagating on Coca-Cola To Fund Research That Shifts Blame For Obesity Away From Bad Diets · · Score: 1

    I think saying that "calories in - calories out", while technically true, is not useful. It's like saying, "The secret to limitless wealth is to earn a lot more than you spend." Or "The secret to being an immortal is avoiding death!"

    While 1500 calories of cotton candy has the same energy as 1500 calories of tuna, eating the cotton candy will probably wreak havoc with your insulin, blood glucose levels, etc... over the short term but leave you feeling hungry again in short order. The 1500 calories of tuna will be much harder to eat - you'll get tired of the taste quickly - but leave you feeling satiated for much longer. Human beings are not machines, sense of satiation matters.

    With respect to the "low fat" dieting, this is still a heated discussion but I think evidence has accumulated that it was a failure. You can even ask whether it merely accompanied the American obesity epidemic or actively contributed to it. Wheaties in skim milk is a standard part of a low fat diet, but the same amount of calories in the form of eggs and bacon will keep your hunger at bay for many hours longer.