Slashdot Mirror


User: 1110110001

1110110001's activity in the archive.

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

Comments · 328

  1. Re:Pull the other one! on Microsoft to Open up Office Formats · · Score: 1

    This announcement is for Europe, without software patents.... for now. Of course if in 18 months there just HAPPEN to be software patents

    Look at the Presidency of the Council of the European Union for the next months. Austria, Finnland, Germany - not exactly the best candidates to establish software patents in the EU.

    b4n

  2. Re:As a gun owner on CSI Takes On Grand Theft Auto · · Score: 1

    Show me how you cut your bread and put butter on it with a gun and you can keep it.

    b4n

  3. How hard it is to check for dupes on MIT Wireless Campus Tracking Users · · Score: 1

    I just tried to find both stories in the search: http://slashdot.org/search.pl

    I've searched for MIT, wireless and campus. The older story is on third, second or fourth (in that order for the given words) and this always on first.

    So it doesn't matter how you, ScuttleMonkey, did the dupe check. It clearly shows you and your bad eyes need a doctor.

    b4n

  4. Re:It's not going to last... on Apple - What A Difference Eight Years Can Make · · Score: 1

    There will be an iPod killer at some point -- when the iPod isn't as 'cool' as it is now.

    You could say something like this is now happening to the iPod mini. The competitions has some fine products to "kill" the iPod mini or at least to lower its market share. What did Apple do? They kill it themself and with the iPod nano they are again better than the competition.

    b4n

  5. ctrl+tab on Mac OS X on Firefox 1.5 RC1 Released · · Score: 4, Informative

    With bug 275519 "[Mac] Support Command+Option+Arrows for tab switching (like Camino)" they decided to drop support for ctrl+tab under Mac OS X. As it's now a RC let me give you a how-to to reenable ctrl+tab. I hope it's easier in the final release (copied from my comment in https://bugzilla.mozilla.org/show_bug.cgi?id=27551 9).

    1) Quit Firefox
    2) Go to Firefox.app, Choose Show Package Contents (my Finder show the german
    text so I can only guess what's the wording in english) and go to
    Contents/MacOS/chrome/
    3) Backup toolkit.jar and rename it to toolkit.zip
    4) unpack toolkit.zip and go to content/global/bindings/
    5) open tabbrowser.xml
    6) Replace (in line 1977 in my file)
              this.mTabBox.handleCtrlTab = !/Mac/.test(navigator.platform);
          with
              this.mTabBox.handleCtrlTab = true;
    7) Create an archive of the content folder
    8) Rename it to toolkit.jar
    9) You can now use ctrl+tab again

    b4n

  6. Re:Take Java seriously on Help crack the Java 1.6 Classfile Verifier · · Score: 1

    You can load extensions at runtime in PHP with dl(). It just doesn't make sense. PHP and Java are different languages and that's why you shouldn't try to make things exactly the same. Your Java code keeps running after a request has ended. That's very different to PHP.

    PHP is request based. The code starts with the request and ends with it. The GC runs after the request (unused variables only get marked as such - the memory is freed, when the script ends, but can be reused while executing the script). Thus it buys you nothing to load or unload extensions via PHP. You can safely restart your webserver and won't lose any data or state as you've saved if in a DB or file or somewhereelse and it makes not difference for the scripts if the Webserver kept running or was just restarted.

    Of course you can also use libraries written in PHP like the PEAR stuff and include them ondemand. There's also a new "magic loader" via the __autoload() function in PHP5 that makes it easy to load just the code you need.

    PHP and Java are different. None of them is good or bad because of this. But you have to make things differently to get supported from the language.

    BTW an echo or print in PHP is the same as code outside of . It just looks different in "userspace" or PHP, but the opcodes generated are the same and both add content to the output buffer. What makes PHP slow is the recompiling everytime you call a script. But there are numerous opcode caches to avoid this. So the performance difference gets very small between JSP/Java and PHP. The bigger problem in webdevelopment are databases, or the network or a file storage.

    Choose the language you like, Java or PHP or Perl or Python or Ruby, ... If you use it right you'll have much fun with any of these languages.

    b4n

  7. Re:Take Java seriously on Help crack the Java 1.6 Classfile Verifier · · Score: 1

    6. Dynamic Loading - While C/C++ can manage dynamic loading of shared objects, it's a very difficult thing to implement. Java does it out of the box, with a full reflection API and interface support, thus allowing such wonderful code as Beans, Servlets, Pluggable Drivers, self-organizing code, and a host of other features that other systems can't compete with.

    (If you don't believe me, try adding support for a feature in PHP sometime. "It's so simple! Just install the SO and recompile PHP!" Meh.)


    If reflection and interfaces are all you need for the magic PHP5 should do it fine. And why do I need to recompile PHP to load a SO? Just add an entry to the INI.

    b4n

  8. Re:Meta navel gazing is exactly what's required on Designer on Slashdot Overhaul Plans · · Score: 1

    Coral Cache is a bad idea until they use port 80. Some of us like to read Slashdot in the breaks at work.

    b4n

  9. Re:One thing to note ... on Early AJAX Office Applications · · Score: 1

    At least half of the stuff on the list has nothing to do with AJAX, but is just Javascript. That's what happens if something gets hyped. Other stuff on the list don't use XML for the communication so they aren't really AJAX either. As cool as this stuff can be as boring and wrong are most writings about it.

    b4n

  10. Re:Obligitory on Wikipedia's New Archnemesis · · Score: 3, Funny

    It seems like Stupidedia got stuck in another wormhole, as they have been live a whole month before. On the other hand it's in german and made by Austrians and maybe being Americans makes it easier for the Uncyclpedians to be uninformed.

    b4n

    PS: I know no-one in the US is uninformed. The media and the administration would never lie to anyone.

  11. Re:Hey, Cool! on Columba 1.0 "Holy Moly" Released · · Score: 1

    So how much do I need to pay to get my software advertised on Slashdot?

    You could start with working links. nyud.net does not work behind most cooperate firewalls.

    b4n

  12. Re:Wordstar keybindings on Perl Best Practices · · Score: 1

    Yeah and look at what they do now: cmd+opt+[left|right] for tab switching. And you can't change it to strg+tab in the system settings.

    b4n

  13. Re:Haw haw on Comparing MySQL and PostgreSQL 2 · · Score: 1

    Truncating varchars is handy for webforms... you don't want to reject the data... but usually the data isn't important enough (like a slashdot post) to really care if a couple words get chopped off by accident (in case you didn't set the character limit on your textbox to match the database).

    I guess Slashdot would look very funny if MySQL truncates the text. If you've ever looked below the submit button you'd have seen the allowd tags. If your text limit is in the middle of one of these tags or maybe just the closing tag doesn't fit in the field the whole page is screwed.

    Sure you could check every comment you get from the database - every time you need to display. Or maybe someone should enforce length limits. That's where it really sucks if MySQL thinks it knows better what it should to with my text.

    b4n

  14. Re:I don't Mambo on Mambo Foundation Gets Copyright, After All · · Score: 1

    With a good CMS you don't have much scripts to the outside user. A CMS is made for mostly static content. The tranformation to HTML and stuff like that can be made with some CLI tools. And you'll get static pages, which are a vulnerable as your webserver.

    The heavy scripting part in a CMS is in the backend stuff. That's what your editors and other staff gets to see. This stuff should be in a seperate space, or even a seperate server. The only user who is able to attack these scripts are you and your editors - if you can't trust them you have a bigger problem, than your language of choice.

    BTW you should take a look at the Bitflux CMS. You can also get a test space at freeflux. It's based on Popoon, which is something like the PHP version of Cocoon and has driven the new XML libs in PHP5.

    b4n

  15. Re:People are looking at this the wrong way on A Piece of CherryPy for CGI Programmers · · Score: 1

    1600 req/min is what you're talking about? And the servers are still bored. At least mine. And that with PHP 4.3 - 5.1 is much faster. And if the machines are no longer bored we'd just a server - PHP is very good at scaling.

    As I said - clean code - no problem.

    b4n

  16. Re:People are looking at this the wrong way on A Piece of CherryPy for CGI Programmers · · Score: 1

    For starters, ASP (assuming you mean ASP.NET) is lightyears ahead of anything python simply because it gets compiled into machine code before it's executed and runs "closer to the iron" (and therefore blows the doors off anything interpreted).

    Ok so you're code is running faster. And that brings you? Nothing. You're code is just waiting faster for data from the network or the database or the filesystem. If your code is good it doesn't matter if it's written in PHP, ASP, Python, Perl, Ruby, ... because it's always fast enough for the web.

    b4n

  17. Re:What being in a single process really means on A Piece of CherryPy for CGI Programmers · · Score: 1

    ... , you can share items in memory that would otherwise have to go through the database, ...

    Like with shared memory? But shared memory also works with multiple processes. And if you've more than one webserver (scaling and stuff) you still need a central data storage, like a database or a simpler session storage (i.e. msession).

    b4n

  18. Re:Link crashes FireFox 1.0.6 on Carmack's QuakeCon Keynote Detailed · · Score: 1

    Mine is crashing too - with Flashblock installed. It can't be a flash thing.

    b4n

  19. Re:Posting anon to protect the guilty on Spring Into PHP 5 · · Score: 1

    The PHP manual, which is a docbook - so you could call it anti-wiki ;), has a chapter about the CLI stuff: http://php.net/manual/en/features.commandline.php - or you should install the man page on Mac OS X I have one. Or you could just call php with -h - -v gives you BTW the version and tells you which SAPI it's been compiled with (cli, cgi, fcgi).

    The syntax $x = &foo(); would call a normal function called foo and assign a reference to the return value $x. That's already a valid syntax, thus it can't be used for a new feature. And it's the way you handle returned objects in PHP4. As Marcus Börger said: "If your OO code doesn't work , throws some amps around. If it still doesn't work user more" ;) This stuff has been solved in PHP5.

    The variable function call syntax has an other advantage - it can also be used for method calls. See http://php.net/manual/en/language.pseudo-types.php #language.types.callback for information about callbacks (that's how it's called in PHP).

    If you've more questions about PHP don't hesitate to ask =)

    b4n

  20. Re:Posting anon to protect the guilty on Spring Into PHP 5 · · Score: 1
    So you work with PHP every day - why don't you just read the manual?

    HTML Output in the CLI? Nope:
    $ php -r "echo 1/0;"
     
    Warning: Division by zero in Command line code on line 1
    Don't use the CGI if you really want the CLI SAPI.

    Can't use strings in numeric operations? Or even dying? Nope:
    $ php -r "echo 'a'*'b'; echo '1'+'a';"
    01
    Everything is converted. A string to integer conversion takes the leading digits and makes that an int.

    HTML Centric? Actually it's XML centric. are PIs.

    Need to reference a function? Put the name a string in a variable:
    php
    <?php
    function foo() { echo 'bar'; }
    $x = 'foo'; $x();
    ?>
    [ctrl+d]
    bar
    Modules have to be recompiled? Nope. Make a DLL or SO and load it via php.ini. That's where phpize is used.

    You have a long way to learn PHP ...

    b4n
  21. Re:I wonder if Apple... on VMware Opens Up API to Partners · · Score: 1

    More-importantly, why Apple isn't shipping their "Developer Kits" as VMware .vmdk images instead of on actual hardware.
    [...]
    Oracle does it, why not Apple?


    Easy. They don't want everyone to have it. It's easy to copy a .vmdk, but not a real machine. No P2P, no bittorrent.

    And Oracle can do it because they have a different user base. No kiddies or such people.

    b4n

  22. Re:Why Google ain't all that on Yahoo Passes Google in Total Items Searched · · Score: 1

    Maps: That interface -- scrolling, markers, and all -- is done entirely in javascript. No plugins, no flash, no helpers. Nobody thought that that sort of thing was even possible.

    Except http://map.search.ch/ - they did the same thing - before google. Not only that - it also loads faster via ISDN and has IMHO a better interface. Take a look at http://map.search.ch/zuerich as example.

    b4n

  23. Re:We use it! on Atom 1.0 vs RSS 2.0 · · Score: 1

    Ok I did take a look at the feed and if I see it correctly the feed defines a cache time of 30 minutes. So if your proxy requests the document more than once in 30 minutes it's a broken proxy.

    b4n

  24. Re:Hmm... on IBM Officially Kills OS/2 · · Score: 1

    There is no Bank of Austria. We have the National Bank of Austria and Bank Austria, which is a private bank and thus not "of Austria".

    b4n

  25. Re:Clarifications on City of Vienna Chooses Linux · · Score: 1

    we don't eat much sauerkraut. That's what Germans do.

    But you should try Käsekrainer (please don't ask me how it's called in English). It's like a bratwurst with cheese in it. You can find it at the various Würstlstandl (like sausage/hotdog-stand). Best served with a piece of bread and mustard (your mileage may vary).

    b4n