Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror

Comment DMCA Gives the Right (Score 5, Interesting) 287

should a music company have the right to have a news podcast removed on copyright grounds, when it's not even clear that said company has had any copyrights violated?

Should they? No. But the DMCA gives them the right (or at least the ability) to do so. It gives it to you, too. My understanding is that anyone can file a DMCA takedown notice.

I have often wondered what would happen if people started filing DMCA takedown notices by the millions on major websites against the big content producers. There doesn't seem to be any penalty for filing bogus notices.

Comment Simpler is Better (Score 3, Interesting) 287

My experience with python-based frameworks is that they tend to help at the beginning and get in the way when you want to do something that is outside what they do easily. Here's what I have learned:

1. If your developers have access to the file system, then stay away from anything that tries to be a content
        management system (I'm looking at you, Zope).
2. Think hard about how user permissions will be handled, because if you screw it up it will make debugging and
        security a nightmare.
3. Debugging is harder with web-based development than with desktop development. Make sure your framework
        has great debugging tools which (for python development) means:
        a. The stack traceback is readily available and
        b. The framework doesn't try to catch and handle everything. If it does you will find that your error
                messages are raised no where near where the actual problem lies and you will have a terrible time finding them.
4. Maybe skip the framework altogether and instead use individual tools. I use:
        - webpy for the dispatcher
        - Tryton (with Proteus) for handling the database (This allows me to quickly assemble the "administration"
            portion of the application in Tryton instead of building a web front-end)
        - genshi for templating
        - formencode for validation/user error messages
        - pyjamas plus YappyCat for AJAX.

Is it sad that everything I have learned about using frameworks can be boiled down to a
short slashdot post?

Comment You would think so... (Score 3, Interesting) 161

But according to how this exploit works they are not "completely different". They, in fact, have a small overlap. Apparently the exploit works by using JavaScript to load a file from a website and see how fast it loads. It infers you have been to a website if the file loads quickly.

They seem to have a trick to stop the process just before the browser puts the loaded file into the cache which prevents it from poisoning the very cache it is "testing".

Thus, setting cache to 0, which the OP recommends, and which I have been doing for years, is exactly the fix needed. I admit that I do not know he also disables history, as that would not help with this exploit.

Comment Something Like This? (Score 5, Informative) 167

We all think you're crazy, but here it is:

#!/bin/env python
from mailbox import mbox, mboxMessage

orig_mb = mbox(path/ot/orig/mbox)
new_mb = mbox(path/to/new/mbox)

for key,msg in orig_mb.iteritems():
        new_msg = mboxMessage()
        payload = msg.get_payload()
        if msg.is_mulltipart():
                payload = payload[0].get_payload()
        for header in msg.keys():
                new_msg[header] = msg[header]
        new_msg.set_payload(payload)
        new_mb.add(new_msg)
new_mb.flush()

Comment Re:The 1% are insulated (Score 2) 1799

I worked as a self-employed programmer, computer consultant, and network administrator from 1992 - 2008 when I sold the business. I wasn't even incorporated until 2000. I have never heard of this alleged law and I note that the article does not cite it by statute number and does not describe it except in the vaguest of terms.

Slashdot Top Deals

Have you reconsidered a computer career?

Working...