Slashdot Mirror


User: Lobais

Lobais's activity in the archive.

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

Comments · 85

  1. Re: instant disqualification on Justified: Visual Basic Over Python For an Intro To Programming · · Score: 1

    Nitpick: Your algorithm is not sieve of Eratosthenes. The later only looks over the primes in its outer loop. Yours loop over every number. Sieve of Eratosthenes also uses only addition and array lookups. Yours uses multiplication, hashing and sorting.

  2. No metal. Less circular than a moto360. Lame. on Apple Announces Smartwatch, Bigger iPhones, Mobile Payments · · Score: 3, Funny

    The Slashdot post I was expecting[1] ;-)
    [1]: http://slashdot.org/story/01/1...

  3. Re:Wrong premise on New Programming Languages Come From Designers · · Score: 1

    Anyways, it's just too opinionated, from his 4 examples - PHP, JS, Python, Ruby - only PHP and JS are really widespread, with Ruby still rather rare and Python somewhere inbetween.

    And then there's this pearl:

    From TIOBE http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html :
    6. PHP
    8. Python
    10. Javascript
    12. Ruby

    From LangPop http://langpop.com/ :
    4. PHP
    5. Javascript
    6. Python
    10. Ruby

    Just for the record. Certainly they are all very popular languages.

  4. I don't see this working on See the PyPy JIT In Action · · Score: 1

    Seams boxing isn't too much of an issue for vanilla python when summing 1000,000 integers.

    $ pypy -m timeit "sum(range(1000000))"
    10 loops, best of 3: 55.2 msec per loop
    $ python -m timeit "sum(range(1000000))"
    10 loops, best of 3: 71.5 msec per loop
    $ python3 -m timeit "sum(range(1000000))"
    10 loops, best of 3: 62.7 msec per loop
    $ python -m timeit "sum(xrange(1000000))"
    10 loops, best of 3: 26.6 msec per loop
    $ pypy -m timeit "sum(xrange(1000000))"
    10 loops, best of 3: 132 msec per loop

    $ pypy --version
    Python 2.7.1 (?, May 02 2011, 19:05:35)
    [PyPy 1.5.0-alpha0 with GCC 4.6.0]
    $ python --version
    Python 2.7.1
    $ python3 --version
    Python 3.2

  5. Re:The "exposure" scam on Amazon App Store 'Rotten To the Core,' Says Dev · · Score: 1

    Myself I have bought a few apps from the Android marked after a friend, who got them for free on Amazon, showed them to me.
    If your app is good, I expect a 100k userbase will be quite viral.

  6. Re:Um... on Sorting Algorithm Breaks Giga-Sort Barrier, With GPUs · · Score: 1

    It doesn't only depend on hardware setup. It depends on the number of keys!
    Unless the algorithm is actually O(n) and not O(n log n), the speed drops width the increase of keys to sort.

  7. Dlink has fine routers on Home Router For High-Speed Connection? · · Score: 1

    When we got 100/100 fiber we had a lot of problems with our router. Eventually the ISP actually sent us a very nice router as an excuse for a couple of things.
    The router is a Dlink DIR-655 Xtreme N Gigabit Router and the internet has worked flawlessly ever since.

  8. Re:Actually, vegetables do scream when picked on Study Suggests Crabs Can Feel Pain · · Score: 1

    Carrots and potatoes probably feel pain,
    but it would be plain stupid of Apples and Oranges did. After all their purpose in life is to get eaten.

  9. Re:Humans can defeat humans on 3D-Based CAPTCHAs Become a Reality · · Score: 1

    I read another thread proposing a time minimum and maximum for captchas.
    The minimum to slow bruteforcers.
    The maximum to stress captcha farms.

  10. Deducing on Wolfram Promises Computing That Answers Questions · · Score: 1

    I wonder if it will use a knowledge base, or if it will be able to, just like another famous answering machine, deduce the existence of rice pudding.

  11. Re:This is pointless on New Font Uses Holes To Cut Ink Use · · Score: 1

    Also I believe some applications let you choose a colour for your text. For example grey.

  12. Only no JavaFX for developers on Sun Releases JavaFX · · Score: 3, Interesting

    Even though it is still a shame,
    you CAN view JavaFX used on webpages. It seams to work just like java-applets, only nicer to look at. (Sadly it also has the same slow loading as applets)

    Example: http://javafx.com/samples/StopWatch/index.html

  13. Re:I Just Took A Huge Shit on Stallman Unsure Whether Firefox Is Truly Free · · Score: 1

    Oh please RTFA:

    OpenOffice is free software, and has been ever since it appeared under that name.
    Firefox is a strange case, since initially the sources were free software but the binaries released by the Mozilla Foundation were not free. They were non-free for two reasons: they included one non-free module, Talkback, for which sources were not available (even to the Mozilla Foundation); and because they carried a restrictive EULA [end-user licence agreement].

    I think these two problems have both been corrected, so maybe the distributed Firefox binaries are free software today.

    How can that be extremistic? If I was not alowed to give a friend a copy of firefox, then of course it couldn't be concidered free.

  14. I've used the American version for a long time, si on iGoogle Users Irate About Portal's Changes · · Score: 1

    I've used the American version for a long time, simply to get those changes.

    Only in this way is there enough room for gmail and reader inside igoogle.

  15. Re:I just got 2.4! on GIMP 2.6 Released · · Score: 1

    Afair Zune means hooker in Hebrew, but it doesn't make Microsoft change its name.

  16. Re:I just got 2.4! on GIMP 2.6 Released · · Score: 1

    Unless of course you don't live in an English speaking country, like 1-330/7000=95% of us does.

  17. Start counting from zero on What To Do Right As a New Programmer? · · Score: 1

    Depending on which kind of coder you want to be, you can also get inspired for an attitude at http://www.catb.org/~esr/faqs/hacker-howto.html?PHPSESSID=22f7378d0d1ea654962a22bf13166a5a#attitude

  18. "Direct mental control" on US Army To Develop "Thought Helmets" · · Score: 1

    When I read the title and that "direct mental control of military..." I was sure this was a new way to ensure soldiers did exactly as told..

  19. Wine under Cygwin on Wine 1.0 — Uncorked After 15 Years · · Score: 1

    It is actually listed under "Fun Projects" as "Almost Compiles" and "In Progress" (even though not updated for six years)
    http://www.winehq.org/site/fun_projects#virtualization

  20. Re:"Ready for my mom's desktop." on Getting Past "Ready For the Desktop" · · Score: 1

    That has changed a lot with the release of Leopard, since the only style used now is the Unified one. Yeah, because Apple actually care.

    Microsoft also make good HIG's, but they don't at all follow them themselves - thus why should the third-party developers who actually need their applications to be distinguishable?
  21. Re:How it's used? on Who Owns Software? · · Score: 1

    Nope, if the software crashes and deletes your hard drive, you've obviously used it wrong, and thousands of lawyers will make sure you suffer (more)

  22. Re:Dumbing down on NVIDIA Shaking Up the Parallel Programming World · · Score: 2, Informative

    Oh, and CUDA btw. http://en.wikipedia.org/wiki/CUDA

    CUDA ("Compute Unified Device Architecture"), is a GPGPU technology that allows a programmer to use the C programming language to code algorithms for execution on the graphics processing unit (GPU).

  23. Re:Dumbing down on NVIDIA Shaking Up the Parallel Programming World · · Score: 1

    Well, it's a hot copy from tfa.
    If you rtfa you'll notice that it's about "Nvidia's CUDA system, originally developed for their graphics cores, are finding migratory uses into other massively parallel computing applications."

  24. Re:Even if they "fix" it .. on Photoshop Express Terms of Use Cause Stir, Will Be Revised · · Score: 1

    This really highlights all the problems with using someone else's equipment to host and processes personal data files. Because a non-hosted, proprietary piece of software couldn't contain a "All content created with this sofware belongs to company X and will be sent to us as soon as you connect to the Internet" claim?
  25. Results in major browsers on Acid3 Test Released · · Score: 4, Informative

    See http://browsershots.org/http://acid3.acidtests.org/ for the test in 75 different browsers.
    Wikipedia: http://en.wikipedia.org/wiki/Acid3 also lists the results for the developversions of browsers:
    Webkit: 87
    Firefox: 67