If you want to send your data to two different destinations, you need to send it twice.
markkuk
Posts
-
help me to understand "rfcomm" symbol "->" -
help me to understand "rfcomm" symbol "->"jana_hus wrote:
The task is to "send (serial) data to /dev/ttyUSB0 and pass the same data to /dev/rfcomm0 ".
In that case, the whole preceding discussion about links has been just a waste of time. You can't do that task with links. A link means a single object (file, device, directory, etc) can be accessed using multiple different names. If you create a link from /dev/ttyUSB0 to /dev/rfcomm0, then anything written to either ttyUSB0 or rfcomm0 will end up in rfcomm0. If there was a physical device associated with the name /dev/ttyUSB0 before creating the link, it will be bypassed by the new link.
-
Character setThere was an effort to get GCC compiler and NetBSD running on a PDP-10: PDP-10 support for GCC[^], NetBSD/pdp10[^]. There isn't much detail available about the implementation.
-
Character encodingsiconv
oruconv
? You can use the --list option to see the available encodings. -
Aside from smaller, how about flatter?It's a 30+ part series on the Apollo Guidance Computer: Apollo Guidance Computer Restoration - YouTube[^], there's another as long series on the Apollo S-band radio system: Apollo S-Band Communications[^]
-
Smart phones these daysWirth's law:[^] "software is getting slower more rapidly than hardware is becoming faster"
-
Rust and its ways -
downloading a web page with telnetThey dropped support for obsolete HTTP versions and your request isn't valid HTTP/1.1. Try:
GET / HTTP/1.1
Host: www.example.com -
Struct initalization valid ?Maximilien wrote:
It seems weird that the compiler accept to not fully initialize the struct. They (old retired programmers) seem to expect the values to be zero-initialized.
According to cppreference.com:[^]
Quote:
All members that are not initialized explicitly are empty-initialized.
The old programmers are correct.
-
javascript -
Where to find connect declaration of this mysql instaceThe legacy API documentation is in Connector/C++ 1.1 Developer Guide[^] even if you use version 8 of the connector. Options for
MySQLDriver::Connect()
are explained here: https://dev.mysql.com/doc/connector-cpp/1.1/en/connector-cpp-connect-options.html[^] -
Host Web API -
Why I love coding IoThoney the codewitch wrote:
But nobody has implemented it yet to drive an LCD display
...other than Espressif, the makers of the ESP32 chip. There's a documented API[^] and a code example[^]. They call the 8-bit parallel bus driven by I2S hardware "i80 interface".
-
Is the web allergic to JPG?You can get random, free to use photo JPEGs from Lorem Picsum[^]. For example, try loading
https://picsum.photos/320/240
from your code. -
Newbie HereSee LinuxCommand.org.[^]
-
Web Server on LinuxI have tried it. It's another layer of pain and difficulty.
-
Web Server on Linux#realJSOP wrote:
I've never done ANYTHING with regards to containers, and I don't intend to push anything to extreme limits. Which do I use? Docker, Kubernetes, or...?
Start with Docker because Kubernetes requires knowledge of Docker. Here's a free course I took to study Docker: DevOps with Docker[^]. There's one for Kubernetes as well: https://devopswithkubernetes.com/[^]
-
Implementing a mathematical PI control for a reasonable "if" structureMd Mubdiul Hasan wrote:
1. Subtract AND assignment operator, what -= means ? 2. what += means ?
Assignment operators - cppreference.com[^]
Md Mubdiul Hasan wrote:
3. What does !=0 means in if structure ? 4. What double equals == means ?
-
Bochs // VirtualBox // FreeDOS // Windows // Share FilesAccording to the VirtualBox manual:
Shared folders are supported with Windows 2000 or later, Linux, and Oracle Solaris guests
Additionally, you need to install VirtualBox Guest Additions to the guest OS. It looks like there's no chance for shared folders to work with FreeDOS.
-
Half a bithoney the codewitch wrote:
my clock signal is *half a bit* behind my MOSI signal
Doesn't that mean you are using wrong SPI Transfer Mode[^]? Configuring a different mode doesn't need any rewrite of ESP-IDF code.