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

Stuff that inspire you to create.

See also: ▙ @LitMind
Download Telegram
Piaget's theory of cognitive development is a fantastic theory on which to base the model of an intelligent machine.
“I can't tell you how much time is spent worrying about decisions that don't matter. To just be able to make a decision and see what happens is tremendously empowering, but that means you have to set up the situation such that when something does go wrong, you can fix it.”
Ward Cunningham
8 steps to set-up a Java project in VS Code using Git, GitHub, and Gradle

This will help you set-up a Java project in VS Code that:
• Has source control using Git
• Has build automation with Gradle
• Benefits from a flexible development environment that is VS Code
• Is cross-platform and high-level yet, statically-typed and robust per Java
• Has collaborative possibilities through GitHub

But first, make sure you:
• Have Git, Gradle, Java, and VS Code installed, and in PATH
• Have the Git, Gradle and Java VS Code extensions installed and enabled
• Have a GitHub account

If you do, follow these steps:
1. Open the command prompt and use cd to navigate to anywhere you want
2. Use mkdir <project-name> to create a new directory, and cd <project-name> to navigate into it
3. Once inside, do gradle init and interact with it to initialize Gradle there
4. Do code . to open that directory in VS Code
5. Press Ctrl+Shift+G ⌨️, stage all changes, and commit your first commit
6. Create a new repo on GitHub, and copy the URL it gives you
7. Do git init to initialize the directory as a Git repo, git remote add origin <github-url> to set, and git remote -v to verify its remote origin [Source]
8. From within VS Code, click on sync on the bottom left corner

You are done!

#tutorial #java #vscode #gradle #github #git #cli #sourcecontrol #buildautomation
“[It] is like a mental cage. At first, when you open the door, the caged bird stays inside: it is frightened. It has internalized its imprisonment. It takes time for the bird to escape, even after someone has opened the doors to its cage.”
Ayaan Hirsi Ali
“Natural man did not precede society, nor is he outside it.”
Claude Lévi-Strauss
“What I know wreaks havoc upon what I want.”
Emil Cioran
“One should accept the truth from whatever source it proceeds.”
Maimonides
“Reason in man is rather like God in the world.”
Thomas Aquinas
Font Metrics 101

Source
“The whole threefold analytic art, claiming for itself this office, may be defined as the science of right finding in mathematics.”
François Viète, in artem analyticem isagoge (1591)
“But much oftener, the questions proposed by the physicist have transcended the utmost powers of the mathematics of the time, and a fresh mathematical creation has been needed to supply the logical instrument requisite to interpret the new enigma.”
Henry John Stephen Smith
“There are no answers, only cross-references.”
Norbert Wiener
A plethora of conversions from analog to digital and back makes the internet possible.
“Do not destroy what you cannot create.”
— Leó Szilárd
“Let us imitate him as he imitated others.”
Erasmus
“Make men work together; show them that beyond their differences and geographical boundaries there lies a common interest.”
Jean Monnet
“The computer can be used as a tool to liberate and protect people, rather than to control them.”
Hal Finney
“If you ask beginning programmers to write a calendar control, they often think to themselves, "Oh, I'm going to write the world's best calendar control! It's going to be polymorphic with respect to the kind of calendar. It will have displayers, and mungers, and this, that, and the other." They need to ship a calendar application in two months. They put all this infrastructure into place in the control, and then spend two days writing a crappy calendar application on top of it. They'll think, "In the next version of the application, I'm going to do so much more."

Once they start thinking about how they're actually going to implement all of these other concretizations of their abstract design, however, it turns out that their design is completely wrong. And now they've painted themself into a corner, and they have to throw the whole thing out. I have seen that over and over. I'm a strong believer in being minimalistic. Unless you actually are going to solve the general problem, don't try and put in place a framework for solving a specific one, because you don't know what that framework should look like.
Anders Hejlsberg, The Trouble with Checked Exceptions
"It is what" illicits intensions.
“Words change their meanings, just as organisms evolve.”
Stephen Jay Gould
“Life is a distributed object system.”
Roy T. Fielding, 1998