Slashdot Mirror


User: vgerclover

vgerclover's activity in the archive.

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

Comments · 247

  1. Re:Logically Logical Logic on Van Rossum: Python Not Too Slow · · Score: 1

    What you are missing is that you can easily connect to C/C++ code from Python and vice versa. So you can write all your code in Python, find through profiling which small pieces of code are hot/heavily used, and replace that with C code.

  2. Re:007087 on Van Rossum: Python Not Too Slow · · Score: 3, Informative

    As most things in life do, code usually follows the Pareto distribution: 80% of the time is spend in 20% of the code. If Python is fast enough for, let's say 90% of your code, and you are much more productive in Python than C, then writing most all the code in Python first, and replacing the bits and pieces that are too slow for you with C functions, is much more efficient use of your time than writing everything in C.

    Also consider that sometimes you have to go in fishing expeditions for the correct algorithm to do what you are doing. Doing so in Python, with the speedup in iterative design that that carries, and even if that once you find the most efficient algorithm for your problem you implement it in C, you will have had spend the same time as before, but knowing all the ways you can't do it, and have arrived to an at least nearly optimal solution.

    Most of the time you don't need that much speed. When you do, you have to have the right algorithm and the right language. I also put forth that Python has a lot of modules that are already written in C, so you take advantage of existing optimized code that you don't have to write.

  3. Re:Kinda digging Python on Van Rossum: Python Not Too Slow · · Score: 1

    Specially considering that you can rewrite that as return a + (a > 0) - (a <= 0) or return a + 1 if a > 0 else a - 1 or a multiplicity of other options :)

  4. Re:Just because you can... on Beta Version of AIDE Enables Application Building On Android · · Score: 1
  5. Re:And in the winter... on Aussies Could Use Elephants To Fight Invasive Species · · Score: 5, Funny

    Skinner: Well, I was wrong. The lizards are a godsend.
    Lisa: But isn't that a bit short-sighted? What happens when we're overrun by lizards?
    Skinner: No problem. We simply release wave after wave of Chinese needle snakes. They'll wipe out the lizards.
    Lisa: But aren't the snakes even worse?
    Skinner: Yes, but we're prepared for that. We've lined up a fabulous type of gorilla that thrives on snake meat.
    Lisa: But then we're stuck with gorillas!
    Skinner: No, that's the beautiful part. When wintertime rolls around, the gorillas simply freeze to death.

    http://www.snpp.com/episodes/5F22 Bart the mother

  6. Re:Try to get a real engineer as mentor on Ask Slashdot: Transitioning From 'Hacker' To 'Engineer'? · · Score: 1
    Engineer:

    An engineer is a professional practitioner of engineering, concerned with applying scientific knowledge, mathematics and ingenuity to develop solutions for technical problems. Engineers design materials, structures, machines and systems while considering the limitations imposed by practicality, safety and cost. The word engineer is derived from the Latin roots ingeniare ("to contrive, devise") and ingenium ("cleverness").

    In the US and Canada, engineering is defined as a regulated profession whose practice and practitioners are licensed and governed by law.

    Engineering:

    the creative application of scientific principles to design or develop structures, machines, apparatus, or manufacturing processes, or works utilizing them singly or in combination; or to construct or operate the same with full cognizance of their design; or to forecast their behavior under specific operating conditions; all as respects an intended function, economics of operation and safety to life and property.

    One who practices engineering is called an engineer, and those licensed to do so may have more formal designations such as Professional Engineer, Chartered Engineer, Incorporated Engineer, Ingenieur or European Engineer. The broad discipline of engineering encompasses a range of more specialized sub disciplines, each with a more specific emphasis on certain fields of application and particular areas of technology.

    So to be an engineer, you have to practice engineering. Whether you can call yourself that way only if you are recognized as such by the state, depends on the laws governing both the discipline and the country you are in.

  7. Re:SOPA on EU To Sign ACTA Later This Month · · Score: 1

    We are the wall.

  8. Re:I miss GOTO...there I said it on Visual Studio Gets Achievements, Badges, Leaderboards · · Score: 2

    Blindly saying never use a goto doesn't always give you the best solution.

    Blindly saying never do X hardly ever gives you the best solution.

  9. I just traveled from North to South America... on Ask Slashdot: What Do You Like To Read? · · Score: 1

    I just traveled from North to South America and I had the same predicament. I read World War Z, and despite it being fiction, I loved the narrative. I love it, and as many of the worth while Zombie stories it has something to say beyond the brain eating ghouls.

  10. Re:Enjoying your new wealth on Facebook Could Spawn Thousands of Milionaires · · Score: 1

    You could argue that being shot into space counts as the most enjoying thing you could do with your wealth.

  11. Re:More content on Netflix Expects To Be Unprofitable In 2012 · · Score: 3, Funny

    This time, it's personal!

  12. Re:It may be cheaper to pay the registration fees on Schools Buy .xxx Domains In Trademark Panic · · Score: 1

    "That's a nice trademark you have there, it would be a shame if anything where to happen to it."

  13. Re:Obvious really on Why Economic Models Are Always Wrong · · Score: 1

    You reminded me of BBC's Century of the Self, which talks about pretty much that. Very recommendable.

  14. Re:Childish on Apple Granted Patent For Slide To Unlock · · Score: 2
  15. Re:Wow. locking feedback, telling people what to t on No Tab Relocation Coming For Chrome · · Score: 2
    Fork it, you are still free to do it. That's why it is still open software. Other than that, they have a vision on what the browser called Chrome should be, of which Chromium is the dev version.

    anyway this assholery has just persuaded me not to use chrome ever. and i had some complains with firefox too.

    You still have Opera, IE and Safari...

  16. Re:Usability on No Tab Relocation Coming For Chrome · · Score: 3, Insightful

    Generally, the less you have to move the mouse, the better. If the tabs are between the text and URL bar, you save 60ish pixels of movement compared to Chrome's arrangement every time you touch a tab, which tends to be a lot. On the other hand, you type into the URL bar at least an order of magnitude less often.

    Yes, but you gain on the infinite height of a tab ending at the top of the screen. By having tabs on top with the window maximized, you have to only aim in the X axis and move the cursor up, instead of having to aim at a small area in XY, which is demonstrably harder and more time consuming.

  17. Re:Don't Make Me Think on Ask Slashdot: Good, Relevant Usability Book? · · Score: 3, Insightful

    As others have already pointed out, Don't Make Me Think is great and to the point, but I'd like to recommend to you The Design of Everyday Things, which doesn't talk specifically about computer user interfaces, but does provide useful advice and gets you into the necessary mindset for the task. Good UI design isn't something you can just get from a book, but a book can help you get you thinking.
    Also, look at horrible interfaces to learn what not to do.

  18. Re:LibreOffice on OS X Lion on Looking Back On a Year of LibreOffice · · Score: 1

    LibreOffice works well enough on OS X Lion as does OpenOffice.org. However, neither of them are a native OS X application with the look and feel and this is a reasonable deal breaker for me. Plus it's not as fast as MS Office running under VMWare Fusion!

    DSL

    So, it works ok, but it doesn't look right on OS X, so your solution is running Windows' MS Office? Just trying to follow the logic here.

  19. Civilians that may die in games? on Why Aren't There More Civilians In Military Video Games? · · Score: 4, Interesting
    I loved to play the Rainbow Six series, and those fucking civilians would always get between my gun and the head of the last remaining terrorist. I also remember killing scientists in Half-Life just because they wouldn't move anymore after some map point.
    If games now don't have civilians in them is just because the games distributors don't have the balls or the will to take a little heat from stupid people that don't understand that a deaths in a video game are just as bad for your development as seeing a nipple: not at all.

    If you put the player in front of a choice where they can do good things or bad things, they will do bad things, go [to the] dark side because people think it's cool to be naughty, they won't be caught

    And that's bad because...?

  20. Re:Sudden Outbreak of Common Sense? on Justice Dept. Files Antitrust Complaint Against AT&T and T-Mobile Merger · · Score: 1

    So Hell froze over?

  21. Re:Java bashers, where are you? on Microsoft Wants Your Feedback On Its New Python IDE · · Score: 1

    ResolverOne is written entirely on IronPython. IIRC, each file also can embed Python code with a subset of the standard library, so it's like VBA on steroids. You decide if that's good or bad.

  22. HP's name seems really appropriate now on Ex-Board Member Says HP Is Committing 'Corporate Suicide' · · Score: 1

    Looking at this, it seems fitting for Hewlett Packard to find such a Cthulhian fate...

  23. Re:Jeopardizing his career? on Anti-Piracy Lawyers Accuse Blind Man of Downloading Films · · Score: 2

    You people give handicapped parking privileges to legally blind employees?

  24. Re:That's some great detective work they're doing. on Anti-Piracy Lawyers Accuse Blind Man of Downloading Films · · Score: 1

    Or a printer.

  25. Re:I'm impressed on Driver Using Two Cell Phones Gets Year-Long Driving Ban · · Score: 1