Slashdot Mirror


User: jeremyp

jeremyp's activity in the archive.

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

Comments · 2,700

  1. Re:Simple on Ask Slashdot: What's the Harm In a Default Setting For Div By Zero? · · Score: 1

    Sales chart lists all sales broken down by department. Electronics, hardware, etc. It also breaks it down further, hammers, table saws, etc. Hardware sold nothing last month. What percentage of that was hammers?

    100%? 0%? 53.7%? The question is meaningless if you didn't sell anything at all. If your code doesn't handle the case where itemsSold == 0, it is bad code.

  2. Re:x/0 does not equal 0. on Ask Slashdot: What's the Harm In a Default Setting For Div By Zero? · · Score: 1

    They're not in any kind of state to care how many apples they have got, so you can tell them you gave them two apples and then run away.

  3. Re:Idiot on Ask Slashdot: What's the Harm In a Default Setting For Div By Zero? · · Score: 1

    They are regions of space-time from which even light isn't fast enough to escape. Einstein's General Theory of Relativity predicts a singularity at the centre of a black hole i.e. a non zero amount of mass is squished into zero volume. This seems impossible so most people think that GR breaks down in such extreme conditions and we need a new quantum theory of gravity.

    i.e. the division by zero is an indication that the model is wrong.

  4. Re:Hellooo? GPL violation? on LibreOffice Now Available On Apple's Mac App Store · · Score: 1

    or even the GPL.

  5. Re:Hellooo? GPL violation? on LibreOffice Now Available On Apple's Mac App Store · · Score: 1

    It's distributed under the LGPL according to the Libre Office web site which is presumably the licence under which the version of OO from which was forked was distributed. The same issues should apply as with the GLP though.

  6. Re: If there are patent issues on Reasons To Use Mono For Linux Development · · Score: 2

    It's not a language at all. It includes a C# compiler but you can use any language that has a translator to CLR code.

  7. Re:15 years in the embassy on Julian Assange To Be Interviewed In London After All · · Score: 1

    Nobody is keeping Assange in a dungeon. He could walk out of the building where he lives any time he likes. It's nobody's decision but his own to stay there. This would all be over now if he had not chosen to flee justice.

  8. Re:15 years in the embassy on Julian Assange To Be Interviewed In London After All · · Score: 1

    Do you honestly think that would actually happen to a man who has had as much publicity as Julian Assange?

    This is all about avoiding the rape charge, nothing else. Assange clearly thinks that there is a chance he might get convicted.

    That last sentence is speculation, but it is a more credible story than that the UK or Sweden would collude in a CIA kidnapping of a public figure.

  9. Re:Popping the popcorn on Julian Assange To Be Interviewed In London After All · · Score: 2

    He is a fugitive. He broke bail conditions from a British court and he is holed up in the Ecuador embassy in order to evade a European arrest warrant.

  10. Re:Frustrating type conversions on Swift: Apple's Biggest Achievement For Coders · · Score: 2

    Trust me, when I assign a double to an int, I know I lose the mantissa. .

    Since it's actually the exponent you lose (and maybe also some or all of the mantissa depending on what the value of the exponent was), I really think you need to start using a language that gently reminds you that converting from a double to an int is not necessarily a trivial exercise.

  11. Re:Yes, but it will be a while. on Swift: Apple's Biggest Achievement For Coders · · Score: 1

    No it isn't. The Swift runtime is entirely different to the Objective-C runtime. However, if you want to write a usable app with a GUI, you do need to use the Cocoa libraries which are mostly written in Objective-C.

  12. Re:Apple Developer Program now all inclusive on WWDC 2015 Roundup · · Score: 3, Insightful

    Wait, you guys (Apple developers) have to pay *licenses* to Apple to write programs and apps on their platforms?

    No.

    You can get Xcode and all the SDKs for free either through the app store or by registering as a developer (free). You pay $100 for the ability to sign your compiled applications. On OS X this means people who download your compiled binaries won't get a warning that the code is unsigned.

    On iOS you can't put unsigned code on any device, not even your own, without the signing cert so to do serious development, you need to pay $100 (your code will run in the simulator without signing, but the simulator runs x86 binaries so it's not a proper test of the code's behaviour on a real device). This isn't really a big deal because to develop for iOS you must have a Mac and some sort of iOS device so you can probably afford $100.

    The $100 also gives you early access to all betas, so I could install El Cap now, if I wanted (I don't), however, over the last year or so, for me it's been most useful for access to Swift betas. The early versions of the Swift development environment were tragically unstable and produced code that was quite slow. You had to be on the bleeding edge to get all the bug fixes.

  13. Brilliant idea. I can sign my tags with my ssh key... ... oh, wait....

  14. Re:Does US have any real jurisdiction over FIFA? on Indicted Ex-FIFA Executive Cites Onion Article In Rant Slamming US · · Score: 2, Insightful

    Nope he means football, but not the weedy version of rugby played in America by precious little flowers who are so delicate they need to wear helmets and have a breather after every throw of the ball, not the game where 60 minutes of action is padded out to three hours with TV adverts, not the game where being caught cheating gets you a slap on the wrist instead of disqualification.

    He's talking about football, the game where use of the feet to control the ball is the rule rather than the exception, where skill and dexterity with the ball are more important than being a meathead capable of barging other meatheads out of the way.

  15. Missing the point on Australia's Prime Minister Doesn't Get Why Kids Should Learn To Code · · Score: 1

    The summary misses the main point of the story. Tony Abbott ridiculed the concept of teaching children to program in response to a question by the opposition leader when his own government of which he is the leader already has a policy in place to fund teaching children to program (although not to make it compulsory).

  16. Re:Android IS a huge financial success. . . on The Tricky Road Ahead For Android Gets Even Trickier · · Score: 1

    The flaw in your argument is that Apple decided to go it alone with maps because of Android. Without Android, Google and Apple would most likely be in partnership on pretty much everything online.

  17. Re:*shrug* on How Much C++ Should You Know For an Entry-Level C++ Job? · · Score: 1

    Danger money

  18. Re:To be more specific ... on Why PowerPoint Should Be Banned · · Score: 2

    The common factor in all of those unproductive meetings is you.

    Just saying...

  19. Re:bunch of naggers on British Politicians Delete Negative Wikipedia Descriptions Before Election · · Score: 2

    I'm not convinced we got the lesser evil though.

  20. Re: stable on Linux 4.0 Has a File-System Corruption Problem, RAID Users Warned · · Score: 1

    On every popular PC operating system in use today (and Linux), the kernel and the drivers share the same address space. It is thus beyond reasonable expectation for the OS to be able to protect itself from faulty drivers. Although Linux was designed this way from the start, OS X and Windows both started as microkernels (where the drivers have their own address space) but were "downgraded" to monolithic kernels because of performance concerns. Switching between address spaces has an enormous cost.

  21. Re: stable on Linux 4.0 Has a File-System Corruption Problem, RAID Users Warned · · Score: 1

    I can write you a touchpad driver that will crash Linux even if you don't use the touchpad on start up. That Linus Torvalds really doesn't know what he's doing.

  22. Re:Yes & the sheer amount of existing code/fra on The Reason For Java's Staying Power: It's Easy To Read · · Score: 5, Insightful

    Actually, it's easy to read because it is verbose and inexpressive as you put it. Generally speaking, the more information you pack into a sequence of characters, the harder it is to understand. There are also relatively few syntactic constructions to get your head around and tokens are not usually overloaded with different meanings. It doesn't take long to learn the whole language, which means that even a newbie has a good chance of reading a piece of code without coming across something they haven't seen before.

  23. Re:Syntax hilighting on Choosing the Right IDE · · Score: 1

    And I bet he would have been more productive with a modern IDE assuming there is one that supports COBOL.

  24. Re:As long as you consider one... on Choosing the Right IDE · · Score: 1

    It's not about what you need. Autocomplete is not necessary, but it certainly makes life easier. You don't need a chainsaw to cut down a tree, but you'll get the job done quicker if you've got one.

  25. Re:Only one and it's vi not emacs. sorry on Choosing the Right IDE · · Score: 1

    Our sysadmin once made a Linux VM unusable with nano. He used it to edit the pam.conf file and nano helpfully wrapped a long line by putting a line feed in at the last space before 80 characters. After that, nobody could log in anymore, not even the sysadmin who had logged out to test the change he had made.

    We got the system back with a Linux live CD and the sysadmin started the vi tutorial the same day.