Slashdot Mirror


User: hobo2k

hobo2k's activity in the archive.

Stories
0
Comments
196
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 196

  1. Re:"if (0 != variable)" is for wimps on Optimizations - Programmer vs. Compiler? · · Score: 1
    I tortured myself for years by witting (666==x) and it never became natural. I suppose the counter argument is that when (x==666) slips out my fingers I immediately notice it. Whereas (x=6) is easy to miss. afaik, every compiler warns about it now, so yeah, it is better to devote your brain to more important things.

    0==strcmp is not bad though. Anytime a small thing and a big thing are related to each other it is good to have the small thing first. It saves time when mentally parsing it. Same with 'if' statements. If one of the blocks is just a couple lines and the other is huge, the small one should be the 'then'.

  2. visible characters are the root of all evil on Optimizations - Programmer vs. Compiler? · · Score: 1


    I prefer to strip all the non-whitespace from my programs.
    </div>

  3. Re:Prior art? on Microsoft's 'IsNot' Patent Continued... · · Score: 1
    That's my take on the patent also. It only applies to BASIC derived languages. So the patent is really just saying that Microsoft never wants VB.NET to get implemented on Mono.

    Extrapolating even further, this may be an indicator that basing a system on Mono is a really bad idea.

  4. Re:Anyone Else Notice This? on Study Points to Sixth Sense in Humans · · Score: 1
    Does this seem a little fishy to anyone else?

    No that sounds like how all simulations work. It would be fishy if they did nothing to verify the prediction of the simulation.

    our subconscious mind can make connections...I don't think you need a computer model to tell you this.

    But that isn't what they found out. They found out that a specific part of the brain plays a role in that subconscious process. Which may lead to eventual discovery of treatments for certain mental disorders. Not an obvious result.

  5. Re:Dear Martin... on Microsoft's Martin Taylor Responds · · Score: 1

    Perhaps he is assuming that the DRM can be cracked. Or maybe he meant that it reminds one to stop using services which don't provide usable files.

  6. Re:Dear Martin... on Microsoft's Martin Taylor Responds · · Score: 1
    I haven't used Windows Media Player to rip CDs in ages (EAC is much better), but I believe you just need to uncheck "copy protect my music" on the "copy music" options page.

    Or perhaps you are more concerned with a DRM'ed file that somebody else created? In that case your complaint should be addressed to the provider of the file. Not Microsoft.

    Why get angry at a tool provider?

  7. Re:Visual C++ sucks... on Migrate Win32 C/C++ Applications to Linux · · Score: 1
    Whatever compiler you use, it is a good idea to learn which option adjusts the warning level and set it to the max.

    I don't recall which warning level is needed for uninitialized variables, but level 4 definately will catch it.

  8. Re:Americans are sensible on NASA Says 2005 Could Be Warmest Year Recorded · · Score: 1
    I grew up with guns. Learned to shoot a rifle in the boy scouts. Dad had a few rifles in the house (not on display, just safely stored). Grandparents had guns. The father of a close friend was an active deer hunter, NRA member, and had a big safe in his house for guns.

    That said, I _also_ find US gun policy to be bizarre.

  9. Re:MS interoperability on Opera Claims Microsoft Has Poor Interoperability · · Score: 1
    Glad to hear I'm not the only one who always gets re-asked for the password.

    The weird thing is that you don't need to type the password. From the re-logon page you can click the MSN butterfly, then click the hotmail link and magically you get to your inbox. Passport is a strange beast.

  10. Re:Translation on Browser Speed Comparisons · · Score: 1

    No, he did have a point. Many people may actually find Internet Explorer to be slower on their system because they have BHOs and other spyware hooking into it.

  11. Re:Scrolling only partially works on Mapping Google Maps · · Score: 1

    This seems to be a common limitation of modern printers. It works very well with older printing tech. They just don't make 'em like they used to.

  12. Re:Firefox basic design is simply better. on Spyware for Firefox Coming This Year? · · Score: 1
    Still, unchecking that box is not a bad idea. Especially if setting firefox up for a less savy user. One spoofing bug in the whitelist has already been found (and fixed).

    It is not like people install a new extension or theme every day. And unlike ActiveX, xpi should be used to add features to the browser, not to give more features to webpages. So you won't be denied access to content by not installing something immediately.

  13. Re:Spy vs Spy on Spyware for Firefox Coming This Year? · · Score: 2, Insightful

    System file protection is a joke. It is just a defense against poorly written, but well intended, installers. If you can modify kernel32.dll you can easily make the same change to the two backup copies before SFP gets around to restoring it.

  14. Re:Duh. on Spyware for Firefox Coming This Year? · · Score: 1

    POSIX was implemented as a subsystem in NT. Win32 is a separate subsystem for NT. In other words, windows programs can't use POSIX-specific features.

  15. Re:MagLev rail gun on Competition to Build the Space Shuttle's Successor · · Score: 1
    I recently saw an article which discussed the impracticality of maglev powered launch. The guy's objection centers on the difficultly of switching the power fast enough to one segment of track. Though he started with escape velocity of 11 km/s (24,606 mph) instead of your figure of 4000 mph.

    http://blogs.msdn.com/ericlippert/archive/2005/01/ 21/358512.aspx

  16. Re:NX bit? on Defeating XP SP2 Heap Protection · · Score: 2, Informative

    I don't have the hardware to actually test it, but I believe the 2nd code sample is supposed to deal with NX. The stack/heap never get executed. Instead it modifies the stack such that when the function returns the C library function 'system' is called with an arbitrary command line to execute.

  17. Re:Err... Anyone else notice something funny here? on Defeating XP SP2 Heap Protection · · Score: 1

    The suggested security hole exists in the windows heap manager. But there is a registry setting which makes windows use a really old heap manager for specific applications. The PTmsHORP application is simply letting you view and set that registry setting.

  18. Re:Is that link to MS correct on Defeating XP SP2 Heap Protection · · Score: 1
    The website offers the program PTmsHORP, but the I found description of it to be cryptic:

    allows restriction of lookaside list creation, governed by a special global flag.

    Using regmon and filemon, I found that PTmsHORP simply modifies the DisableHeapLookaside registry value. That old KB article was the most authoritative source I could find which describes what that registry setting does.

    Also I found it interesting that a performance improvement made back in the NT4.0 days, which at the time caused some poorly written apps to crash, still exists in XP and could be used to exploit poorly written apps.

  19. Re:Someone please on XM and Sirius Merger? · · Score: 2, Interesting
    Yeah, this is very sad. Viewing the Digital category takes you on a quick time warp back to 1998. It is filled with articles like "End Of The Line For Alpha", "VAX Users See the Writing on the Wall", and finally articles posted by people who have no idea what DEC was.

    Rest in peace DEC.

  20. Re:OT: be careful with WMV files... on Video Formats for non-Windows Users? · · Score: 1
    As was covered is previous /. articles: go to options->privacy and uncheck "Acquire licenses automatically".

    Beyond that, set your IE security setting to high since the DRM exploit is actually just a way to open IE to a webpage which then exploits IE.

    Still, I agree with you. I ignore wmv files on p2p networks. They are usually spam.

  21. Re:Codec installation as a limited user? on Video Formats for non-Windows Users? · · Score: 1
    Yes, but no.

    DirectShow codec registration normally goes under HKEY_CLASSES_ROOT. That installs it for all users, but needs admin access. Instead it should be put under HKEY_CURRENT_USER\Software\Classes.

    Unfortunately I've never seen a codec installer which actually does that. And if the developer doesn't do it, the end user would have to be a reverse engineering genius to get it set up.

    This is another example of how developers taking the time to understand non-admin programming would help to let users avoid running as admin all the time. And therefore help make windows be a more secure system.

  22. Re:Kinda neat, but potential problems on Jef Raskin Gets $2 Million To Develop RCHI · · Score: 1
    Anytime you fix the layout of text (like this, pdf, and postscript do) you are also fixing the size of the screen which must be used to view it. I'm on 1024x768, so for this demo I couldn't read the text. Either zoom out to fit an entire line on screen, which makes the text too small to read. Or zoom in and scroll the window left and right to read each line.

    That kind of zooming technology is better for pictures than text.

  23. Re:Automatic update on MS To Limit Security Fixes to Legal Copies of Windows · · Score: 1

    Just call the phone number to get a person to enable the activation. They are nice about it. Just a question or two, then give you the activation code.

  24. Re:I've got... on Just How Paranoid Are You? · · Score: 1

    So are we reading that post directly from your mind then? You need some thicker aluminum foil in your hat!

  25. Re:Relativity on Blazing Speed: The Fastest Stuff In The Universe · · Score: 1
    Didn't relativity get invented precisely because some dude measured the speed of light and then noticed it was exactly the same at all times of year? The measurement makes no sense until you redo all your equations with that as a primary axiom.

    Well, really it still makes no sense.