Slashdot Mirror


User: CastrTroy

CastrTroy's activity in the archive.

Stories
0
Comments
11,581
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 11,581

  1. Re:Why should this upset them? on Malware Modification Contest Has Antivirus Vendors Upset · · Score: 1

    Could a virus sit in waiting, and do nothing that a non-priviledged user wouldn't be able to do, and then avoid any user prompts until it detects that another sudo prompt for a different application has been fired. And then fire something right after that one is passed to cause another prompt. The user would probably just think it's for the other program they just allowed, and let the virus do it's thing. Most prompts just give the app access to whatever they want as soon as you give it permission, and holds on to that permission for the life of the process. I would probably be possible to trick a user into clicking your UAC prompt when they were expecting one for another program.

  2. Re:What we need... on Details On Windows XP SP3 Leaked · · Score: 2

    I don't mind ads for the most part. I don't block ads on most sites. Slashdot seems to do a pretty good job supporting themselves, and the ads are pretty minimally invasive. Google doesn't do too bad either. And their ads are about as non-invasive as you get. What bothers me are the sites that put each paragraph on a separate page, or those that give you giant flashy pop-ups, or flash/js ads that hover over the text you are trying to read. I am much more likely to click on an ad if it doesn't annoy me. I really with advertisers and people who run sites would realize this. If the ads are too annoying I won't visit the site. If the ads aren't annoying, I have no problem visiting the site, and will probably even click on a few ads.

  3. Re:Spaghetti-O Code on Donald Knuth Rips On Unit Tests and More · · Score: 1

    Looks like that's only useful for removing named indices from an array. Since you don't actually have to declare variables in PHP, when you use unset on regular integer or string values, you're basically setting them to null. But it doesn't stop you from using the same variable later on in the function.

  4. Re:Low starting point on Macs Gaining a Bigger Role In Enterprise · · Score: 1

    Yeah, too bad the new Dilbert site is so terrible. I actually refuse to visit there since they flashed it up.

  5. Re:What we need... on Details On Windows XP SP3 Leaked · · Score: 2, Interesting

    I wonder if we could build a plugin, that would give them so many extra clicks, such that their advertisers wouldn't believe that they actually generated that many hits, and would refuse to pay, on the grounds that they couldn't have possibly gotten so many hits. Basically just reload the page 500 times, possibly deleting any cookies so and making a minor change in the user agent so you look like a different person. Sure it's the same IP address, but I don't think they would really want to only count unique IPs.

  6. Re:Logical positivism to the rescue... on Is Mathematics Discovered Or Invented? · · Score: 1

    Maybe not in base 10.

  7. Re:Logical positivism to the rescue... on Is Mathematics Discovered Or Invented? · · Score: 1

    Developers, Developers, Developers, Developers, Developers, Developers, Developers, Developers, Developers, Developers, Developers, Developers, Developers, Developers, Developers, Developers!! Go Balmer :). Ok, now I'm just typing some stuff to get past the compression filter. Hopefully this will be enough.

  8. Re:Logical positivism to the rescue... on Is Mathematics Discovered Or Invented? · · Score: 1

    There's also number like e (2.718281828459045235), pi (3.141592654), G (6.67e-11), and many other numbers that don't end up so round.

  9. Re:Literate programming... on Donald Knuth Rips On Unit Tests and More · · Score: 1

    I remember that a certain database, Oracle I think, supported an InsertOrUpdate command which would insert a record, or if a record with the same primary key already existed would update the current record. When you think about it, it really is a useful command. You don't care if the record already exists or not, you just want it to exist with the values you have passed it. It doesn't matter if it was there before or not. I do know it wasn't MS SQL Server though, as that was the database I was working with at the time.

  10. Re:Spaghetti-O Code on Donald Knuth Rips On Unit Tests and More · · Score: 1

    I've often thought that something like that was necessary. To be able to create a function that could only be called from a certian other function. It would be nice if you had a function that was only supposed to be called from certain other functions, and that almost any other circumstances, you wouldn't want to be calling this other function. Another feature I often would like to have, is a way to undeclare a variable. Because sometimes a variable gets into a point where you don't want to be using it after a certain part of the function. I'm not aware of any languages that offer either of these features.

  11. Re:Literate programming... on Donald Knuth Rips On Unit Tests and More · · Score: 1

    Yeah, I'm not saying that it's the best thing to have huge loops that go on for pages, but at least when it happens, it's nice to have a little comment at the end to tell you what's going on. I really wish that every programmer I worked with could be an uber-elite programmer, and wouldn't create these 1000 line functions in the first place, but let's face it. Not all programmers are uber-elite, and many are only slightly better than not being there at all. Any construct of the language that forces them to be a little more explicit in what they are doing is a help to everyone.

  12. Re:You know... on The Physics of Zero-G Whipped Cream · · Score: 2, Informative

    Well, that's exactly what happened in the 60s. They had this big space race with Russia, and had to prove they were better than the "commies". This means they got well funded, and the people working for NASA had a lot of motivation to do a good job. Currently there is no real incentive for NASA to show anyone else up. In 1961, just a few months after the first human was put in space (by the commies) Kennedy said they would have a man on the moon, and return him safely by the end of the decade. And they did it. Now they are talking about maybe sending someone to the moon again in 2018. Which is further off than Kennedy's original timeline, and probably less believable. It almost seems as though spaceflight has taken a step back since the 60s. If 1/2 the budget of the Iraq war was spent on space, we'd be on Mars by now.

  13. Re:What next? on Five Days Locked in a Room With GTA IV · · Score: 1

    Maybe a lot of variety, but still not very interesting to drive. At least compared to the cars of today.

  14. Re:Literate programming... on Donald Knuth Rips On Unit Tests and More · · Score: 1, Insightful

    So basically it's the same as the XML comments you can put in your .Net or Java code to create JavaDocs, or whatever they are called in .Net, based on the comments in the code?

  15. Re:Literate programming... on Donald Knuth Rips On Unit Tests and More · · Score: 3, Insightful

    I'm not sure if MultiplyBy is any better. It takes longer to type, and most people have understood that * (or X) meant multiply by since second grade. The thing I like about more verbose languages like VB.Net are that they force you to write out things that most good programmers would write out anyway as comments. At the end of a while loop, you write "End While". Most people using C++/Java/C# end up writing "} //end while" anyway, especially if the loop goes over 6 or 7 lines, and even more likely if there's a nesting construct like an if statement in there anyway. Seeing the "End While" let's you know what you are finishing off, without scrolling higher and trying to line up and see which bracket matches. Which even with visual brace matching, can sometimes be difficult.

  16. Re:hmmmm... on Five Days Locked in a Room With GTA IV · · Score: 1

    Didn't the original GTA support some form of LAN play? According to Wikipedia, the original Grand Theft Auto supported multiplayer over IPX network. So I guess I was right. I haven't played the newer GTAs but I assumed they would have supported multiplayer over the web.

  17. Re:What next? on Five Days Locked in a Room With GTA IV · · Score: 5, Interesting

    Would be an interesting storyline, but I'm not sure the whole "auto" thing would work out. There wasn't a whole lot of variety in cars back then. It brings to mind Need For Speed, Porsche Unleashed. Which was a great game, but the story mode kind of sucked, because you had to spend so much time driving cars from the 50s and 60s. Really shows you how much cars have changed since their early days.

  18. Re:We'll They've Reset Mine on AT&T Denies Resetting P2P Connections · · Score: 2, Informative

    It could also the the OS or BT software that you are using. A few years ago (not sure if it's still the case), I used to get 3-4 time the speed when downloading torrents in Linux as I did in Windows. Currently I can max out my connection in Windows, but I'm only on a 1 mbit connection. Whereas I used to be on a 5 mbit. I could max that out in Linux, but not in Windows. I know my brother in law maxes out his 10 mbit connection using windows, but he has an uber gaming computer with dual core and 2 gigs of RAM. When I had my 5 Mbit connection I was running XP on a machine with 256 MB of RAM and only running at 266 MHz.

  19. Re:America descends into the dark ages of broadban on AT&T Denies Resetting P2P Connections · · Score: 1

    Sounds like those laws and fines are pretty ineffective. If the fine for stealing $500 is a $300 fine, then people would make tons of money off just stealing, because they would actually be making a profit. Which is why repeat offenders get even larger fines in order to try to stop them from doing it, because the first punishment wasn't enough to deter them. If the ISPs refuse to comply with the law because it ends up making them money, then they should be fined more. The whole point of fines isn't for them to be paid, and then you go merrily on your way and continue breaking the law. The point of fines is to stop you from breaking the law.

  20. Re:America descends into the dark ages of broadban on AT&T Denies Resetting P2P Connections · · Score: 4, Interesting

    Any chance that the reset packets could be sent from someone else? If AT&T can send a reset packet that looks like it's from the person on BT you are communicating with, what's to stop other users from sending a similar packet. If I was on AT&Ts network, could I forge a packet that looks at though it was from another IP Address? Sure I couldn't get a response back, but I would only be sending out reset packets, and wouldn't want any ACK back for my bogus reset.

  21. Re:America descends into the dark ages of broadban on AT&T Denies Resetting P2P Connections · · Score: 1

    Sounds like the Romanian ISPs don't have the RIAA, MPAA, and courts breathing down their back about the illegality of transferring movies and music.

  22. Re:Nostalgia on The Last Pinball Machine Factory · · Score: 1

    However the games of today have such large worlds, that even if you were to speed run through every necessary level, it would still take you quite a white to beat them. I just beat the last bowser on Super Mario Galaxy (although I only got the minimum necessary number of stars). Just to go through all the levels would probably take 5 or 6 hours, if you didn't die once, and followed the most direct path in each level. The original Mario could easily be beat in 1/2 an hour. I only ever beat Mario 2 without warping, and you could do that in about 1.5 hours. And that's without even trying to speed through everything. 7 * 3 - 1 = 20 levels. So I'm giving each level 4.5 minutes, which is quite long for many of the levels.

  23. Re:Nostalgia on The Last Pinball Machine Factory · · Score: 1

    I'm in the middle of replaying the original Zelda on my Wii. I'm on Level 9 of the first quest. I think we had much better imaginations back then, because there isn't really much to the game. It's way under 10 hours of gameplay if you know where you are going. Not at all like the games of today. I'm almost at the end of Twilight Princess. I've spend 40 hours on that, and not much time of that was spent on side quests or getting lost. I guess that's one problem with the newer Zeldas over the original. There's much more guidance in the newer ones on exactly where to go. In the original, you basically had to wander around until you found stuff.

  24. Re:Better than arcades on The Last Pinball Machine Factory · · Score: 1

    My uncle is into the really old games. He had a mechanical pinball machine at one point, although I think he has since traded it in for some other arcade game. I played it and it is quite different than the newer pinball machines that I was used to. The game was made so that you had to jostle the machine a bit to get the ball to go where you wanted it to go, and jostle it just enough so it wouldn't "tilt". Not like the newer ones that weight 1500 lbs. and are bolted to the floor.

  25. Re:Not really on 500 Thousand MS Web Servers Hacked · · Score: 1

    Wow, just wow. I mean, I've seen some dumb programming examples, but that takes the cake.