Generated Story Outline 2, March 10th, 2023

Free Starter Outline for Derivative Works

Random THEME – Seize the day

Random PLOT – Quest

Informal Diction Informal Diction Alliteration Personification Symbolism Symbolism Formal Diction Allegory Euphemism Simile

Random Villain Kraken

Cult Leader Giant Spider Vampire Banshee Ghost Shark Gas Leak Gas Leak Earthquake Famine Plague Necromancer Deranged Sniper Tornado Lich Riot Gas Leak Psychopath Stone Elemental Lich

Descriptive Writing Amps

  1. [tinted, minuscule, blissful] earthquake pulverized
  2. [purple, resonant, white] super-car conjured
  3. [violet, sour, monumental] game infused
  4. [towering, saturated, orange] scale inspired
  5. [gargantuan, white, toned] imagination opened
  6. [angry, white, minuscule] city typed
  7. [orange, saturated, purple] forest infused
  8. [vibrant, vibrant, yellow] woods directed
  9. [magnificent, memorable, smooth] ruby unfurled
  10. [kinetic, towering, beguiling] iguana closed

Random Hero – Rogue

And But Therefore Event Sets

  1. [Hero] gets in spaceship but it rains therefore they fight the [monster]
  2. diffuse a bomb but they are delayed therefore they travel to a new area
  3. [Hero] is attacked by [Monster] but [monster] challenges [Hero] with hurtful scary words therefore they seek assistance with [side character]
  4. [Hero] gets in jet but [Side character] shows up therefore they fight the [monster]
  5. [Hero] gets in bus but they are delayed therefore they decide to learn more
  6. [Hero] gets on horse but it rains therefore they fight the [monster]
  7. [Hero] is attacked by [Monster] but it rains therefore they travel to a new area
  8. diffuse a bomb but [Side character] shows up therefore they decide to learn more
  9. [Hero] is Inspired and Encouraged by [side character] but [monster] challenges [Hero] with hurtful scary words therefore they travel to a new area
  10. Comet cuts across the sky but [monster] challenges [Hero] with hurtful scary words therefore they fight the [monster]

Support will Not Be Perfect, Support Better can lead to people thinking there will be Zero Shit in by design

A society that can’t shit, can’t piss, not ideal appreciation for Throughput in

Better Recycling is not 100% Efficient Recycling, Less Waste Early in Process can Save a lot

https://pythontic.com/modules/socket/udp-client-server-example

https://developer.nvidia.com/cuda-python

https://www.sublimetext.com/

Potential for Java Python Server Middleware?

Thoughts of parallel computing frames and environments using Python Cuda and then drawing with LWJGL

High Power Throughput with a little latency to a valuable system?

Time Required to run a python script in Java using Process Builder?

Free Starter Java Class

package nsd;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.StringWriter;
import java.util.Arrays;
import java.util.logging.Logger;

import performance.PerformanceUtil;

public class NeverSayDieHelloWorld {	
	private static Logger logger = Logger.getLogger(NeverSayDieHelloWorld.class.getName());
	
	public static void main(String[] args) {
		System.out.println("Never Say Die!");
		
		final StringWriter stringWriter = new StringWriter();
		stringWriter.append("for i in range(120):\n");
		stringWriter.append(" print('Never Say Die!')");
		stringWriter.append("exit");
		
		File file = new File("neverSayDie.py");
		PerformanceUtil.getInstance().start();
		try {
			FileWriter fileWriter = new FileWriter(file);
			fileWriter.write(stringWriter.toString());
			fileWriter.close();
			String commands[] = { 
					"C:\\Windows\\py.exe",
					"C:\\Users\\jason\\eclipse-workspace\\NeverSayDieHelloWorld\\neverSayDie.py" };
			ProcessBuilder processBuilder = new ProcessBuilder(Arrays.asList(commands));
			processBuilder.redirectOutput(ProcessBuilder.Redirect.INHERIT);
			processBuilder.start();
			PerformanceUtil.getInstance().stop();
			long timeInNanoseconds = PerformanceUtil.getInstance().getRecordedTime();
			logger.info("Time to Run Python Script using ProcessBuilder Class in Java:"+timeInNanoseconds+" nanoseconds");
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
Never Say Die!
Mar 10, 2023 5:52:00 AM nsd.NeverSayDieHelloWorld main
INFO: Time to Run Python Script using ProcessBuilder Class in Java:13216300 nanoseconds

1,000,000,000 would be 1 second

https://www.google.com/search?q=13216300+nanoseconds+to+milliseconds&sxsrf=AJOqlzUinfxrcjXX1eLGMaUtoJmARFyrOQ%3A1678449200861&source=hp&ei=MBoLZPjxL9_A0PEPjNuzyAc&iflsig=AK50M_UAAAAAZAsoQDkfvR7L1Uo4RG8b0sOr1DTV12wT&oq=13216300+nanoseconds+to+mill&gs_lcp=Cgdnd3Mtd2l6EAEYADIFCCEQqwIyBQghEKsCOgUIABCiBDoHCAAQHhCiBFAAWOUXYPchaANwAHgAgAFziAHrCZIBBDEuMTGYAQCgAQKgAQE&sclient=gws-wiz

Using Google to compute that is 13 ms, something to consider process builder requires exit to be written on the python script, there is potential for timeouts

That said 13 ms has high potential for being useful for High Performance Computing like FPS

1000ms/13ms to Hertz?

Potential for 76 python scripts to be run per second, though that’s with writing the file too, removing having to write the file every time potential for faster

PerformanceUtil.getInstance().start();
processBuilder.start();
PerformanceUtil.getInstance().stop();

Never Say Die!
Mar 10, 2023 5:59:04 AM nsd.NeverSayDieHelloWorld main
INFO: Time to Run Python Script using ProcessBuilder Class in Java:12357500 nanoseconds

More significant scripts might take longer to run, potentially not ideal for immediate frames but for future frames could be powerful. Potential for running multiple frames in one script. 15 computed frames per script potentially could increase throughput. Not sure how it would all play out once put together.

76 times a second times 15 frames computed per script? 1,140 FPS Theoretical, obviously matters what is being computed

50 Frames Computed over 300 ms outside of the realm of possible, probable?

Higher Bandwidth Interconnects with JNI?

https://pypi.org/project/jni/

https://github.com/zakgof/java-native-benchmark

Published by techinfodebug

Flex and Java Developer, Christian, Art, Music, Video, and Vlogging

Leave a comment