Imagine a Teacher gives a TestA that has four different version VersionB, VersionC, VersionD, and VersionE. All Versions are the same questions just with randomized ordering of the questions. If a student gets the hard problem sooner rather than later does that effect test output? Feeling of Encouragement?
AB Testing whether order matters? Math class at beginning of day versus end of day?
System does not amp equally.
https://en.wikipedia.org/wiki/A%2FB_testing
Books and reading takes more activation energy than videos for comprehension amplification. Encouraging animations factor into Encouragement. A live voice factors into Encouragement. Easy to non ideally upsell it to less.
Not practicing reading for a time and given a ton of videos potential for activation energy for reading more difficult. Easier has potential for greater immediate throughput with longer term reduced throughput.
Has potential to create a lot of support, far from a guarantee
https://en.wikipedia.org/wiki/Java
Is the integration a First class Citizen, or a second class citizen?
Java Integrated to other languages as a First Class Citizen equals more potential
https://en.wikipedia.org/wiki/Java_(programming_language)
Does the system work?
Can I trust the system will work?
Concurrency can be Powerful, is far from Guaranteed to be Powerful
If we can make concurrent programming more available, more performant, and safer high potential for more ability to scale problem solving.
Critical vs Non Critical can be a Powerful concept, critical to program ordering vs nice to have can add when available, if available. Simple way to set some threads to pause enabled, non critical tasks that can be started and paused then restarted with ease.
What components are required to be real time vs what components have more free form time constraints. Ways that overhead and potential for non ideal complexity to be decreased in a way that enabled greater throughput?
Free Starter Java Class MIT License
package multithreading;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
import java.util.logging.Logger;
public class ThreadUtil {
private static Logger logger = Logger.getLogger(ThreadUtil.class.toString());
private static BlockingQueue<Runnable> workQueue = new ArrayBlockingQueue<>(6);
private static ThreadPoolExecutor threadPoolExecutor;
public static BlockingQueue<Runnable> getWorkQueue() {
if (null == workQueue) {
workQueue = new ArrayBlockingQueue<>(6);
}
return workQueue;
}
public static ThreadPoolExecutor getThreadPool() {
if (null == threadPoolExecutor) {
threadPoolExecutor = new ThreadPoolExecutor(6, 12, 1000, TimeUnit.MILLISECONDS, getWorkQueue());
}
return threadPoolExecutor;
}
private static boolean useVirtualThreads = true;
public static void addTask(Runnable task) {
if (useVirtualThreads) {
Thread.startVirtualThread(task);
} else {
getThreadPool().submit(task);
}
}
public static void exitingApp() {
getThreadPool().shutdownNow();
}
}
Allows swiftly changing from using a ThreadPoolExcutor to using Virtual Threads and back.
Think it is still currently a preview feature, would be nice to see it in a stable release
A Maven project created in Eclipse gives two options on Import to IntelliJ, Eclipse or Maven, multiple options does not always lead to ideal. I tried importing my JavaFX project that runs in Eclipse in IntelliJ and it did not work though install said restart required and haven’t restarted yet.
Upon import I get the following error:
C:\Users\jason\eclipse-workspace2\TestRunner\src\main\java\module-info.java:2:20
java: module not found: javafx.controls
Yet the second line of my module-info is
requires javafx.controls;
Compiles after adding a Maven clean package install debug configuration yet I am getting the following error:
Module declaration should be located in a module's source root
My source file was in src/main/java vs src thus changing module settings to point to the different src directory enabled ability to compile
Now able to run my JavaFX Project, there errors I saw might be helpful to others working on moving from an Eclipse project to an IntelliJ project
In Eclipse I had to set up a specific JavaFX plugin eclipse fx. It is nice JavaFX works out of the box in IntelliJ.
Attempting to customize the User Interface background on IntelliJ seems to not yield ideal results. I was unable to find the setting to set the background to dark black. I can set to high contrast mode but that turns all windows backgrounds to dark black which is a less enjoyable experience.