Slashdot Mirror


User: Benbrizzi

Benbrizzi's activity in the archive.

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

Comments · 13

  1. Re:France is just jealous... on France Bans Facebook and Twitter From Radio and TV · · Score: 1

    Actually it means "Goat Ass".

  2. Re:Don't try to "get around" it on How To Get Around the Holes In IE9 Beta's Implementation of Canvas · · Score: 2

    Try telling that to your clients."I'm not making it compatible with half of the browsers out there because it's too complicated".

  3. Re:screw vies on Is Samsung Blocking Updates To Froyo? · · Score: 1

    I have a Galaxy S and am very happy of it... except for Samsung Kies. I got my phone just before the 2.2 update and still haven't managed to make Kies recognize it when it's plugged in. I tried reformatting the phone, installing different versions of Kies, spent hours on troubleshooting forums but it still doesn't work.

  4. Re:Hmmm... on New York To Get Free Wi-Fi Network Via Livery Cabs · · Score: 1

    I guess you have to pass the connection from one cab to another. It's called soft handover except it doesn't exist for WiFi.... yet. Also WiFi uses OFDM which involves very close - almost overlapping - frequency bands. Add some doppler effect (vehicle in movement) and your signal's gone.

  5. Re:Too small a sample size on First Anti-Cancer Nanoparticle Trial On Humans a Success · · Score: 1
  6. PHP advice legitimity on Google To Promote Web Speed On New Dev Site · · Score: 1
    I'm no PHP guru, but reading some of their advice on PHP made me flinch.

    Don't copy variables for no reason.

    Sometimes PHP novices attempt to make their code "cleaner" by copying predefined variables to variables with shorter names. What this actually results in is doubled memory consumption, and therefore, slow scripts. In the following example, imagine if a malicious user had inserted 512KB worth of characters into a textarea field. This would result in 1MB of memory being used!

    BAD:
    $description = $_POST['description'];
    echo $description;

    GOOD:
    echo $_POST['description'];

    Now I would never question the almighty Google, but the Rasmus Lerdorf taught me that PHP uses copy-on-write. Quoting from his O'Reilly Programming PHP book:

    When you copy a value from one variable to another, PHP doesn't get more memory for a copy of the value. Instead, it updates the symbol table to say "both of these variables are names for the same chunk of memory."

    So who's right? I tend to believe M. Lerdorf since he pretty much invented PHP but like I said before I'm not an expert and my book is pretty old so (PHP 4.1.0) so maybe that has changed since (although I doubt it)...

  7. Install The Gorilla on it on Options For a Laptop With a Broken Screen? · · Score: 1

    If you're into gaming just buy an adapter to connect your laptop to a TV and a couple game controllers and install The Gorilla on your PC. That way you can turn your broken laptop into a ghetto retro gaming system with an interface you can navigate using only a gaming controller.

    (Unfortunately the guy who created The Gorilla apparently died about 2 years ago so don't expect any updates soon...)

  8. XD on Girl Wins Right to Change Stupid Name · · Score: 1
  9. Re:Do they read the newspapers too? on Comcast Is Reading Your Blog · · Score: 1

    For every blog that gets read, 100 newspapers (online or printed) get read

    [citation needed]

    Maybe, but blogs are probably about 100 times more likely to talk about computer issues than newspapers are.

  10. One browser? on JavaScript: The Good Parts · · Score: 4, Informative

    The author states that the necessary equipment for writing JavaScript programs is a browser and a text editor.

    You need waaay more thane ONE browser to write JavaScript. There are still so many cross-browser incompatibilities with javascript today you pretty much have to write one script for firefox and one for IE each time you code.

  11. Re:Easy to understand on Robots Aim To Top Humans At Air Hockey · · Score: 1

    Get puck position Get puck position Get puck vector Repeat

    Add a PID regulator and a bit of extrapolation and you got it :) The most complicated part is probably the quick image analysis and getting the money for that high speed high precision robotic arm.

  12. Gallium will be obsolete in 12 years anyways... on Supplies of Rare Earth Elements Exhausted By 2017 · · Score: 1

    Aren't As-Ga semiconductors supposed to become obsolete by 2020 though?

  13. Re:Um... What? on Fastest-Ever Flashgun Captures Image of Light Wave · · Score: 2, Informative

    That's not what happens. You only see a laser because the photons reflect off particles (neon in this case). The photons which hit your camera all come from (almost) parallel lines so what you see is where the photons hit by your beam were.