ComputerScientist
174 subscribers
14 photos
3 files
206 links
▜ The Inventor

Stuff that inspire you to create.

See also: ▙ @LitMind
Download Telegram
Properties repeatedly set grow safe-guards against unusual changes.
“By continuously improving the design of code, we make it easier and easier to work with. This is in sharp contrast to what typically happens: little refactoring and a great deal of attention paid to expediently adding new features. If you get into the hygienic habit of refactoring continuously, you'll find that it is easier to extend and maintain code.”
— Joshua Kerievsky, Refactoring to Patterns
Robustness += being prepared for every scenario, no matter how unlikely.
become something := acquire its properties
Quine
- is a non-empty computer program which produces a copy of its own source code as its only output, and cannot receive any form of input, including reading a file, which means a quine is considered to be "cheating" if it looks at its own source code. Quines are possible in any Turing complete programming language, as a direct consequence of Kleene's recursion theorem.

A quine in #Python:
s = 's = %r\nprint(s%%s)'
print(s%s)
#Office
Excel versus Access
Both are from Microsoft, and both handle tabular data; but that is where the similarities end.

Differences in usage:
• Excel is a spreadsheet app, Access is a #DBMS
• Excel is useful in a greater scope, but Access is much more useful in one specific area
• Excel is used for paperwork and data visualization (formulas, charts, graphs etc.), Access is used in storing, sorting and searching information that can be accessed by many people
• Excel is used by financial and statistical analysts; Access is used by small business owners
• Excel users need not have any programming knowledge; Access users, to take full advantage from it, do need it.
• Excel is much more easier to learn, and to use, than Access

Differences in structure:
• Excel is flat; Access is relational
• Excel stores entire sheets; Access stores records
• Excel handles huge data less efficiently than Access
• Excel is more flexibile, and adaptabile to the needs of the user, than Access
• Excel file format is .xlsx; Access file format is .accdb and .mdb
Jeff Bezos, 1999
“The crisis of yesterday is the joke of to-morrow.”
— Herbert George Wells
Would an AI have religion?
“C is quirky, flawed, and an enormous success.”
— Dennis Ritchie
“The moving power of mathematical invention is not reasoning, but imagination.”
— Augustus De Morgan
Never emulate objects using arrays or lists or any other data structure; it gets real messy real fast.
When you have a problem, try to solve it; but when you have many problems of the same nature, solve one and then automate the solution.

Don't just solve problems, solve classes of problems.
“I hate mysteries, they bug me. They need to be solved.”
— Felicity Smoak
“[Design] is not just what it looks like and feels like; design is how it works.”
— Steve Jobs
“Debugging is like being the detective in a crime movie where you are also the murderer.”
— Filipe Fortes
“A bug is never just a mistake. It represents something bigger. An error of thinking that makes you who you are.”
— Elliot, Mr. Robot
“After logic we must proceed to philosophy proper. Here too we have to learn from our predecessors, just as in mathematics and law. Thus it is wrong to forbid the study of ancient philosophy.”
— Averroes
If properties were fully abstract, and objects were comprised entirely out of properties, then all objects and by extension, all apps, would be cross-platform.