Slashdot Mirror


User: Shados

Shados's activity in the archive.

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

Comments · 3,645

  1. Re:PHP is a big part of the problem on Stuxnet's Legacy: Get Back to Basics or Get Owned · · Score: 2

    I hate PHP too, but the problem there is PHP programmers, not PHP itself.

    What you're talking about, as someone pointed out already, is prepared statements. Virtually all mainstream programming languages have the ability to use those, including PHP for almost as long as its been mainstreamed. The only issue is that the most commonly used MySQL interface didn't use them, and the community didn't push them.

    They were available AND they were easier to use than the "bad" way of doing thing. You are NOT supposed to escape the data you send to the database, and its NOT what those interfaces you talk about do. The work done to make sure there's no injection is more subtle and lower level, as well as database dependent. Thats why no amount of string escaping is 100% safe.

    Using prepared statements (what you're refering to without realizing it) is very very possible in PHP, is now (today) mainstream, and makes sure you're not vulnerable to sql injection (unless you do something impossibly stupid or try on purpose, but you have to try very hard).

    PHP sucks balls and no one should use it, but thats not among the reasons why it does.

  2. Re:All too true on Why You Shouldn't Reboot Unix Servers · · Score: 1

    Actually it isn't. There's virtually always a reason why something screws up, regardless of if you're in Windows or Unix, and you won't need to reboot. The only exception is for patches, where Windows requires it a bit too often for comfort.

    I've worked for a few companies where rebooting a Windows Server for anything except patches/maintenance would require a full root cause analysis, and it pretty much never happened. We virtually always were able to find what was going wrong and fix it without rebooting. This isn't 1998 anymore: Windows Server absolutely can stay up for long periods of time, and there's always ways to prevent reboots.

  3. Re:Open source? what about Qt? on Intel CEO: Nokia Should Have Gone With Android · · Score: 1

    Its not all open source, just certain licenses incompatible with specific clauses, generally viral ones like GPL (not defending it, I'm just being precise here)

    That said, QT wouldn't be too useful since Windows 7 Phone SDK basically only allows managed code and silverlight... QT isn't too hot running on top of Silverlight.

  4. Re:Pleading guilty? on Teenager Tries To Hire Hitman Via Facebook · · Score: 1

    I see your point, but without that, we may as well just remove the ability to plead guilty at all: there is no point.

    That said, even when someone plead guilty, you still should have doubt: they can be covering for someone else, for example.

  5. Re:Pleading guilty? on Teenager Tries To Hire Hitman Via Facebook · · Score: 1

    Because otherwise there would never be any point in admitting to a crime, EVER. You'd just let lawyers fight it out and hope for the best.

    With this system you have an incentive to admit to it and save everyone the trouble.

  6. Re:The Dark Knight on R-Rating Sunk BioShock Movie Plans · · Score: 1

    in D&D term, lawful is someone who follows _A_ set of rules in their actions. Not necessarly the commonly accepted one. Batman doesn't betray his friends, and when kicking the ass of evil people, follows a pretty strict code in what he considers ok or not.

    Thats why he can be seen as lawful.

    In French D&D, because of a lack of direct translation to the term lawful, they use the term "loyal", if I remember well. It makes it easier to wrap your head around the concept, IMO.

  7. Re:Microsoft plays catchup? on Windows Phone 7 To Get Multi-Tasking, IE9, Xbox Integration · · Score: 1

    No, that was the older palm revisions. Palm OS eventually added real multitasking, and you could have an app doing a long process (let say, a game), switch out of it, do something else, come back, and in the game you were dead because the game was still running.

    Apps had to be programmed specifically to take advantage of it though, unlike Windows Mobile.

    The point wasn't "Palm did it first!" though. It was "Wow....I remember reading those news posts talking about Palm OS the same way back then....and even THEN Palm was late, nevermind today"

  8. Re:Microsoft plays catchup? on Windows Phone 7 To Get Multi-Tasking, IE9, Xbox Integration · · Score: 1

    I remember when my Palm got that feature, in 1999 or around there (I forget the exact year).

    Now that was awesome!

  9. Re:Well on Japan's Elderly Nix Robot Helpers · · Score: 1

    I don't disagree. Just which european and north american countries could do that too without being called racist and dropping discrimination laws all over the place.

  10. Re:This is a good thing. on Asus, Gigabyte To Replace All Sandy Bridge Boards · · Score: 1

    Of course, I would too. Unfortunately we don't make up the majority of human population :)

  11. Re:This is a good thing. on Asus, Gigabyte To Replace All Sandy Bridge Boards · · Score: 3, Insightful

    The problem is in the current world, a lot of companies go under if they do that.

    So you have:

    A) the companies that screw you over
    B)The companies that don't...oh wait, those went under.

    Ok, so you have A) the companies that screw you over. Thats it.

  12. Re:It will not matter, and will change NOTHING!!! on Sony Updates PS3 Firmware To 3.56 To Stop Jailbreaking · · Score: 1

    because its not about blocking it forever. Its about delaying it just enough to maximise profit.

    Sony delayed it for -years-, a feat virtually no one has done before. They're probably still quite happy about it right now.

  13. Re:don't buy consoles on Sony Planning Serial Keys For PS3 Games? · · Score: 3, Informative

    My video card is quiet, cost me 110$ 3 years ago and play most games on high settings, including garbage console ports. I do have most consoles of this generation (both portable and not), and i like them better than PC for gaming, but for other reasons. This isn't 2002 anymore. You don't need a powerful PC to game, and upgrades are often unnecessary. (Heck, it looks like my Nintendo DS will have to be upgraded more frequently than my computer to get all the bells and whistles, between the DSi for the store and now the 3DS for newer games)

  14. Re:what does the mod do...i still dont know on Blizzard Won't Stop World of StarCraft Mod · · Score: 1

    There's already a lot of maps that can do that for SC2 (a lot of those features are built into the engine, just not used in the campaign). So they did all that and made it look WoW-like. The map editor let you use an XML specification to redefine the UI, so its not "hard", but it still takes a lot of work.

    Anyway, short answer to your question: "Yes".

  15. Re:what does the mod do...i still dont know on Blizzard Won't Stop World of StarCraft Mod · · Score: 4, Informative

    Starcraft 2 mods are really modules made with the map editor. It is, however, very powerful, and without any form of external game modification or hack, you can make entire games that have little to nothing to do with the original RTS game.

    In this case, it was basically a small scale MMORPG-like game based on the starcraft universe, heavily influenced by the WoW mechanics.

  16. Re:GS bail out - only a smoke screen on Goldman Sachs Says No Facebook Shares For US Investors · · Score: 1

    It wasn't even a smoke screen. Not only they didn't need it, they didn't -want- it at the time when it came. There was a small period of time where the big investment firms (the ones still alive) were genuinely scared for their continued existence. That lasted a couple of days. By the time the TARP came into play, they were not scared anymore, and didn't want it and its restrictions (like the exec bonus limitation). It was forced down their throat, with conditions on how to repay it that prevented them from repaying it right away.

    There's a reason GS, Morgan Stanley, etc, did everything they could INCLUDING publishing an horrible balance sheet with a straight face, to repay TARP as quickly as possible: they didn't want anything to do with it.

  17. Plugins! on Google To Push WebM With IE9, Safari Plugins · · Score: 1

    Sweet, so part of the goal of the html5 video tag was to play videos without plugins like Flash. Now we'll need plugins to use the html5 video tag on some browsers! Oh yeah, now I'm sure Adobe is shaking!

  18. Re:haha, what? on Microsoft To Disable Windows Phone 7 Unlocking · · Score: 1

    I'm still not sure where you're trying to get at. Linux + Apache is a bigger target. Yes. Its not a MUCH bigger target, especially if you only consider viable targets (companies, etc). Not exactly the same thing as Windows vs everything else. We're not talking a 90/10 split.

    Plus, did you miss the part where i said that Linux+Apache are attempted targets (well, like every other web servers) pretty much continually?

  19. Re:haha, what? on Microsoft To Disable Windows Phone 7 Unlocking · · Score: 1

    Do you even know what an SQL injection attack is? Or do I really have to explain why it has nothing to do with the servers? And do I have to point out how all web servers get attacked by them thousands of times a day?

    Wow...I really don't even know where to start.

  20. Re:haha, what? on Microsoft To Disable Windows Phone 7 Unlocking · · Score: 1

    There's a lot of viruses attacking both IIS and Apache modules. Neither is really doing better than the other.

    However, IIS and Apache themselves? There's only been 1 remotely exploitable exploit in each (one for IIS, one for Apache) in years.

  21. Re:What could be... on Microsoft Looking Into Windows Phone 7's 'Excessive' Data Use · · Score: 1

    Thats what happens when a technology has too low barrier for entry. The viewstate is a great idea and it works absolutely fine. You just need to know what you're doing with it, and it can "work" without actually knowing what you're doing...causing stupid stuff like that.

    You really have to be a failure as an ASP.NET programmer and not even know the very basics to end up with a 2MB viewstate. Even if you don't know the viewstate exists at all this shouldn't happen unless something ELSE in your site is VERY VERY wrong. (But even very complex sites shouldn't have more than a few KB in there, at worse).

    In a way, its like pointers.

  22. Re:This is Good on Hackers Find New Way To Cheat On Wall Street · · Score: 1

    Except that the financial IT systems are some of the most well funded ones in the world, and are often more sophisticated than anything actual IT companies make. When I worked in the financial industry, it wasn't uncommon for us to buy a multi-million dollar system from a big name IT, look at it, and go "Hrm....we could do better". We'd do something better, then sell the rights back to the highest bidder, and pay them to maintain it for us.

    While thats not the company I worked for, I had connections to Goldman, and my understanding is that their "Business intelligence" system architecture was simply out of this world in term of how sophisticated it was, using technologies you're not going to see anywhere else, state of the art hardware and algorithms that would let you do huge amount of data crunching on transactions that were made fraction of a second ago and extrapolate models in real time. A lot of other big names in the industry were trying to replicate it.

    To add to that, in most large financial institution, the amount of percentage of software developer vs the "normal" employees is extremely high for non-IT companies. Often as much as 20% or more. The systems made there are anything but cheap.

  23. Re:WoW is not the standard by which to measure on Why BioWare's Star Wars MMO May Already Be Too Late · · Score: 1

    The problem i see also come from the players. Since WoW has been so popular, almost everyone who plays another MMO has some WoW influence... a little like Everquest back then.

    As a non-WoW player, I personally find it freagin annoying, but its how it is: you go on any other MMO's forums, and if the MMO does -anything- different from WoW, even if its better, you get all the people going "OMG! This isn't like WoW, change it!" and the community quickly gets flooded with it, hiding any other posts containing constructive critisism. Sooner or later the developer takes notice, and WoWify the MMO, and down the drain it goes (Since an MMO that didn't start like WoW, but tries to be like WoW, will automatically be worse).

    Its an horrible situation.

  24. Re:Google needs to branch out on Google's Next Challenge, Spam Results · · Score: 1

    Google is actually well behind in enterprise search. Of course these solutions are not "for the world". They're enterprise search, for the inside, either general or specialized, because a lot of big companies have a ton of internal content that need to be searchable, and google's little toy appliance doesn't do shit in those situations.

    Autonomy's a big name, Endeca is another. FAST was pretty big though I dunno how well its been doing since bought by Microsoft. There's a couple more, and they're VERY big names in the world of the big fishes. You just don't hear of them unless you work in that field or work on implementing them. Google barely blinks on the radar at all, and its a big money field (almost all of the big name companies use one or the other).

  25. Re:My Apple Macbook experience... on Apple Passes $300B Market Cap, 2nd In the World · · Score: 1

    I have put my hands on both, which gives a lot more info than a silly one liner in an article.

    And yes, it is the same where it matters.