Golioth’s Free Zephyr Training in September
Join Golioth’s free Zephyr training in September and learn how to work with Zephyr RTOS from Golioth experts without leaving your home! As the fastest-growing RTOS, Zephyr is well worth learning, but most people need a little help getting started. Golioth’s next live and hands-on free Zephyr training workshop happens online on September 11th, 2024. Our training […]
Read MoreSolar Energy Production and Consumption with AI
Solar panels and connected battery systems are still novel technologies in the grand scheme of things, even though they can feel like old news, given how often governments talk about them. Professionals and IoT enthusiasts see potential for solar energy growth by integrating AI. How can this combination forge next-generation tech to be more efficient […]
Read MoreBetter than reflection: Using method handles and variable handles in Java
Class<?> clazz = objectInstance.getClass(); Field field = clazz.getDeclaredField(“name”); field.setAccessible(true); String value = (String) field.get(objectInstance); System.out.println(value); // prints “John Doe” Notice we are again directly working with the metadata of the object, like its class and the field on it. We can manipulate the accessibility of the field with setAccessible (this is considered risky because it […]
Read More