Skip to content

Instantly share code, notes, and snippets.

View daparic's full-sized avatar

daparic

View GitHub Profile
The situation described indicates a mismatch between the expected number of 
fields and the actual number provided, likely due to a bug or oversight in the 
software. Here are potential reasons this can happen:

1. Hardcoded Limit: The software might have a hardcoded limit of 20 fields. 
If the input format changes to include more fields without updating the code, 
this mismatch occurs.

2. Incomplete Update: The software might have been updated to handle more 

Comparing a helium balloon drone design to a fixed-wing drone design involves evaluating their respective strengths and weaknesses across various factors:

1. **Stability and Hovering Capability**:
   - Helium balloon drone: Offers excellent stability and hovering capability due to the buoyant force provided by the helium. It can remain stationary or move slowly with minimal energy consumption, making it suitable for tasks requiring steady observation or data collection.
   - Fixed-wing drone: Typically lacks hovering capability and may require constant forward motion to maintain lift. However, some fixed-wing drones may incorporate VTOL (Vertical Takeoff and Landing) capabilities, allowing for vertical takeoff and landing like a helicopter while still benefiting from fixed-wing flight characteristics during forward motion.

2. **Maneuverability and Speed**:
   - Helium balloon drone: Generally less maneuverable and slower compared to fixed-wing drones. Its movement is limited to vertical ascent, desce
13-Feb-2024 06:35:10.384 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with JAR file [/usr/local/parasoft/data/lib/thirdparty/mysql-connector-java-8.0.30.jar], exists: [false], canRead: [false]
Starting "Run Unit Tests" (Execution) for /src ...
Collecting tests to be executed...
...done.
Preparing execution flow...
Finding test cases...
...done.
[helper.c] Precompiling source: /src/src/helper.c ...
[main.cpp] Precompiling source: /src/src/main.cpp ...
Starting "Run Unit Tests" (Execution) for bladerunner\bladerunner ...
Collecting tests to be executed...
...done.
Preparing execution flow...
Finding test cases...
...done.
[main.cpp] Precompiling source: bladerunner\bladerunner\Source Files\main.cpp ...
[helper.c] Precompiling source: bladerunner\bladerunner\Source Files\helper.c ...
Solution Details
1. Make sure that the network card is configured properly. Once that has been determined and the behavior still persists please proceed to #2
2. The Machine ID algorithm scans for ethernet configuration names of eth0-eth9. If the ethernet configuration is named with a numeric value with greater than 2 digits, then the Machine ID algorithm will fail, which will produce LINUX2-0. Administrator privilege will be required for the following.
a. Back up the file /etc/udev/rules.d/70-persistent-net.rules
b. Edit the file mentioned in (a) and look for the PCI device that is discovered when the command "ifconfig -a" is executed.
c. Change the "NAME" of the attribute, such that, there will only be 1 digit in the name (e.g. change <NAME="eth10"> to <NAME="eth0">).
d. Be sure to assign the ethernet configuration to the proper IP using "Network Preferences".
e. Restart the machine and try to get the Machine ID from the License Page in the Preferences dialog again.
Parasoft C/C++test Professional 2023.2.0 (10.6.3.20231205B2318) -- Copyright (C) 2023 Parasoft Corporation
Using default workspace "/home/dx/parasoft/workspace".
Machine id: LINUX2-6db5ee26 (Default)
[INTERFACE]
NAME: lo
QUALITY: 17
CUSTOM: false
#!/bin/sh
#
P=~/Install/C_Linux_parasoft/cpptest
$P/bin/jre/bin/java \
-cp $P/ide/eclipse/plugins/org.eclipse.equinox.launcher_1.5.600.v20191014-2022.jar \
-verbose:class \
-Dcpptestcli.vendor=Parasoft \
-Dcpptestcli.name=C/C++test \
@daparic
daparic / Makefile
Created November 6, 2023 14:05
Visual Studio Makefile
# Makefile for Visual Studio 2019 C/C++ project
# Compiler
CC = cl.exe
# Compiler flags
CFLAGS = /EHsc /W3
# Source file
SOURCE = main.c
<?xml version='1.0' encoding='UTF-8'?><ResultsSession buildId="Default Project-2023-10-24" date="10/24/23 10:01:24" machine="LAPTOP-1QQN8248" project="Default Project" tag="Run Unit Tests" time="2023-10-24T10:01:24+08:00" toolName="C++test" toolVer="2023.1.0.20230525B2127" user="dx">
<TestConfig machine="LAPTOP-1QQN8248" name="Run Unit Tests" pseudoUrl="c++test.builtin://Run Unit Tests" user="dx"/>
<Authors>
<Author id="dev1" name="dx"/>
</Authors>
<VersionInfos>
<StorageInfo ownerId="com.parasoft.xtest.checkers.api.execution" resultId="IExecutionViolation" ver="2"/>
<StorageInfo ownerId="com.parasoft.xtest.checkers.api.execution" resultId="InsureViolation" ver="3"/>
<StorageInfo ownerId="com.parasoft.xtest.checkers.api.scope" resultId="IScopeProjectInfo" ver="3"/>
<StorageInfo ownerId="com.parasoft.xtest.checkers.api.standards" resultId="IMetricsViolation" ver="2"/>