Every now and then, security experts discover new vulnerabilities that affect the security of many computer systems. The month of December 2021 was the occasion of a good example, with the flaw in the log4j library which allows the remote execution of arbitrary code on vulnerable systems. Noting that it seems impossible to definitively guard against this type of problem, we wondered whether the Yoctopuce modules could help detect intrusions before it is too late...
When designing our audio output switch, we thought about using a motorized potentiometer for the volume. The idea was quickly dismissed because this would have added bulkiness and complexity into a project that we wanted simple and compact. However, the question remains: can we use a motorized potentiometer with Yoctopuce modules? We tried it and the answer is yes, although it's quite tricky to do.
This week, we are going to talk about programming. Support has recently received an interesting question: "how can you register an object method as an arrival callback". Our API documentation talks only about callback functions but, as we are going to see, most programming languages allow you to register object methods.
People like the TypeScript language as much to create web interfaces as to write Node.js software which work as a service, with complete access to the machine resources. You can also write traditional applications in TypeScript, that is applications which combine a graphical interface and access to all the resources of the machine, for example to access a database or files. We are going to explore this scenario and see how to access Yoctopuce modules in such a scenario.
If you use your Windows computer to listen to music while you are working and if, depending on the circumstances, you listen to this music with a Bluetooth headset or external speakers, you might have noticed that switching from one mode to the other is somewhat tedious. One must possibly unlock the screen saver, then open the sound interface and select the output device in a drop-down list. Why not build a physical interface which would be easier to use?
1 2 3 4 5 6 7 8 9 10 11 ... 20 ... 30 ... 40 ... 50 ... 60 ... 70 ... 80 ... 90 ... 100 ... 110 ... 114