Change is transparent to users

phoe6: When something is said "the change is largely transparent to the users".

I can understand that users will be able to see through, but does it also mean,

the users won't be affected by the change?

Zemblan said: It means they probably wont notice.

Shamcas: They probably won't notice.

phoe6: that seems true, but I don't get the logic of how something being

transparent means this.

Shamcas: they don't see it. :P

ViciousPotato: phoe6: If something is transparent, you can see through it.

ViciousPotato: Thus, a transparent change would be something a user would

likely look right past.

Python Strings as Comments

The question was:

In Python we can emulate multiline comments using triple-quoted

strings, but conceptually strings and comments are very different.

I.e. strings are objects, comments are auxillary text discarded at

compile time. Strings are objects created at runtime, comments are


The answer from Steven D'Aprano:

Guido's time-machine strikes again.

>>> import dis

>>> def test():

... x = 1

... """

... This is a triple-quote comment.

... """

... return x


>>> dis.dis(test)

2 0 LOAD_CONST 1 (1)

          3 STORE_FAST               0 (x)

6 6 LOAD_FAST 0 (x)

          9 RETURN_VALUE

String literals -- not just triple-quoted strings, but any string

literal -- that don't go anywhere are discarded by the Python compiler,

precisely so they can be used as comments.

Pell's Equation

x^2 - n y^2 = 1

(Pell's equation) which is named after the English mathematician John Pell. It was studied by Brahmagupta in the 7th century, as well as by Fermat in the 17th century.

8 Bit Byte

Factors behind the ubiquity of the eight bit byte include the popularity of the IBM System/360 architecture, introduced in the 1960s, and the 8-bit microprocessors, introduced in the 1970s. The term octet unambiguously specifies an eight-bit byte (such as in protocol definitions, for example)

Otherwise, people have tried with 12 bit byte. Varying byte length in PDP 10. 6, 7 and 9 bits in Univac computers.

Muhammad al khowarizmi

Muhammad al-Khowarizmi, from a 1983 USSR commemorative stamp scanned by Donald Knuth

The word "algebra" is a shortened misspelled transliteration of an Arabic title al-jebr w'al-muqabalah (circa 825) by the Persian mathematician known as al-Khowarismi. The al-jebr part means "reunion of broken parts", the second part al-muqabalah translates as "to place in front of, to balance, to oppose, to set equal." Together they describe symbol manipulations common in algebra: combining like terms, moving a term to the other side of an equation, etc.

The pasta theory of design

The pasta theory of design:

* Spaghetti: each piece of code interacts with every other piece of code [can be implemented with GOTO, functions, objects]

* Lasagna: code has carefully designed layers. Each layer is, in theory independent. However low-level layers usually cannot be used easily, and high-level layers depend on low-level layers.

* Ravioli: each part of the code is useful by itself. There is a thin layer of interfaces between various parts [the sauce]. Each part can be usefully be used elsewhere.

* ...but sometimes, the user just wants to order "Ravioli", so one coarse-grain easily definable layer of abstraction on top of it all can be useful.

An application design using Twisted's Aspect Oriented Programming Design is that special Ravioli.

Prisoner's dilemma

The cops have caught two prisoners and do not have sufficient evidence. They decide to put them in seperate cells and give the choice to either betray the other person and be free or be silent.

Case Prisoner 1 Prisoner 2

1) Betray (go Free) Silent (10 year Jail)

2) Silent(10 year Jail) Betray (go Free)

3) Silent(6 month Jail) Silent (6 month Jail)

4) Betray(5 year Jail) Betray (5 year Jail)

What would you do? 

Game theory deals with this topic nicely.

Paid 300 as bribe to a policewala

That was near the corporation circle where the vehicles and people are generally crowded. I missed the signal and I realized only when people crossing the road that I had missed it. Got caught by the police and with the routine checks, I noticed that I did not have emission certificate with me.

My bad, 2 offenses. 1) Not stopping at Signal and 2) Not having emission certificate for my vehicle.

But the Police guy wanted to add another offense as 3) dangerous driving. When pleaded and argued that I was not driving dangerous, he just reminded that it is his decision to inform that was I dangerous driving or not and wanted to put fine as Rs.800/- with dangerous driving fine as Rs.500/-.

With lot of requests and conversations and he pulled in two of his friends and to settle the matter, was happy if I pay him Rs.300/-. I did not think much, thought it was okay, just giving him money for his himself and house, rather than lasting it further and gave Rs.300/- as bribe and came back.

Today morning as I recollect it, I think I did wrong.

1) Have my papers ready and be ready to pay the fine would have been more appropriate.

2) Unnecessary talking could have been avoided.

But in the instance when wrongly charged all I wanted to was escape and Rs.300/- for that escape was bit costly.

Previously, near the Indiranagar to Koramangala flyover, when the cop caught me, I had emission certificate but not insurance. So just checked the emission certificate and for the lack of insurance instead of fining Rs.300/-, he just gave Rs.100/- back and pocketed Rs.200/-. I did not say anything then either, thought Rs.100/- saved.