83 karma · joined Sep 2, 2011 (15y ago) · 32 submissions
comment 4y ago · link · parent
After copyright expiration, the original author of intellectual property can create derivative works even after their copyright expires (in the same universe, etc.) or even updated revisions, which restart their copyright for the revision. Even if other could do so, I suspect the market for their derivative works will still have a preference for their works vs. others who create derivative works of the original, depending on the quality of the derivatives.
It is really hard to own land (or any other physical thing) after you've sold it but the same is not true of a novel.
comment 5y ago · link · parent
Julian Assange, who hasn't even been convicted AFAIK, has been kept in solitary in a maximum-security prison while only being accused, falsely it turns out, of non-violent crimes. The reasonableness of the entire punishment must be taken into account, not just the duration.
comment 5y ago · link · parent
Find the evidence to prove/disprove the model.
comment 6y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
With a topic as sensitive as urban density, where city planners have been bombarding us with the "right-answer" of high-density living for decades, I would expect people to over-report preferring high-density living, especially on a survey conducted by someone trying to prove their case that people prefer high-density housing.
comment 8y ago · link · parent
This is just a company doing what any good company would do, shopping around for the best venue/set of rules for it's business. That's why companies physically located in Illinois or California incorporate in Maryland. Since India was willing to take responsibility for the launch, the USA (and FCC) is just out of the picture.
comment 11y ago · link · parent
comment 12y ago · link · parent
comment 12y ago · link · parent
comment 13y ago · link · parent
comment 13y ago · link · parent
comment 13y ago · link · parent
Generic functions and their associated methods allow :before, :after and :around qualifiers to be added to specify the order in which they are run without the need of creating secondary method names for each layer of subclasses. For base class methods that need code to be run before or after the more-specific subclass method is called, a :before/:after method(s) is written that will be executed before the more-specific subclass "overridden" unqualified method is called. The developer of the subclass doesn't have to care/know that the base class is still doing some work there.
Conversely, if this base :before method needs to be modified, it too can be overridden with a corresponding :before qualified method (with/or without a call back to the base :before method via call-next-method) or even totally shadowed by an :around qualified method in the subclass.
This seems to be the best of both worlds. The original base class developer can specify code that needs to be executed for each overridden method without the sub-class developer needing to be aware of it without handcuffing the sub-class developer in handling edge-cases that the base-class developer didn't foresee.
Here is the example code that implements this:
(defclass game-object ()
((x :accessor x :initarg :x :initform 0)
(y :accessor y :initarg :y :initform 0)))
(defmethod set-transform (renderer x y)
;; set the renderer coordinates here.
)
(defmethod draw-image (renderer image)
;; draw image here
)
(defgeneric render (game-object renderer)
(:documentation "Render GAME-OBJECT to display using RENDERER."))
(defmethod render :before (game-object renderer)
(set-transform renderer (x game-object) (y game-object)))
(defmethod render (game-object renderer)
(draw-image renderer game-object))
;; Class where the :before base class method just runs
(defclass scary-monster (game-object)
((image :accessor image :initarg :image)))
(defmethod render ((game-object scary-monster) renderer)
(draw-image renderer (image game-object)))
;; Class where the :before base class method is prevented from running
;; to prevent some undesirable action.
(defclass happy-monster (game-object)
((image :accessor image :initarg :image)))
(defmethod render :around ((game-object happy-monster) renderer)
(draw-image renderer (image game-object)))
;; REPL session with the RENDER, SET-TRANSFORM and DRAW-IMAGE methods traced
CL-USER> (render (make-instance 'scary-monster :x 1 :y 2 :image 'a) nil)
0: (RENDER #<SCARY-MONSTER {2456D3F1}> NIL)
1: (SET-TRANSFORM NIL 1 2)
1: SET-TRANSFORM returned NIL
1: (DRAW-IMAGE NIL A)
1: DRAW-IMAGE returned NIL
0: RENDER returned NIL
NIL
CL-USER> (render (make-instance 'happy-monster :x 3 :y 4 :image 'b) nil)
0: (RENDER #<HAPPY-MONSTER {246A1689}> NIL)
1: (DRAW-IMAGE NIL B)
1: DRAW-IMAGE returned NIL
0: RENDER returned NIL
NILcomment 14y ago · link · parent
comment 14y ago · link · parent