Open in app

Sign in

Write

Sign in

Massimo Caliman
Massimo Caliman

53 Followers

Home

About

Pinned

What is an inference engine?

An inference engine is a component of an expert system that uses the knowledge base to make decisions. The inference engine uses a logical process to apply the rules to the knowledge base and generate a response. The logical process used by the inference engine varies depending on the expert…

1 min read

What is an inference engine?
What is an inference engine?

1 min read


Pinned

Understanding Domain-Specific Languages

Due to my passion for various programming paradigms, I first became interested in DSLs back in 1999. A Domain Specific Language (DSL) is a programming language specialized for a particular application domain. …

Domain Specific Languages

2 min read

Understanding Domain-Specific Languages
Understanding Domain-Specific Languages
Domain Specific Languages

2 min read


Aug 13

What is an Expert System?

An expert system is software that attempts to recreate the decision-making process of a human expert in a particular domain. Expert systems are often used in fields such as medicine, finance, and engineering, where rapid and complex decision-making is required. Expert systems are composed of three main elements: 1. A…

Computer Science For All

1 min read

What is an Expert System?
What is an Expert System?
Computer Science For All

1 min read


Jun 13

The toString() method of the Object class in Java

The toStringmethod is a fundamental method of the Object class in Java. This method returns a textual representation of the object. To use the String.toString() correctly, it is important to follow some rules. First, the toString method must be appropriately overridden in subclasses. …

1 min read

1 min read


Dec 19, 2020

Restore remote database backup to local

PySysop https://github.com/mcaliman/PySysop is a Python system operations collection utility, restore_remote_database.py is the script for create remote database dump, and download and restore to localhost instance. My project is a work in progress. Stay tuned! Next implementation? What would you like me to add? You can find this post and others on my blog: trueprogramming.com

Python

1 min read

Restore remote database backup to local
Restore remote database backup to local
Python

1 min read


Oct 3, 2020

A Complex Number Class For Java

Does Java have an implementation for complex numbers? No, it doesn’t have a dedicated Class. It’s strange but not all that strange (Complex Number implementation is trivial), the JDK does not have one but here is an implementation I have written: https://github.com/mcaliman/JavaComplexNumber However, there are third-party libraries for working with Complex, for example: Apache Commons http://commons.apache.org/proper/commons-math/userguide/complex.html

Java

1 min read

A Complex Number Class For Java
A Complex Number Class For Java
Java

1 min read


Jun 15, 2020

Install Python 3

Open terminal via Ctrl+Alt+T. When it opens, run the command: sudo apt-get install python3 sudo apt-get install idle3 sudo apt-get install python3-pip You can find this post and others on my blog: trueprogramming.com

Python3

1 min read

Install Python 3
Install Python 3
Python3

1 min read


Jun 15, 2020

How to detect machine architecture

Open terminal via Ctrl+Alt+T. When it opens, run the command: sudo uname -m Will give “x86_64” for 64 bit, and something else for other 32 bit types(usually “i686”). You can find this post and others on my blog: trueprogramming.com

Linux

1 min read

How to detect machine architecture
How to detect machine architecture
Linux

1 min read


Jan 28, 2020

Fantastic Java API and Where to Find Them: Objects.isNull and Objects.nonNull

Once upon a time a NullPointerException… There are two simple, elegant, clean methods to manage null with Predicate: Object.isNull and Object.nonNull. It’s much easier and clearer to write: stream.filter(Objects::isNull) than to write: stream.filter(x -> x == null) However, the fact that Objects.isNull is meant for Predicates does not prevent you from using it as above… Your code might be more readable in this fashion.

Java

1 min read

Fantastic Java API and Where to Find Them: Objects.isNull and Objects.nonNull
Fantastic Java API and Where to Find Them: Objects.isNull and Objects.nonNull
Java

1 min read


Jan 23, 2020

Fantastic Java API and Where to Find Them: Objects.toString

Do you have stuff like that in your code? string = string == null ? “” : string; or like this one… if(string==null) string=""; or, more smart, did you create a method like this? String ifNullThenEmpty(String string) { return string == null ? "" : string; } You can put…

Java

1 min read

Fantastic Java API and Where to Find Them: Objects.toString
Fantastic Java API and Where to Find Them: Objects.toString
Java

1 min read

Massimo Caliman

Massimo Caliman

53 Followers

Software Architect, Developer, Java enthusiast.

Following
  • Gabe Araujo, M.Sc.

    Gabe Araujo, M.Sc.

  • David Goudet

    David Goudet

  • javinpaul

    javinpaul

  • Trey Huffine

    Trey Huffine

  • KD Knowledge Diet

    KD Knowledge Diet

See all (376)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams