1,273 karma · joined Nov 19, 2009 (17y ago) · 253 submissions
1.
The Flow of Code(medium.com ↗)
1 points · by postfuturist · 12y ago · discuss
comment 12y ago · link · parent
comment 12y ago · link · parent
The "lazy people" you refer to is 98% of the Python community.
Python 3 didn't "gain" static type checking. You can (and I do) run pylint against Python 2 code which is just static analysis, not full type checking. The situation here has not changed between Python 2 and 3.
Python is glue code. You write a small piece of Python to tie together external libraries. Moving a smallish piece of Python code from Python 2 to Python 3 often means porting several 3rd party libraries. If you were to move to Ruby, all you'd need to rewrite is your own code, as there are likely already 3rd party libraries which need no porting.
comment 13y ago · link · parent
comment 13y ago · link · parent
comment 13y ago · link · parent
It is an implementation of a data structure invented by Phil Bagwell: http://lampwww.epfl.ch/papers/idealhashtrees.pdf
comment 13y ago · link · parent
$id = mysql_real_escape_string($_GET['id']);
$res = mysql_query("SELECT foo FROM bar WHERE id='$id'");
That may be ugly, but it's bulletproof regarding injection.comment 13y ago · link · parent
comment 13y ago · link · parent
With no support and no upgrade path, I don't see what the draw is.
comment 13y ago · link · parent
2. He wasn't the one who started the comparisons with Aaron Swartz, from weev's tweet: "CNN is also sitting around calling me a meanie. I'm a bad troll, and no Aaron Swartz, the outraged masses cry!" Then he goes on to continue differentiate himself from Aaron, he never created or invited a positive comparison.
3. The article said he was sending messages to another person who was tweeting on his behalf. Why would he lose his right to free speech just because he has been convicted of a crime? Why wouldn't he be able to tweet (by proxy)?
EDIT s/charged/convicted/
comment 13y ago · link · parent
comment 13y ago · link · parent
comment 13y ago · link · parent
comment 14y ago · link · parent
No, assuming the company was in violation of the GPLv3, they would probably need to stop using it, and potentially pay damages if sued by copyright holders, but would be under no compulsion to release their own proprietary source code. Unless, of course, they wanted to comply with the terms of the license and continue using it. However, the GPLv3 alone wouldn't even require that unless they were selling or making available copies of the software.
comment 14y ago · link · parent