昨天黃昏,下著滂沱大雨之際,終於開課了。
這是一個Major in Advertising/Marketing & Communication的Part-time Degree Program,由HKU Space和澳洲Curtin大學合辦,我負責教的,是Brand Management這科目。
平時出外演說也文也武,自由發揮,今回為人師表,於是便認真起來,認真得超乎平
昨天黃昏,下著滂沱大雨之際,終於開課了。
這是一個Major in Advertising/Marketing & Communication的Part-time Degree Program,由HKU Space和澳洲Curtin大學合辦,我負責教的,是Brand Management這科目。
平時出外演說也文也武,自由發揮,今回為人師表,於是便認真起來,認真得超乎平
Where bitmap is a Python long, consider the innocent looking Pythonexpression:
bitmap = bitmap & ~(1L << bit)
This is the perfectly normal way of clearing a bit in a bitmap, soit looks like there's nothing peculiar going on here.
Except that Python longs are of indefinite (and theoretically infinite)length, and what makes this expression work in normal integers is thatthe two pieces have the same (finite) size. So Python is clearly notjust doing straight binary operations here