Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:oh god no (Score 1) 525

True, but you *can* take honor and use it to get additional credit. If you are able to pay your bills in full and on time, you will still have far more economic flexibility than the bailed out homeowners who, despite avoiding foreclosure, still have a record of months of non- or late-payments.

Comment Re:If they kill piratebay (Score 1) 294

Or, you know, another 2-3 torrent sites will appear to fill the void within 7-10 days, and the circle of life continues.

The problem with the oft-proposed solutions of distributed trackers or trust-based sharing is that in addition to making it more difficult for the media empires, it does the same for regular people.

The *AA are gaining assets and funding all the time, and any attempt to make it more difficult for them to infiltrate a segment of the sharing community is far more likely to present a problem for "honest" users than for the gestapo.

The current response to these shutdowns is bothersome for a few days, but it closely mirrors the response of the Internet at large when resources are preempted.

Comment Re:About to move to the Java port of Lucene... (Score 1) 47

What I ended up doing for various webapps (PHP and Python, although Python's port of Lucene actually loads the Java runtime, and is fairly fast) is create a simple local server that a PHP script can communicate with over sockets and a trivial protocol.

This is fairly straightforward for me since most of the time I just want Lucene to return a list of document IDs. I use those IDs to create a temp table that I can do additional queries against in SQL.

Running it as a separate server allows me to use the original Java codebase (which make updating the library easy), and also avoid the overhead of loading/instantiating Lucene from PHP on every request.

Comment Re:In all seriousness (Score 2, Insightful) 215

I would be interested to see an example of Python code where a change to whitespace causes two identical-looking pieces of code to do two different things.

The only issues that *ever* come up in such a scenario is a SyntaxError, and pretty much the only reason they ever happen en masse is due to indiscriminate copy-and-paste coding.

Syntax errors can barely even be called bugs, and in any significant project the amount of time you're going to spend dealing with them is easily dwarfed by the *real* bugs that are a natural part of the development process.

If developers are spending a truly inordinate amount of time on whitespace issues, it can only be due to lack of discretion and attention to detail, which I would be willing to wager is increasing the number of "real" bugs emerging as well.

Slashdot Top Deals

Work without a vision is slavery, Vision without work is a pipe dream, But vision with work is the hope of the world.

Working...