Slashdot Mirror


User: lcracker

lcracker's activity in the archive.

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

Comments · 50

  1. Re:AJA? on Asynchronous Requests with JavaScript and Ajax · · Score: 1

    That's called JSON.

  2. Re:if you refuse to use Ruby, I guess this is okay on TurboGears: Python on Rails? · · Score: 2, Interesting

    You're comparing apples to tacos here. The SQLObject example contains the definition of the table, so that it can be automatically created if it does not already exist, where the ActiveRecord example depends on the existence of the table in the database.

    As for the page example, clearly you have no idea what you're talking about. It says:

    1. Expose an "index" URL as this method with the "wiki20/templates/page.html" template
    2. Look up the content of the page in the database
    3. Use docutils to parse the content of the page as a reStructuredText document, and get the result as an HTML fragment.
    4. Encode the HTML fragment as UTF-8
    5. Return a dictionary containing the page name and the HTML fragment for usage by the template (or a direct JSON request)

  3. Re:Require password to set execute bit! on Malicious Web Pages Can Install Dashboard Widgets · · Score: 1

    Only certain parts of the header, it's certainly possible to checksum the parts that shouldn't change.

  4. Re:Python with Cocoa on Hacking Mac OS X · · Score: 1

    PyObjC, in theory, will run on GNUStep if someone steps up and puts in the effort to make that happen. It will, also in theory, run on the old NeXT stuff (that's where it came from) if someone takes the time to backport it (conditionally #ifdef out the new stuff). However, most of the recent advancements such as Key-Value Observing, Cocoa Bindings, etc. are not present in GNUStep, so it's not nearly as nice.

    It is reasonable to use multiple front-ends to the same Python program, whether that's PyObjC and wxPython, PyGTK, PyQt, etc. None of them have remotely similar APIs to Cocoa, though, so you're not going to be sharing any view code. Most new Cocoa apps these days don't have much view code anyway, due to Cocoa Bindings and such.

  5. Re:Python with Cocoa on Hacking Mac OS X · · Score: 1

    You can get close to the metal in Python pretty easily, just write it in C (or anything else that can do C ABI) and link it in. Python is quite easy to extend by hand, with Pyrex (a Python-like-langauge that compiles to C extensions for Python), SWIG, BOOST.Python, etc.

    ctypes and PyObjC are runtime foreign function interfaces for Python that let you talk to existing C and Objective-C libraries, without compiling any additional C code.

  6. Re:Typical ignorant developer.... on Hacking Mac OS X · · Score: 1

    ... Typical ignorant DBA.

    Premature optimization is evil. Optimizing for a particular RDBMS with an application that may never need that kinda performance/integration is dumb.

  7. Re:Compilers on Hacking Mac OS X · · Score: 1

    XL C/C++ Enterprise Edition compiler supports Objective-C.

  8. Re:Some FAQ entries on AutoPackaging for Linux · · Score: 1

    Uh, this "dmg exploit" was fixed a long time ago, well before Tiger, soon after the exploit made the rounds. All they had to do was add a notification that you are opening a document or URL with an application that you have never explicitly run before. A relatively small change to LaunchServices.

    Relatively few programs for Mac OS X demand an administrator password.

    iTunes has always been shipped in a pkg.

    I'm guessing your Mac OS X experience consists entirely of what you read in slashdot comments?

  9. Re:Balance on Large Prize Offered For Writing Mac Virus · · Score: 1

    Uh, no. The internationalization services offered by Mac OS X are more than just strings. You can change anything you need to change to accommodate a new localization, including the size of the dialog and the layout of its buttons. The code doesn't need to change, because the UI and strings are outside of the executable. The application code doesn't need to know and shouldn't care which set of localized resources are being used.

    The scripting APIs are whatever the developer makes them. You don't typically script the UI of an application, you script the actions, so the names of the buttons aren't relevant.

  10. Re:External libraries on Webcam Jigsaw Solver in 200 Lines of Python · · Score: 3, Informative

    The "15-line" P2P program didn't use any libraries that don't ship with the Python interpreter. This uses several 3rd party packages.

  11. Re:Censorship resistant networks on Exeem "Successor" to Suprnova Announced · · Score: 1

    It is more valuable than your work because people are willing to pay more for it.

  12. Re:In no specific order: on What's Wrong with Unix? · · Score: 1

    Aliases are like a hybrid of a symlink and a hard link with some sugar on top (like the ability to point to network shares or drives that may not be mounted). They're smarter than symlinks and have different semantics, so they can not be unified. Symlinks and hard links are still there. If you want a symlink, use one, all the GUI apps understand them just fine.

  13. Re:Am I the only one who likes RFID? on NYT: Wal-Mart Slows RFID Plans, Suppliers Resist · · Score: 1

    The *chip* is smaller than a grain of rice, but the antenna is not.

  14. Re:What are people's opinion of comparisions on OpenGL Shading Language · · Score: 5, Insightful

    The point is that the DX shader assembly code has *lost meaning* in the translation from whatever high level language it came from. There are many possible optimizations that could have been made with a cheap analysis of the high level language that would be very difficult to make from looking at the low level language.

  15. Re:Apple seminar on GLSL at WWDC on OpenGL Shading Language · · Score: 2, Interesting

    Yes, but everyone who knows anything is under NDA so we can't tell you :)

  16. Re:Get your head out of your ass, moron. on Apple and the Open Source Community · · Score: 1

    quartz-wm looks (somewhat) like Aqua because it is. It won't run without Aqua.

  17. Re:What? on How Many Google Machines, Really? · · Score: 1

    Ever seen blades?

  18. dude, WebDAV on Subversion 1.0 Released · · Score: 2, Interesting

    Subversion (well mod_dav_svn) is built on a filesystem-over-http protocol, of course you can use it like a filesystem, on just about every platform, or from many applications, or through your web browser (to read it, anyway).

  19. Not your grandpa's RFID on Chemical, Printable RFIDs · · Score: 1

    This sounds awfully worthless. Think about it, they have a set of up to 70 chemicals, not an electronic device with collision avoidance. Since you have these collisions, if you had two distinct CrossID codes within range, then the reader will do a binary OR of the codes.. the reader will report a third code entirely.

  20. Re:Two reasons... on Dell's Gaming Monster · · Score: 2, Insightful

    There is no such thing as a resolution that is "too small".. only window managers that don't rasterize text/widgets properly for the current DPI.

  21. Re:If they can do this ... on Mac OS X Apps on Zaurus · · Score: 2, Interesting

    CoreFoundation is portable code, that's not in QT, but is statically linked into iTunes/Windows. Most, but not all, of it is open source.

    I'm sure AppleSingle resources aren't a problem, whether or not they're in QT, given that we have some relatively short pure Python code that does them cross-platform, I'm sure Apple has some longer C code to do the same.

  22. Re:Waiting for the other half, but.... on Review - Mac OS X Server 10.3, Part 1 · · Score: 1

    Once per year or two, if you want the latest and greatest software (they do support older releases with security updates and the like).

    It's worth it though.

  23. Re:Not the first time MORE has been on DVD... on Despairing of Pixar · · Score: 5, Informative

    Ok sorry, it wasn't volume 13 but volume 7. It's been on DVD since [at least] Feb 1, 2000 according to here.

  24. Not the first time MORE has been on DVD... on Despairing of Pixar · · Score: 5, Interesting

    I picked MORE up on DVD two or three years ago. It was on a compilation of a bunch of indie shorts. I don't have it in front of me, but I believe it was volume 13 of something (utopia maybe?) and it definitely had a picture of a mushroom cloud on the cover.

  25. Re:ANSI Art Library on Color Ascii Art Library · · Score: 1

    That's what you get for using .NET, what are you thinking?!