Slashdot Mirror


User: bws111

bws111's activity in the archive.

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

Comments · 3,949

  1. Re: Nothing does on Join COBOL's Next Generation · · Score: 1

    It was character data. The compiler first packs the data to bcd, then uses decimal operations, then unpacks the result. Three instructions. Rollovers work just fine.

  2. Re:Nothing does on Join COBOL's Next Generation · · Score: 1

    BCD is packed decimal. The number 12 would be stored in 1 byte as '12'x. ASCII decimal would represent 12 as '3031'x. The purpose of the pack and unpack instructions are to convert between those formats. As to what uses it, minor things like keyboards, displays, printers, etc.

  3. Re:Nothing does on Join COBOL's Next Generation · · Score: 1

    Most cobol programs are running on mainframes, and mainframe cpus do, in fact, do decimal math. And when I said efficient I meant run time efficiency. Your example, especially if it is in a library, is not efficient.

  4. Re:Nothing does on Join COBOL's Next Generation · · Score: 2

    People don't do that because it is stupid. C makes NO GUARANTEES about the layout of structures. If you only have one compiler, and are not sharing your data with any other system you might get away with it.

  5. Re:Nothing does on Join COBOL's Next Generation · · Score: 1

    No, it isn't. Your ignorance is showing. Decimal types mean you have decimal data. So you can have two records with EBCDIC/ASCII decimal fields in them, read those records in (without doing ANY parsing or translation of the records, add two fields together and write the results. Excluding the actual IO operation, that can be done in only 7 instructions (PACK, OI (to set the sign) for both operands, ADD PACKED, UNPACK, OI). Note that the compiler is using DECIMAL instructions to do that.

    Which of your 'modern languages' can do that more efficiently?

  6. Re:Legal in your country. on Ask Slashdot: Can I Cross US Borders With Legally Ripped Media? · · Score: 2

    I don't think carrying personal belongings counts as importing, unless the items are going to remain in the US when you leave. At least, that is what the customs declaration form says.

  7. Re:Legal in your country. on Ask Slashdot: Can I Cross US Borders With Legally Ripped Media? · · Score: 2

    You may have to pay duties on anything that will remain in the US. If you are bringing something in and taking it with you when you leave, you do not need to declare it.

  8. Re:Legal in your country. on Ask Slashdot: Can I Cross US Borders With Legally Ripped Media? · · Score: 1

    There is nothing illegal about possessing music and movies in the US, regardless of where you got them.

  9. Re:Not really surprising on The Glorious Return of the Twinkie · · Score: 1

    Yeah, right. Who in their right mind is going to take the job for 1/3 the wages and benefits, when they could be making 3x somewhere else? Not top talent, that is for sure.

  10. Re:WTF? on The Glorious Return of the Twinkie · · Score: 1

    The brand was never discontinued by it's owner. The owner was forced into liquidation by bankruptcy, which had little to do with the brand and much to do with high labor and pension costs. The brand remains popular, so why shouldn't it sell for $400 million?

  11. Re:actually what happened on Tesla To Build Its Own Battery-Swap Stations · · Score: 1

    Yes, that is what I said - cars got better, and people rethought what they really needed.

  12. Re:Can't fix what? on Ask Slashdot: What Should a Non-Profit Look For In a Web Host? · · Score: 2

    Oh, is that what he meant. I interpreted being 'a non-profit dealing with 503s on a daily basis' as looking for some sort of B2B stuff. 503s are tax exempt organizations.

  13. Re:reclaim their original battery? on Tesla To Build Its Own Battery-Swap Stations · · Score: 1

    He's talking about the tank itself, not the propane IN the tank. Tanks last about 10 years, grills don't, unless you buy a VERY expensive built-in grill.

  14. Re:$80 per 15 gallons of gas on Tesla To Build Its Own Battery-Swap Stations · · Score: 1

    California has minimal agriculture?? It has twice as much agricultural receipts as the next highest state (Texas).

  15. Re:reclaim their original battery? on Tesla To Build Its Own Battery-Swap Stations · · Score: 2

    In the 60's everybody drove huge V8 powered behemoths. Then gas started getting expensive, and Japanese manufacturers started introducing small 4 cylinder cars. Many, many people said 'those small cars will never be suitable for me - I can't put the whole family and a ton a camping gear in there, they have too little power for my kind of driving, it will be too uncomfortable to drive for long distances, etc'.

    What does the road look like today? It seems that an awful lot of people who thought they could not possibly use a small 4 cylinder car are, in fact, using small 4 cylinder cars. So what changed? First, the small cars themselves got better. Second, people realized that their actual driving requirements were not what they had thought they were. They realized they did not need a large car all year just so they could go on vacation once a year - you can rent a large car for that. They realized that you do not need a 400HP car just so they can tow their boat to the lake in spring and back again in fall - you can rent a truck or pay someone to haul the boat for you. In short, they realized that the benefits of a small car outweighed the supposed restrictions it put on their driving habits. And, of course, if you do actually need a large vehicle or truck, you can still buy one.

    Electric cars are now pretty much in the same position as small cars were in the 70s. They will improve, and people will make their own decisions on which car is right for them.

  16. Re:reclaim their original battery? on Tesla To Build Its Own Battery-Swap Stations · · Score: 2

    However, once electric cars become very popular any parking space could potentially be a 'filling station'. Charge your car while shopping or at work. This is a huge opportunity for people to make money, and it will be used.

  17. Re:Not MOney Laundering on Former TigerDirect President Indicted In $230 Million Laundering Scheme · · Score: 1

    Of course there is harm. If a vendor is willing to offer rebates because of volume (nothing illegal about that), then that rebate money belongs to the company. The employee keeping the money (and not informing the company) is fraud.

  18. Re:Was I the only one? on Former TigerDirect President Indicted In $230 Million Laundering Scheme · · Score: 1

    These allegations have nothing to do with the company, it's customers, or any scam against it's customers. It is about an employee of the company who defrauded the company.

  19. Re:Explain the diff between sales commissions and on Former TigerDirect President Indicted In $230 Million Laundering Scheme · · Score: 2

    On the off chance you are not just trolling...

    The guy who sells you trucks works for a Ford dealer. The dealer pays him commission for selling their product. Nothing shady about that. He is acting in the best interest of his employer when he sells you a Ford truck.

    This guy was not acting in the best interest of his employer. Rather than make supplier decisions based on the companies criteria, he was making them based on who paid him the most bribes. Even if you look at the kickbacks as some sort of volume rebate, that money should go to the company, not the employee. His keeping the money (and hiding it from his employer) is fraud. The money laundering is what he did to hide the money obtained by the fraud.

  20. Re:good on MySQL Man Pages Silently Relicensed Away From GPL · · Score: 1

    Your chances are exactly zero of success in court. Nobody cares what your costs are. The questions are going to be:

    Let's see the contract you have with Oracle (don't have one, but I do have this license that clearly says it is provided as-is, with no warranty of any kind)

    OK, well then how much did you pay Oracle for the software (zero).

    Goodbye.

  21. Re:good on MySQL Man Pages Silently Relicensed Away From GPL · · Score: 1

    If any of what you said was true (it isn't) or made sense (it doesn't) then nobody in their right mind would ever release anything open source.

    No court is ever going to say that someone is required to perform some service (like release a new version of MySQL under GPL), when there is no benefit to them to doing so. Sorry, but one cannot bind themselves to slavery (which is basically what you are asking for) just by issuing a statement or 'promise'.

    If someone is dumb enough to base their systems on a piece of software provided by someone else, with absolutely no guarantee (not vague statement) of future updates or support (you know, that whole THIS SOFTWARE IS AS-IS... thing at the start of the GPL) that is entirely their problem, not the person who wrote the software.

  22. Re:good on MySQL Man Pages Silently Relicensed Away From GPL · · Score: 1

    That would only apply to stuff already distributed under GPL. If you have a copy distributed under GPL then you are free to distribute, etc. However, there is nothing that could force the copyright holder to continue releasing under the GPL.

    Being forced to release under GPL would be like the creditor being forced to forgive future debts just because he forgave a previous debt.

  23. Re:good on MySQL Man Pages Silently Relicensed Away From GPL · · Score: 5, Insightful

    It is not possible for the copyright holder to commit a license violation.

  24. Re:"Conspiracy theorists" on Dotcom Alleges Megaupload Raid Was Part of Deal To Film The Hobbit · · Score: 1

    Sounds like how psychics work - just keep spewing enough crap, and eventually something may actually be true.

  25. Re:Business use on Red Hat Ditches MySQL, Switches To MariaDB · · Score: 1

    DB2 runs on 32- and 64-bit Intel and AMD processors, POWER processors, and System Z processors. Please tell us which of those is 40 years old.