Slashdot Mirror


User: DrXym

DrXym's activity in the archive.

Stories
0
Comments
9,024
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 9,024

  1. Re:There is an old saying in business on Netflix Now Only Has 31 Movies From IMDB's Top 250 List (streamingobserver.com) · · Score: 1

    I doubt Netflix pays more than a few cents when someone streams a back catalogue movie. If Netflix isn't showing them it's probably because they haven't got an ongoing arrangement with the rights holder.

  2. Re:I'll probably get modded troll but... on Apple CEO Tim Cook Remembers Steve Jobs On Fifth Anniversary of His Death (macrumors.com) · · Score: 1

    Statistically he would have had a far better prognosis if he had sought prompt proper medical treatment and followed the advice of doctors. Of course nobody could say for sure if he would have died anyway but he sure as hell didn't do himself any favours by choosing woo.

  3. Re:That must be old news on Researchers Restore the First Recording of Computer-Generated Music (bbc.co.uk) · · Score: 1

    The stupid part is the BBC doesn't use Flash for mobile devices. They don't need Flash on the desktop either.

  4. Re:The what now? on The Microsoft Band Is Dead (zdnet.com) · · Score: 1
    I saw it on sale on Amazon last Christmas. I was semi-tempted to buy one at the price but I allowed my better judgement to overrule my impulsive side.

    I'm sure it would have been a reasonable for what these bands are but the reality is they all have really shitty battery lives and are tied to online / cloud like services. I don't see the point of buying something which is subject to the whims of a big business or the precariousness of a smaller one. If the cloud service is discontinued they're basically useless.

  5. Simple answer - Yes on Are Flawed Languages Creating Bad Software? (techcrunch.com) · · Score: 1

    Certain languages, particularly C and C++ have dangers and pitfalls all over the place. Writing a piece of code that is exception safe or does copy constructors / assignments properly is pain in the ass and unsurprisingly it might not happen properly in a lot of code and lead to leaks / crashes. It's no excuse to blame developers - yes experience will allow some pitfalls to be avoided but the pitfalls often have no reason for being there in the first place.

  6. Re:Makes perfect sense on New iPhone 7 Case Brings Back the Headphone Jack (thenextweb.com) · · Score: 4, Funny

    That's a great idea for a kickstarter - an iPhone case with a built-in Galaxy S7 to do all the things the iPhone stops you doing.

  7. Re:What the Idiotic Hell./ on Which Programming Language Is Most Popular - The Final Answer? (zdnet.com) · · Score: 1
    Which benchmarks in particular? I've followed quite a few Reddit discussions comparing Rust to C/C++ benchmarks and usually any major discrepancy boils down to something unrelated to the language. e.g. discrepancies in how the benchmark is written for each language, e.g. some C/C++ benchmarks conditionally run SIMD intrinsic functions or OpenMP extensions. Or peformance differences in something specific such as a regex library. BTW Rust does have a SIMD library and data parallelization libs but it doesn't seem of relevance to compare a benchmark in one language that doesn't do them to one that does.

    And if you compare basic runtime performance of the generated code they come out the same. And this should not be surprising. Most of Rust's safety / lifetime checking is compile-time and incurs no runtime cost. It spits out bitcode which is optimised and turned into machine code through the LLVM backend. The performance of compiling Clang code vs Rust should therefore be quite similar.

    And as I said, speed is not the only consideration. Rust may happen to be as fast as C or C++ but that alone would probably mean nothing. I expect the main attraction people see in the language is because it reduces the potential for runtime errors and therefore more stable software particularly in systems programming.

  8. Re:What the Idiotic Hell./ on Which Programming Language Is Most Popular - The Final Answer? (zdnet.com) · · Score: 2

    4. More popular languages tend to be faster. Usually a shit ton faster. Java has gone from a bloated mess to a bloated mess that is often within spitting distance of C on performance shootouts. That's from the popularity spurring further development. C is almost always king of the hill and nothing is faster. Python? Rust? Whatever n00bs. Those languages may be nice to write complex code that only gets run occasionally but if you need high end performance they aren't going to cut it.

    Rust is a compiled language. It uses the same backend as Clang to produce optimized code. The code it produces as fast as C and C++ while still providing protection against data races and a raft of other issues that can crash or destabilize something written in C or C++.

    So while it may not ever gain the popularity of C or C++, the implication that its slow is wrong.

    And besides, in the real world, speed is not the only consideration. Time to market is important, reliability is important, maintenance is important, portability is important. High level languages have become popular because they avoid a lot of the nasty pitfalls that are found in the likes of C and C++. Even if there is a performance trade off, it might be seen as worth it if the code is delivered on time and meets the requirements.

  9. Re:This again? on Which Programming Language Is Most Popular - The Final Answer? (zdnet.com) · · Score: 2

    Not quite. Assembly language normally contains conveniences like pseudo instructions, constants, macros, effective addresses etc. that stop programmers from completely losing their minds.

  10. Too easy to get hung up on one language on Which Programming Language Is Most Popular - The Final Answer? (zdnet.com) · · Score: 1
    I find the best way for my skills to remain relevant is to have the day-job language(s) and learn a new one on the side. And by learn a new one I don't mean just reading a book or doing some crappy tutorial. I mean write something substantial and functional in it. Something you can stick on the resume because the project is open sourced or otherwise visible to someone who cares to look for it. Open source is best because they can see your actual code and your authorship.

    Even if the new language turns out to be a dud it's still a good exercise since it demonstrates to an employer (and to yourself) that you are motivated, can adapt and are capable of learning new skills.

  11. Re:Rust gets it right on TypeScript 2.0 Released (arstechnica.com) · · Score: 1
    You don't have to unwrap on everything though. If I have a function that is guaranteed to return something (e.g. a constructor) it just returns that thing. Compare to C++ where anything that returns a pointer is potentially capable of returning NULL even if it shouldn't.

    Option and Result are only necessary for actions which might legitimately might return something or might not. e.g. a network request, or retrieving a record from a database. Even there it's not necessary to unwrap since you could say "if let Some(foo) = do_something() { ... } else { ... }" and the object foo will be unwrapped straight into the variable foo.

    I think Rust has some very clumsy syntax though especially when types are nested inside boxes, cells or whatever. It'd be nice to have a super unwrap which can reach all the way into a boxed, refcounted thing and just return it with minimal code.

  12. Re:Why is Windows 10 the benchmark? on SolidRun x86 Braswell MicroSoM Runs Linux and Full Windows 10, Destroys Raspberry Pi (betanews.com) · · Score: 1
    I doubt many embedded systems even need RTOS. Devices like routers, set top boxes, IoT etc. just needs to be responsive to normal system events. Chances are they're running a pared down ser of processes so they're not exactly doing much except what they're supposed to be doing.

    If I did need an RTOS I'm not so sure I'd even trust hardware like the RPi to run it. If it's that critical that it works, then running it on a cheap board seems like a false economy.

  13. I'd be far more interested in what comes next on Computers Decipher Burnt Scroll Found In Ancient Holy Ark (nationalgeographic.com) · · Score: 4, Interesting

    Seales says he's working on hundreds of scorched scrolls uncovered from Herculaneum. To me that would be a FAR more interesting project. They might discover lost Greek texts or other works of antiquity. Even if its just tax returns, local ordinances or mundane records related to daily life it would still be interesting.

  14. Re:"it was used for children's writing exercises" on Computers Decipher Burnt Scroll Found In Ancient Holy Ark (nationalgeographic.com) · · Score: 3, Insightful

    It's called abiogenisis and there are various plausible hypotheses. But even if someone were to demonstrate a self assembling and self replicating molecule through one of these processes it doesn't say that's how they occured on Earth over 3.5 billion years ago. But just because something is unknowable does it become god-did-it.

  15. Rust gets it right on TypeScript 2.0 Released (arstechnica.com) · · Score: 1
    Rust probably isn't quite a "mainstream programming language" although it's getting close. But anyway it doesn't support null or null pointers for normal safe programming. Objects are created by declaring them so they either are or they aren't.

    If you have a function that may return an object or may not for some reason, then it must return an Option or a Result (or something of a similar nature) and the caller has to explicitly test and handle what got returned.

    Null is only supported for unsafe operations, e.g. calling out to some 3rd party library or a system API.

  16. Re:200 Million Yahoo "Users" on Yahoo Confirms Massive Data Breach, 500 Million Users Impacted [Updated] (recode.net) · · Score: 2

    Yahoo has been running for decades now. Even if in recent years they'd been salting and using key stretching / slow hashes to protect new users it might not necessarily protect somebody who created their account in 1999. The only way Yahoo could improve the security of these accounts is a mandatory password change at the next login, nag active users to change their passwords, or wait for users to change the password themselves. At present Yahoo are nagging users to change their password.

  17. Re:Cool, and no 4K content on 4K UHD TVs Are Being Adopted Faster Than HDTVs (venturebeat.com) · · Score: 1
    If you let some idiot build it they will still come.

    I suppose if you were buying a TV any way then it might be worth the future proofing. But buying a 4K without that reason doesn't seem very smart. 4K is still somewhat early adopter and the price of TVs will drop and the capabilities will increase. By the time there is 4K content to speak of they might be hundreds cheaper.

    The difference between 4K and 1080p is also far less pronounced than between 1080p and 480/576. You'd have to have a massive TV be sat extremely close to see the difference.

  18. Re:Already approved on Will Oracle Surrender NetBeans to Apache? (infoworld.com) · · Score: 1

    Perhaps it's because your question doesn't even make sense and is entirely subjective. Someone into gaming would probably not list any. Someone into their Android phone would probably list most of them.

  19. Re: Already approved on Will Oracle Surrender NetBeans to Apache? (infoworld.com) · · Score: 1

    No dipshit, he/she/you were asking a leading question. i.e putting words into my mouth. And the answer is still no.

  20. Re:Already approved on Will Oracle Surrender NetBeans to Apache? (infoworld.com) · · Score: 1

    COBALT? Even assuming you meant COBOL, the answer is no. You're putting words into my mouth.

  21. Re:Already approved on Will Oracle Surrender NetBeans to Apache? (infoworld.com) · · Score: 1
    Ah right. Java was invented through a fear of learning and developer incompetence. It couldn't possibly be because C and C++ have very obvious shortcomings that some people have a desire to solve while still preserving as much of what they like about it.

    And clearly since Java has become the bedrock of enterprise development they clearly got something right.

  22. Re:I learned it when I had to, and still sometimes on Emacs 25.1 Released With Tons Of New Features (fossbytes.com) · · Score: 1
    I used to use micro emacs a lot too. It was like emacs but without the bloat. I used it on an Amiga and QNX.

    TBH I've never gotten into Emacs. I'll use it when it is there, but the amount of extended commands and the frankly arcane knowledge necessary to configure it has always been a turn off. I still remember looking to enable syntax highlighting and discovered it was called "font lock mode" - WTF??? Micro emacs was just an editor and reasonably easy to set up. Joe was another editor in the same vein.

    These days I'd probably just use Atom, Notepad++ and/or IDE and leave them open all day. I only fire up a text editor when I'm in a console and I have something fast I need to do.

  23. Yes of course we should on Oldest-Ever Proteins Extracted From 3.8-Million-Year-Old Ostrich Shells (sciencemag.org) · · Score: 1

    I can see strong ethical questions being raised if this were some kind of proto-ape or early human species under discussion. I don't see any ethical question about bringing back a bird or other kind of mammal.

  24. That's not all it took on Robot Snatches Rifle From Barricaded Suspect, Ends Standoff (latimes.com) · · Score: 5, Funny

    It also took his clothes, his boots and his motorcycle.

  25. Re:Malware in torrents on Chrome and Firefox Block Pirate Bay Over 'Harmful Programs' (torrentfreak.com) · · Score: 1
    I expect legit companies do seed networks with broken content that doesn't work, or contains deliberate glitches and engage in other disruptive behaviour. Stuff tat sows confusion, discredits pirate sites and allows them to claw back some sales. They might even post out phony keygens / cracks which don't work.

    But I don't see them posting out trojans because of the potential repercussions if the file was traced back to them. I think you can blame the trojans on others. The first rule of a scam is to make the mark want to do something against their better judgement. The best way to do that is incentivize them into thinking they're getting a game for free or before anyone else. So wrapping up a trojan as a keygen or as a new movie is a perfect way to do that.