Slashdot Mirror


User: Jamu

Jamu's activity in the archive.

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

Comments · 616

  1. Re:Not up-to-date on PHP security . . . on PHP Security Expert Resigns · · Score: 2, Insightful

    It's impossible to write secure code elegantly in PHP. PHP is an inflexible language in which security features have been added using various options and functions. Any secure PHP code is going to be overly-difficult to read, and this can lead to insecurity via coding errors.

    This inflexibility of the PHP code language is partially solved by the use of numerous extensions (There are gaps: For example, none of the extensions can parse HTML in a natural way). The more API functions and extensions required to code a webpage, the greater the risk is that'll you'll use a function that's insecure. PHP has about 50 extensions, each with their own set of functions. It's not unusual for hosting sites to disable extensions in the interests of security.

    By default, PHP is configured with insecure options enabled. This can sabotage otherwise secure PHP code. It only takes a server crash and a hasty re-installation of PHP to get those options back to default. It has 'gotcha's too.

    Essentially, security, is not a basic feature of PHP.

  2. Re:Well, thats just nullty. on Professor Comes Up With a Way to Divide by Zero · · Score: 1

    0/x gives 0. Always. And x/x gives 1. Always.

    The usual axioms for numbers imply that 0/x is undefined when x = 0. Similarly for x/x (Compare the functions f(x) = 1 and f(x) = x/x). The reason it's undefined can be seen when you consider that division is normally defined as the inverse of multiplication, and x * 0 = 0 (Always true: It's an axiom). Of course if you want to work with a different set of axioms (one where x * 0 doesn't always equal 0, or one where x / 0 is defined separately, you can divide by zero and get a defined result. Although it's possible that you'll create an inconsistent set of axioms (able to prove something to be true and false simultaneously) in the process. If the professor has come up with a novel set of consistent axioms then it's all good. But anyone can find a solution to a problem if they're allowed to change the problem.

  3. Re:Summary title is vague on Oracle Has More Flaws Than SQL Server · · Score: 1

    Same thing with "%*$^ing piece of $^%* database". How can you tell if they are talking about MSSQL or Oracle?

  4. Re:Meh ... on Firefox 2.0 Password Manager Bug Exposes Passwords · · Score: 1

    If I used my head to store passwords, I doubt anyone would get them. Including me.

  5. A Scratch for the Itch on VR Cures Amputees' Phantom Limb Pain · · Score: 0, Redundant

    This is good news for anyone that suffers from phantom limb pain.

  6. Re:There will always be a few on Bully Banned by Some British Retailers · · Score: 1
  7. Re:So... on Britain's First "Web-Rage" Attack · · Score: 1

    You can opt-out of the whois register for .uk domains registered to an individual. I doubt they'll ever have that option for something like .com or .biz, and as far as I know all the gTLD still require the registrant's details for the whois database. Although it does seem odd that .name also works like this.

  8. Re:Your numbers don't seem quite right. on North Korea Says It Has Conducted Nuclear Test · · Score: 1

    I suspect that the device they used was designed for a higher yield than the 2kt they got. Compare this with Trinity, for example, which gave a yield of about 20kt. Korea's attempt wasn't nearly as good. I wouldn't be surprised to see further nuclear weapon tests in Korea.

  9. Why they sleep only a few seconds on Migrating Birds Take Hundreds of Powernaps. · · Score: 5, Funny

    Flap flap flap
    Must stay awake...
    Zzzzzzzzzzzzzzzzz
    AHHHHHHHHHHHHHHHHHHHHHHHH! I'm falling!
    Flapflapflapflapflap
    Flap flap flap
    Must stay awake...

  10. Re:Save New Scientist! on Thrust from Microwaves - The Relativity Drive · · Score: 1, Insightful

    It doesn't matter that it isn't a vacuum, photons will always travel at the speed of light. If you have several photons passing through a material, some of the photons will be absorbed and re-emitted by the material. If you measure the average speed of a light pulse through a material it will be slower than the speed of light, but this is due to the absorption and re-emission of photons. The pulse will also become dispersed. The front of the pulse will still be moving at the speed of light however, because it consists of photons that have not been absorbed by the material.

  11. Re:Look on the bright side on Scientists Shocked as Arctic Polar Route Revealed · · Score: 2, Funny

    I liked Titanic. Admittedly the start was a bit boring, but the comedy ending and the bit where Leonardo DiCaprio dies and then sinks into the Atlantic was good.

  12. Re:Huh?!?! on MGM to Produce "The Hobbit" · · Score: 1

    I think it's a shame the extended version of the film didn't go down the 6 DVD route. Although on second thoughts they'd probably price them as such too which wouldn't be so good.

  13. Re:misleading headline on Personal Firewalls Mostly Useless, Says Mail & Guardian · · Score: 1

    The Proof of Concept, linked to in the story, simply uses Internet Explorer to do its dirty work.

  14. Re:Pricey on Network Card for Gamers - Uses Linux to Reduce Lag · · Score: 1

    Certainly you can't draw a frame containing information that is still being transmitted down the pipe.

    You usually can't do this reliably and often making guesses can lead to confusion. But I'd like to add that it is possible to draw a frame containing data that is still being transmitted down the pipe. Consider the drawing of that last sentence: After "that is still being" it's possible (and somewhat trivial in this example) to predict and draw "transmitted down the pipe" without waiting for the data to arrive. Prediction like this though is often more difficult with better data compression.

  15. Re:Why? on Writing on Standing Water · · Score: 1

    Because it's COOL. Who needs practical application?

    Short sighted capitalists apparently.

  16. Huh? on BPI Sue AllOfMp3 In British Courts · · Score: 4, Informative

    There are lots of issues with this: Firstly, the UK High Court has no jurisdiction in Russia (unless you're British and then only for some crimes). Russian companys have no legal status in the UK. You can't sue them and they can't be prosecuted in the UK. I think what they might be doing is sueing the operator of a Russian site in the UK for damages for operating in the UK without a legal licence.

  17. Re:Put it in AI research on Billions Donated to Charity · · Score: 1

    DEATH would be eliminated.

    Soon after the invention of the perpetual motion machine and unlimited energy?

  18. Re:Fighting Fantasy on Choose Your Own Adventure Books Return · · Score: 1

    I hadn't heard of D&D until I got The Warlock of Firetop Mountain. It's what got me started with tabletop RPGs.

  19. Re:So stop buying unfinished games on Everyone's A Beta Tester · · Score: 1

    And once they have your money, don't expect much in the way of patches. They'll be expecting you to give them more money for the sequel, and will be too busy making that to fix any significant bugs in the game you just bought. The sequel will be full of bugs too.

  20. Re:If Madonna prices it, they will buy... on Music Downloads = Expensive Concerts? · · Score: 2, Funny

    The subsequent decrease in demand for concert tickets will be due to P2P too. Not the high prices. I'm sure they've got another professor that will completely agree. So it must be true.

  21. Re:Guild Wars? on MMOGChart.com Update · · Score: 1

    City of Heroes has a very similar game model. The only significant difference, as far as the charts are concerned, is that CoH has a subscription model.

    Is Guild Wars an MMORPG (Massively Multiplayer Online Role Playing Game)?

    Guild Wars has some similarities to existing MMORPGs, but it also has some key differences. Like existing MMOs, Guild Wars is played entirely online in a secure hosted environment. Thousands of players inhabit the same virtual world. Players can meet new friends in gathering places like towns and outposts where they form parties and go questing with them. Unlike many MMOs, when players form a party and embark upon a quest in Guild Wars, they get their own private copy of the area where the quest takes place. This design eliminates some of the frustrating gameplay elements commonly associated with MMOs, such as spawn camping, loot stealing, and standing in a queue in order to complete a quest.

    Quoted from the Guild Wars FAQ.

  22. Re:misunderstanding? on The Tenth Planet Shrinks Under Hubble's Gaze · · Score: 1

    The pixels in the article aren't binary atoms though and probably have at least two bits of precision: explaining the claim of 1.5 pixels. More generally, most monitors have three different elements for red, green and blue. TrueType, for example, uses these as the atoms rather than the whole pixel, to get smoother screen text. Modern video cards, when using 3D graphics, can sample more than one point for the same pixel. For example, 4X Anti-aliasing can use up to four sample points per pixel.

  23. Re:Not really... on U.S. Army Robots Break Asimov's First Law · · Score: 1

    You mean if it thinks it might be a robot then it would still be bound by the laws?

  24. Re:We demand.. on The Pirate Bay is Here to Stay? · · Score: 5, Funny

    If you are not the intended recipient, you may not read, ...

    Oh crap, I just did. Why didn't they warn me at the start of the message!
  25. Re:Lies on Top 10 Geek Watches · · Score: 4, Interesting

    My ideal watch would just have an analog display showing the time. It would be powered by sunlight or some other green, non-interactive source. Its time would be set automatically, including the determination of which timezone it's in. It would have no buttons. The display would be black on white even in the dark.