Slashdot Mirror


User: Megane

Megane's activity in the archive.

Stories
0
Comments
5,724
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 5,724

  1. Re:So much for "new" technology on C/C++ Back On Top of the Programming Heap? · · Score: 1

    But does anyone really use Ruby off rails?

  2. Re:When will people learn... on C/C++ Back On Top of the Programming Heap? · · Score: 1

    The design of cin/cout always struck me as someone showing off. "HEY LOOKIE! I can override the shift operators to do this awesome looking I/O stuff!" Also, the FQA has some examples of where it can bite you in the ass, like leaving the stream in hexadecimal mode, because that string of operators doesn't have any way to tell the object that "I've ended the statement, so please reset back to defaults kthx!"

  3. Re:When will people learn... on C/C++ Back On Top of the Programming Heap? · · Score: 2

    When you have some junior coder sticking a virtual function call inside a for loop

    If that function really needed to be virtual, it's a lot better than sticking a switch statement into EVERY for loop that uses it, with each branch calling the special function for that class type. (Not to mention needing to update every one of those switch statements when you add another subclass!) Or creating yet another function with that switch statement so you can keep it in one place. Or you could put a proc pointer in the struct, which is essentially the same thing as a virtual function call, only with uglier syntax.

    Not to mention that the vtable entries are effectively const, so even when using a virtual function, if you're doing multiple operations on the same object, the vtable access can be kept in a register for multiple calls.

    And if that function really didn't need to be virtual, simply not declaring it virtual will cause C++ to compile a static call. That's what sets C++ apart from other object-oriented languages, though it can bite you in the ass if you don't understand it.

    If you're going to complain about "junior coders" doing something, at least complain about something sensible. The real problem of C++ isn't speed, it's size, due to code bloat from excessive template use, with some degree of "write-only code" due to templates.

    (I use C++ in an embedded systems environment, so templates, exceptions, RTTI, and non-placement new are right out. But "C with classes" works great where you would have to do switch statements or proc pointers. The win is in code that's easier to understand, if you do it right.)

  4. Re:Yikes! on SpaceX Launch To International Space Station Delayed For Code Tweaks · · Score: 1

    Only if you can RFP more TLAs ASAP!

  5. Re:I can see the headlines now on SpaceX Launch To International Space Station Delayed For Code Tweaks · · Score: 1

    Next week on Family Guy: Peter gets a job writing spacecraft docking software!

  6. Re:Yikes! on SpaceX Launch To International Space Station Delayed For Code Tweaks · · Score: 1

    But they're a lot worse when you have to send updates to an already deployed system. LEO is one of the remotest of remote sites. It's kind of hard to get the janitor to walk up and to push the reset button for you. I think a week delay to get it right is a lot better than "ship it and we'll push an update later".

  7. Re:silly editors on Finding the Obamas In the 2000 Census · · Score: 2

    But at least it does cover all 57 states.

  8. Re:Brilliant! on Cringely Predicts IBM Will Shed 78% of US Employees By 2015 · · Score: 5, Insightful

    Do they have to report it as "layoffs" when they sell off entire business units to other companies?

  9. Re:17938 infringements or just 1? on Judge Grudgingly Awards $3.6 Million In DRM Circumvention Case · · Score: 5, Informative

    I don't see how they work out that it is 17938 infringements when they only set up one server, so they have only infringed once.

    That would probably because that was the argument from the only side that showed up.

  10. Re:Seems partly justified on Judge Grudgingly Awards $3.6 Million In DRM Circumvention Case · · Score: 1

    Back to the crux of this though, The UMaple people clean room reverse engineered the MapleStory server to run a completely separate environment.

    Too bad they didn't show up in court to make that argument.

    The lesson here: if someone is suing you for a (potentially) large amount, don't ignore it. Default judgments will never be in favor of the side that didn't show up.

  11. Re:check what he's suing over on Magician Suing For Copyright Over Magic Trick · · Score: 2

    The other day I was reading a scan of an old (1982?) issue of Byte magazine where an article talked about copyrights and object code (in the context of 1982, of course). One of the cases mentioned was a video company (Midway?) who bought the US rights to a Japanese coin-op video game had filed a video of the (same every run) attract screen with the copyright office. They were able to use the audiovisual presentation of the attract screen to win the case against people using copies of the ROM to make bootleg coin-op machines, at a time when computer object code was not considered copyrightable because it wasn't human readable.

  12. Re:forgot the fourth flavor, the torrent on The Three Flavors of Windows 8 · · Score: 1

    The legendary eightth flavor of Windows 8 is so delicious, that most people are deemed unworthy to experience it or even utter it's true name.

    Octarine?

  13. Re:Arianespace on SpaceX Dragon Launch To ISS Set For April 30th · · Score: 2

    While I understand your sentiment, if I was an astronaut aboard the ISS I don't think I would appreciate a unknown, unexpected, untested, unverified rocket hurtling towards my fragile little home.

    Indeed. And I'm sure there would be some nice men from the government who would not be amused. Or nice, once this happened.

    In fact, that's one of the reasons this launch was delayed. They need two people on the ISS qualified in the docking procedures for this mission, and they only recently got the second up.

  14. Re:Right Idea, Wrong Argument on Canada Post Files Copyright Lawsuit Over Crowd-sourced Postal Code Database · · Score: 2

    After years of work, you present your result to the general public, and it looks, well, like this [comic-freaks.com].

    It ends up like "(http://www.comic-freaks.com/images/stories/mona-lisa/mona-lisa-03.jpg)
    You are not authorised to view this resource.
    You need to login.
    " on a web page covered with scammy ad links? Wow, no wonder Canada Post is so pissed off.

  15. Basic Computer Games by David H. Ahl on Ask Slashdot: Best Book For 11-Year-Old Who Wants To Teach Himself To Program? · · Score: 1

    ...and an emulator for an 8-bit computer with some sort of MS-BASIC. Preferably a Z-80 or 6809 version, so maybe some kind of CP/M emulator, or a TRS-80 or CoCo emulator. The 6502 versions just weren't as well made, sorry Apple and Commodore fans. And an MS-BASIC with line numbers! That VisualPoundNet stuff can get the hell off my lawn.

    Seriously, typing in other people's code, then hacking it up, that's the best first step. No need to get fancy with programming languages or APIs, just get used to code and how it flows. Super Star Trek alone can give weeks of hacking fun. After a few months he can move to GCC on Linux or something like that.

    Just make sure the kid understands he's not going to create the next World of Warcraft in six weeks.

  16. Re:Wow, Slashdotters have gotten stupid on Expect Hundreds of Thunderbolt Devices, Says Intel · · Score: 1

    when you want to do some gaming rent a spot with a high end video card!

    Don't most high-end video cards use a 16x slot? TB is only 4x. It won't be quite so high end with only 1/4 of the bus bandwidth.

  17. Re:DMA Attack - so sorry, Intel on Expect Hundreds of Thunderbolt Devices, Says Intel · · Score: 1

    I have a solution for that. It's called a locked room.

    Now I have visions of a spy movie where they hack into someone's computer by taping a TB connector to a rod, pushing it through a cage wall in a data center, and connecting it to a computer's port. Except that there's not much special about TB that you couldn't do with ports we already have. (Remember how one hack for the PS3 was a buffer overflow in a USB device descriptor?)

  18. Re:.morons on ICANN's Brand-Named Internet Suffix Application Deadline Looms · · Score: 0

    I was thinking of ".stupid" myself, but yeah.

  19. Re:get over it on ICANN's Brand-Named Internet Suffix Application Deadline Looms · · Score: 1

    If http://pepsi/ [pepsi] resolved, who would win between my local machine named pepsi and the pepsicola pepsi domain?

    If everything was implemented properly, your local machine would, because the default domain would be searched first. You would have to add a "." after "pepsi" to force it to be a TLD. More importantly, this would be the correct response because who in their right mind needs to save typing four characters to go to Pepsi's web site? (Or for that matter, who would care enough to go to their website at all? Certainly not anyone I would like to associate with.)

  20. Re:Seems commercial... on ICANN's Brand-Named Internet Suffix Application Deadline Looms · · Score: 5, Informative

    For example, at my previous company, inside the local intranet I could type 'bugzilla' in the URL bar and it would resolve to the bugzilla of our company. It's really convenient. And now this sort of system will be impossible because it might conflict with the .wiki domain name space.

    Seems like someone has never heard of default domains and doesn't understand how domain name lookups work from the client side.

  21. A better name on Canadian Mint To Create Digital Currency · · Score: 5, Funny

    They should call it the BitLoon.

  22. Because it's hard, duh! on Ask Slashdot: Open Source Tax Software? · · Score: 1

    First of all, I use H&R Block's software because they're not the "big guy" when it comes to tax software. And they have an OS X version. (although this year's version bitches at you if you're still running 10.4). I can usually find it at Fry's for $15 for the basic edition (I don' t have state income tax) if I pay attention and get it in January. And the E-File supports five filings from the code, so I can let my mom use it too (that's how I know about the 10.4 thing). (FWIW, they charge $10 for a single E-file if you don't have that code.)

    The main problem is that it's not a trivial problem, because Congress (aka "the opposite of Progress") is involved. I'm pretty sure that elected lawmakers are NP-complete. Or maybe NP-incomplete. And they are constantly changing things, sometimes for the sake of changing things. ("Hey, look! I'm doing something!") And this process is repeated in most states. (I live in Texas, one of the few that doesn't.) And maybe even one or two really big cities. So instead of just one tax code to worry about, now you have around fifty. Someone has to update that crap every year, and you would probably prefer it be someone who is paid to be responsible for doing it right.

    But whatever you get, remember to write down what it cost you so you can count it as a deduction for next year, assuming you do itemized deductions, which is where you really need good software. (If you're too young to have a mortgage, you're probably not going to have any benefit from itemized deductions.)

  23. Re:Between that and Mercury thats "locked" in fill on Dental X-Rays Linked To Common Brain Tumor · · Score: 1

    Well gosh, I think there was about zero Hg in the many fillings I've been getting the past few months. They're ceramics (with color matching done before mixing the stuff up) that cure with a light "gun" that probably emits UV for the curing process. The difference shows up on an X-ray, but otherwise it's not visible.

    There's no point in using metallic fillings unless you really want to show off your bling every time you smile. (Plus, the dentist has to keep track of some really expensive metals that can potentially be stolen.)

  24. Re:Cancer... on Dental X-Rays Linked To Common Brain Tumor · · Score: 1

    I should point out, though, that the Dentist told every patient (and told us to tell them, as well) that they only get 1/100th of the radiation. It's just a party lie.

    Mine said 1/10th, for what it's worth. And I was getting the first in quite a while, coming in for a root canal (the crown had broken off due to some major decay), so I really did need full bitewings.

    It was pretty freaky to find that X-rays were now being done with a USB imager.

  25. Re:I need to go to Best Buy on Best Buy CEO Brian Dunn Resigns After $1.7 Billion Loss · · Score: 1

    I've got news for you: they may already be worth $0.

    Most gift cards have a so-called "maintenance fee" which deducts money from them monthly after a certain period of time, like a year or so. $1/month can really add up fast on a $50 card. Go check them right now by whatever method is printed on the back of the card. This isn't just Best Buy, it's the whole gift card industry.