Follow Slashdot blog updates by subscribing to our blog RSS feed


Forgot your password?

Comment Re:Random paper generator (Score 1) 95

To be fair, quite a few conferences are nothing more than somebody's trying to take your money. I get emails all the time with subjects like "Call for Papers for the Third International Symposium on ." If you submit a paper (or read the fine print), they'll inform you that at least one author must pay to attend the conference or they won't include it in the proceedings. There is, of course, no peer review; every submitted article is accepted, just so long as you pay them.

Comment Re:What about 10 year old mysql bugs? (Score 1) 191

Don't forget MySQL's translation of NULLs in NOT NULL constrained fields to 0 or empty strings instead of rejecting the update as a proper RDBMS should. Somebody needs to explain to them that missing data is missing, not 0. I can't tell you how many problems I've seen this cause (ofc, whether and how NULLs should be used is another discussion entirely...).

Comment Re:fast, but wrong (Score 1) 191

Let's not forget how it "enforces" constraints. For example, consider:

sname VARCHAR(50) NOT NULL);
INSERT INTO emps (fname) VALUES ('John');

In a proper RDBMS, that would fail for violating a constraint. MySQL/MariaDB just massage the missing sname into an empty string, which is about as valid as just sticking 'sldfjpsdj;ksdj;fsdljkfsd.'

Comment Tail recursion (Score 1) 242

You've stated ( that you consider tail recursion to be "unpythonic." Could you elaborate on that a little more. What about algorithms that are by their very nature recusive? I've found that a combination of memoization and tail recursion can, under the right circumstance, provide wonderfully clear code without taking too much of a performance hit, and Python's decorator facility always seemed more or less ideal to me for that sort of application.

Comment Multi-line lambdas (Score 3, Interesting) 242

One of the most common complaints about Python is the limitations of its lambdas, namely being one line only without the ability to do assignments. Obviously, Python's whitespace treatment is a major part of that (and, IIRC, I've read comments from you to that effect). I've spent quite a bit of time thinking about possible syntax for a multi-line lambda, and the best I've come up with is trying to shoehorn some unused (or little used) symbol into a C-style curly brace, but that's messy at best. Is there a better way, and do you see this functionality ever being added?

Slashdot Top Deals

If you didn't have to work so hard, you'd have more time to be depressed.