assimp is generating malformed CMake config files

In particular, in https://github.com/Microsoft/vcpkg/blob/dea170b46970171a104551d2d6512dee1469646b/ports/assimp/portfile.cmake#L31 the lib/cmake/assimp-3.3 directory is renamed in share/assimp without properly modifying the configuration file to handle the change in its relative position (as done for example in https://github.com/Microsoft/vcpkg/commit/abe8d017dfb40c97451e493aa569c8178b8f10e2).
Furthermore the debug imported targets in https://github.com/Microsoft/vcpkg/blob/dea170b46970171a104551d2d6512dee1469646b/ports/assimp/portfile.cmake#L33 are simply deleted, instead of being correctly processed using vcpkg_fixup_cmake_targets.
cc @claudiofantacci

This should be fixed.


building in Raspberry Pi 2

Hi !
I'm trying to build ofxGenericDMX for the Raspberry Pi and i'm facing several errors i can't solve.
If i "make" as it is ... I get :
ion FtdiDevice::setBaudRate(int) const': FtdiDevice.cpp:(.text+0x3c): undefined reference toftdi_set_baudrate'
../../../addons/obj/linuxarmv7l/Release/ofxGenericDmx/src/FtdiDevice.o: In function FtdiDevice::setLineProperties(FtdiDevice::FTDI_DATABITS_TYPE, FtdiDevice::FTDI_STOPBITS_TYPE, FtdiDevice::FTDI_PARITY_TYPE, FtdiDevice::FTDI_BREAK_TYPE) const': FtdiDevice.cpp:(.text+0x9c): undefined reference toftdi_set_line_property2'
../../../addons/obj/linuxarmv7l/Release/ofxGenericDmx/src/FtdiDevice.o: In function FtdiDevice::setFlowControl(FtdiDevice::FTDI_FLOWCTL_TYPE) const': FtdiDevice.cpp:(.text+0xc0): undefined reference toftdi_setflowctrl'
../../../addons/obj/linuxarmv7l/Release/ofxGenericDmx/src/FtdiDevice.o: In function FtdiDevice::reset() const': FtdiDevice.cpp:(.text+0xe8): undefined reference toftdi_usb_reset'
../../../addons/obj/linuxarmv7l/Release/ofxGenericDmx/src/FtdiDevice.o: In function FtdiDevice::setRts(bool) const': FtdiDevice.cpp:(.text+0x140): undefined reference toftdi_setrts'
../../../addons/obj/linuxarmv7l/Release/ofxGenericDmx/src/FtdiDevice.o: In function FtdiDevice::setDtr(bool) const': FtdiDevice.cpp:(.text+0x174): undefined reference toftdi_setdtr'
../../../addons/obj/linuxarmv7l/Release/ofxGenericDmx/src/FtdiDevice.o: In function FtdiDevice::purgeBuffers(int) const': FtdiDevice.cpp:(.text+0x1bc): undefined reference toftdi_usb_purge_buffers'
FtdiDevice.cpp:(.text+0x1c8): undefined reference to ftdi_usb_purge_tx_buffer' FtdiDevice.cpp:(.text+0x1f4): undefined reference toftdi_usb_purge_rx_buffer'
../../../addons/obj/linuxarmv7l/Release/ofxGenericDmx/src/FtdiDevice.o: In function FtdiDevice::close()': FtdiDevice.cpp:(.text+0x28c): undefined reference toftdi_usb_close'
FtdiDevice.cpp:(.text+0x2ac): undefined reference to ftdi_free' ../../../addons/obj/linuxarmv7l/Release/ofxGenericDmx/src/FtdiDevice.o: In functionFtdiDevice::getLastError() const':
FtdiDevice.cpp:(.text+0x308): undefined reference to ftdi_get_error_string' ../../../addons/obj/linuxarmv7l/Release/ofxGenericDmx/src/FtdiDevice.o: In functionFtdiDevice::readData(unsigned char const_, int, int) const':
FtdiDevice.cpp:(.text+0x3d0): undefined reference to ftdi_read_data' ../../../addons/obj/linuxarmv7l/Release/ofxGenericDmx/src/FtdiDevice.o: In functionFtdiDevice::writeData(unsigned char const_, int) const':
FtdiDevice.cpp:(.text+0x464): undefined reference to ftdi_write_data' ../../../addons/obj/linuxarmv7l/Release/ofxGenericDmx/src/FtdiDevice.o: In functionFtdiDevice::freeDeviceList()':
FtdiDevice.cpp:(.text+0x52c): undefined reference to ftdi_list_free' ../../../addons/obj/linuxarmv7l/Release/ofxGenericDmx/src/FtdiDevice.o: In functionFtdiDevice::fetchUsbInformation(ftdi_context_, libusb_device_)':
FtdiDevice.cpp:(.text+0x5a4): undefined reference to ftdi_usb_get_strings' ../../../addons/obj/linuxarmv7l/Release/ofxGenericDmx/src/FtdiDevice.o: In functionFtdiDevice::getDeviceList(ftdi_context_)':
FtdiDevice.cpp:(.text+0x654): undefined reference to ftdi_usb_find_all' FtdiDevice.cpp:(.text+0x718): undefined reference toftdi_free'
FtdiDevice.cpp:(.text+0x720): undefined reference to ftdi_new' ../../../addons/obj/linuxarmv7l/Release/ofxGenericDmx/src/FtdiDevice.o: In functionFtdiDevice::open(char const_, char const_, int)':
FtdiDevice.cpp:(.text+0x780): undefined reference to ftdi_new' FtdiDevice.cpp:(.text+0x8ac): undefined reference toftdi_usb_open_dev'
collect2: ld returned 1 exit status
../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:296: recipe for target 'bin/ofxGenericDmx_EnttecDmxUsbProExample' failed
make[1]: *_* [bin/ofxGenericDmx_EnttecDmxUsbProExample] Error 1
My guess is that for some reason the Makefile is not including or linking against the "libftdi1.a" ?
Should i include it on the config.make ?
So I try it ... i added the libftdi1.a on the USER_LD_FLAGS ... And now the error after cleaning and rebuilding with make is :+1:
/usr/bin/ld: /home/pi/openframeworks/addons/ofxGenericDmx/libs/libftdi1/lib/linux/libftdi1.a(ftdi.c.o):
Relocations in generic ELF (EM: 3)
/usr/bin/ld: /home/pi/openframeworks/addons/ofxGenericDmx/libs/libftdi1/lib/linux/libftdi1.a(ftdi.c.o):
Relocations in generic ELF (EM: 3)
/usr/bin/ld: /home/pi/openframeworks/addons/ofxGenericDmx/libs/libftdi1/lib/linux/libftdi1.a(ftdi.c.o):
Relocations in generic ELF (EM: 3)
/usr/bin/ld: /home/pi/openframeworks/addons/ofxGenericDmx/libs/libftdi1/lib/linux/libftdi1.a(ftdi.c.o):
Relocations in generic ELF (EM: 3)
/usr/bin/ld: /home/pi/openframeworks/addons/ofxGenericDmx/libs/libftdi1/lib/linux/libftdi1.a(ftdi.c.o):
Relocations in generic ELF (EM: 3)
/usr/bin/ld: /home/pi/openframeworks/addons/ofxGenericDmx/libs/libftdi1/lib/linux/libftdi1.a(ftdi.c.o):
Relocations in generic ELF (EM: 3)
/home/pi/openframeworks/addons/ofxGenericDmx/libs/libftdi1/lib/linux/libftdi1.a:
error adding symbols: File in wrong format
collect2: ld returned 1 exit status
../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:296:
recipe for target 'bin/ofxGenericDmx_EnttecDmxUsbProExample' failed
make[1]: *** [bin/ofxGenericDmx_EnttecDmxUsbProExample] Error 1
Does anyone have a clue of what i'm doing wrong ?
Should i recompile the libftdi1.a for the Raspberry ? or the one included as Linux should work ?
Any hints very appreciated ... whiling to test this on the Raspberry ...

Hi,
You are thinking in the right direction. The included libftdi1.a is built for intel-64 processors, while the rPi contains an ARM processor. So yes, you should recompile libftdi1, see scripts/building-libs-howto.txt.
Since we've obviously never tried to use the addon on an rPi, the Makefile might fail.
Let me know how far you get. And if you can build it successfully, we would appreciate it if you share how you did it so we can update the readme with instructions.

I just wanted to write that I've used this addon extensively with RPi's, from the RPi1 all the way to the RPi3. It's the only DMX addon that works flawlessly (Kyle's one has issues under Linux).
To get it working, all you need to do is add the ftdi library:
sudo apt-get install libftdi
Then just add the following lines to the config.make file:
PROJECT_LDFLAGS=-Wl,-rpath=./libs PROJECT_LDFLAGS+=-lftdi
The idea of compiling open source libs usually only makes sense on Windows or OSX. Linux distros include them through package managers making the process super easy.
Honestly this issue should be closed...feel free to add this info to the Readme.

Also - regarding Makefiles, I have never tried the ones included in the examples. Just use the project generator to make a new project for you and use that. This is the best practice on Linux or RPi...that way the Makefile is always the latest version.

Thanks Pierre, that's great to hear!


Make pre-commit hook more self-contained

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines
[x] Tests for the changes have been added (N/A)
[x] Docs have been added / updated (N/A)

What kind of change does this PR introduce?
pre-commit hook update.
What is the current behavior? (You can also link to an open issue here)
The previous pre-commit hook declaration, using language: 'script', relied on woke already being installed on the user's path, which is a somewhat awkward requirement compared to most other pre-commit hooks which tend to be self-contained.  It also meant that it wasn't possible to pin woke to a particular version on a per-repository basis using something like rev: v0.15.0.
What is the new behavior (if this is a feature change)?
Using language: 'golang' instead means that pre-commit builds a self-contained installation of woke for itself.  The only downside is that the go binary on the user's path must be at least version 1.17, which can be a bit annoying (for example, on Ubuntu 20.04 it requires using something like the go snap rather than the .deb).  However, this will become less of a problem over time.
I left scripts/pre-commit.sh in place so that people can still easily use the old approach if they prefer it, albeit by declaring a custom hook.
Does this PR introduce a breaking change? (What changes might users need to make due to this PR?)
pre-commit hook users may need to ensure that they have Go 1.17 or newer on their system path.

Thanks for bringing this up! While I'm not sure it's safe to assume that consumers of this pre-commit hook will all have golang installed, and I'm not too comfortable with a breaking change, I do see the value. Is there a way to support both?
I also just realized there's no documentation for how to configure woke pre-commit hooks, I wonder if you might be interested in adding some in https://github.com/get-woke/woke/blob/main/docs/tools.md?

Thanks!  I've proposed #155 as an alternative implementation which I think might match what you're looking for better (and also included documentation there).

Closing in favor or #155


Problem with experiment1.sh

I follow the commands of the README to install sumo, I resolve the problems related to the missing pip package and I installed numpy 1 instead of the 2 that is not compatible, I already downloaded the dataset from the link provide on the README but when I try to run experiment1.sh it exits with this error:
Getting correlated pairs features ...: 1it [00:00, 109.58it/s]
Applying subset sum on possibly correlated pairs ...: 0it [00:00, ?it/s]
Traceback (most recent call last):

  File "/[...]/sumo/sumo_pipeline/session_correlation/app.py", line 280, in <module>
    app()

  File "/[...]/sumo/sumo_pipeline/session_correlation/app.py", line 72, in correlate_sessions
    instance.correlate_sessions(dataset_name, is_full_pipeline=False)

  File "/[...]/sumo/sumo_pipeline/session_correlation/sliding_subset_sum.py", line 405, in wrapper
    result = func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^

  File "/[...]/sumo/sumo_pipeline/session_correlation/sliding_subset_sum.py", line 863, in correlate_sessions
    self.__predict(dataset_name)

  File "/[...]/sumo/sumo_pipeline/session_correlation/sliding_subset_sum.py", line 673, in __predict
    self.__run_windowed_subset_sum_on_all_pairs()

  File "/[...]/sumo/sumo_pipeline/session_correlation/sliding_subset_sum.py", line 625, in __run_windowed_subset_sum_on_all_pairs
    scores = sliding_subset_sum.whole_loop_subset_sum(packet_list_clients, packet_list_onions, count_pairs, n_buckets, self.state.delta, self.state.buckets_per_window, self.state.buckets_overlap, n_windows, acc_windows)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/[...]/sumo/sumo_pipeline/session_correlation/subsetSumOpenCL2DWrapper.py", line 18, in whole_loop_subset_sum
    acc_windows_array = (ctypes.c_int * nPairs)(*acc_windows)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

IndexError: invalid index

Can you put a breakpoint() in subsetSumOpenCL2DWrapper.py:18? Then print nPairs and acc_windows and paste it here. By the way, did you compile the C/C++ file? There should be a .so next to the python script (I think the instructions were in the readme).

Can you put a breakpoint() in subsetSumOpenCL2DWrapper.py:18? Then print nPairs and acc_windows and paste it here.

(sumo) ➜  sumo git:(main) ✗ ./experiment1.sh
make: «torpedosubsetsumopencl2d.so» è aggiornato.
/[...]/.local/share/virtualenvs/sumo--5Hh5JJE/lib/python3.12/site-packages/pytools/persistent_dict.py:63: RecommendedHashNotFoundWarning: Unable to import recommended hash 'siphash24.siphash13', falling back to 'hashlib.sha256'. Run 'python3 -m pip install siphash24' to install the recommended hash.
  warn("Unable to import recommended hash 'siphash24.siphash13', "
/[...]/Documenti/DeanonimaTor/sumo/sumo_pipeline/extract_raw_pcap_features/query_sumo_dataset.py:151: SyntaxWarning: invalid escape sequence '\.'
  sID = re.split('(_request_[0-9]+_client|_request_[0-9]+_hs|_client|_hs)\.pcap$', f_path.split('/')[-1])[0]
/[...]/.local/share/virtualenvs/sumo--5Hh5JJE/lib/python3.12/site-packages/scapy/layers/ipsec.py:512: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0.
  cipher=algorithms.TripleDES,
/[...]/.local/share/virtualenvs/sumo--5Hh5JJE/lib/python3.12/site-packages/scapy/layers/ipsec.py:516: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0.
  cipher=algorithms.TripleDES,
Correlating sessions ...
2024-10-11 10:09:36,021 [INFO] Creating new instance named "results/data/sliding_subset_sum_OSTest.pickle"
2024-10-11 10:09:36,021 [INFO] Instance: Sliding Subset Sum (OSTest)

                    * Baseline (PreProcessedNoFullPipelineState) params => epoch_size: 5;
                    epoch_tolerance: 1;
                    time_sampling_interval: 100;
                    window_size: 4;
                    overlap: 2;
                    delta: 100

                    * Full pipeline (PreProcessedFullPipelineState) params: => epoch_size: 5;
                    epoch_tolerance: 1;
                    time_sampling_interval: 200;
                    window_size: 6;
                    overlap: 3;
                    delta: 60

Getting correlated pairs features ...: 1it [00:00, 110.73it/s]
Applying subset sum on possibly correlated pairs ...: 0it [00:00, ?it/s]
> /[...]/Documenti/DeanonimaTor/sumo/sumo_pipeline/session_correlation/subsetSumOpenCL2DWrapper.py(19)whole_loop_subset_sum()
-> acc_windows_array = (ctypes.c_int * nPairs)(*acc_windows)
(Pdb) p nPairs
0
(Pdb) p acc_windows
[0]
(Pdb)

By the way, did you compile the C/C++ file? There should be a .so next to the python script (I think the instructions were in the readme).

I run setup.sh but I'm using arch so I installed the packages found here
sudo apt install python3 ocl-icd-opencl-dev opencl-headers make g++ python3-matplotlib python3-numpy
Looking for them on the arch wiki and I proceed to run
echo "Installing python requirements ..."
python3 -m pip install -r requirements.txt

pip3 install -e .

I think I found the issue, there is a path for the dataset that is hardcoded. Probably the script isn't finding the dataset and stops working (i.e. there are 0 pairs to correlate). I've just pushed commit 61493e6fbcde09362b4cf69739040747aacff3ba with a correction.

Thanks, it does not stop there anymore but I have another problem in the experiment1, it gives me a segmentation fault:

(sumo) ➜  sumo git:(main) ✗ ./experiment1.sh
make: «torpedosubsetsumopencl2d.so» is updated.
/[...]/Documenti/DeanonimaTor/sumo/sumo_pipeline/extract_raw_pcap_features/query_sumo_dataset.py:151: SyntaxWarning: invalid escape sequence '\.'
  sID = re.split('(_request_[0-9]+_client|_request_[0-9]+_hs|_client|_hs)\.pcap$', f_path.split('/')[-1])[0]
/[...]/.local/share/virtualenvs/sumo--5Hh5JJE/lib/python3.12/site-packages/scapy/layers/ipsec.py:512: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0.
  cipher=algorithms.TripleDES,
/[...]/.local/share/virtualenvs/sumo--5Hh5JJE/lib/python3.12/site-packages/scapy/layers/ipsec.py:516: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0.
  cipher=algorithms.TripleDES,
Correlating sessions ...
2024-10-14 10:10:30,318 [INFO] Creating new instance named "results/data/sliding_subset_sum_OSTest.pickle"
2024-10-14 10:10:30,318 [INFO] Instance: Sliding Subset Sum (OSTest)

                    * Baseline (PreProcessedNoFullPipelineState) params => epoch_size: 5;
                    epoch_tolerance: 1;
                    time_sampling_interval: 100;
                    window_size: 4;
                    overlap: 2;
                    delta: 100

                    * Full pipeline (PreProcessedFullPipelineState) params: => epoch_size: 5;
                    epoch_tolerance: 1;
                    time_sampling_interval: 200;
                    window_size: 6;
                    overlap: 3;
                    delta: 60

Getting correlated pairs features ...:   0%|              | 1/14968 [05:04<1264:14:26, 304.09s/it]
Applying subset sum on possibly correlated pairs ...: 100%|█| 6918/6918 [00:00<00:00, 62616.68it/s
./experiment1.sh: row 5: 177227 segmentation fault (core dump created) python3 app.py correlate-sessions OSTest

I think it is correlated with this line:
os.environ['NUMEXPR_MAX_THREADS'] = str(multiprocessing.cpu_count()) (it is the raw 5 of app.py)

Hi, using the debugger, I found that the error is on this line:
scores = sliding_subset_sum.whole_loop_subset_sum(packet_list_clients, packet_list_onions, count_pairs, n_buckets, self.state.delta, self.state.buckets_per_window, self.state.buckets_overlap, n_windows, acc_windows) (623 more or less)
I tried to print something, but most of the variables are wall of text, so I cannot post them here

Probably what is crashing is the lib.wholeLoopSubsetSum(...) in subsetSumOpenCL2DWrapper.py, which calls the .so lib that does the correlation.
I bet it is something in the subsetSum_opencl_2d.cpp. Try to go into sumo_pipeline/session_correlation, then make torpedosubsetsumopencl2d_TEST, then try to run ./torpedosubsetsumopencl2d_TEST (it may take a while).
Please, check if it runs.

(sumo) ➜  session_correlation git:(main) ✗ make torpedosubsetsumopencl2d_TEST
make: «torpedosubsetsumopencl2d_TEST» is updated.
(sumo) ➜  session_correlation git:(main) ✗ ./torpedosubsetsumopencl2d_TEST
[1]    105845 segmentation fault (core dumped)  ./torpedosubsetsumopencl2d_TEST

It seems to be the problem

It is a bit weird because it runs on my side. Are you used with gdb? can you compile with debug flags and run the ./torpedosubsetsumopencl2d_TEST in gdb?

In ./experiment1_setup.sh, it make torpedosubsetsumopencl2d.so. I guess maybe it didn't make complete then quit for some reasons. However, the torpedosubsetsumopencl2d.so still generated but with errors. Maybe you should check weather the OpenCL is correctly installed and write a demo to test it.

Thank you for checking this out. Do you have some some information on the errors? Was there any output or was it completely silent?

Sorry I didn't save the log info, but there was an Error message about linking the OpenCL library while compiling 'torpedosubsetsumopencl2d.so'. I reconfigured the environment and ran all your experiments successfully.


feat: update k8s model to 1.31.1

fixes #225

1. Please confirm that you have read the document before PR submitted

[ ] Yes, I have read THIS NOTE DOC.

2. Contact Information(Optional)
If it is convenient, please provide your contact information so we can reach you when processing the PR:

Email:
HomePage:

generating with https://github.com/kcl-lang/modules/blob/main/scripts/k8s/generate.sh


Admin & Reg\draft high-level user guide

Describe the task
Write a high-level "user guide" (from both external & internal user perspectives) for how to use the Administration and Registration modules.
The rationale for creating this doc is:

collate the expected behaviour of the modules in one centralized place (rather than being spread across all our user story tickets)
serve as a source-of-truth to capture workflows and data flows as agreed upon between DST and IRC
provide more detailed explanation of expected behaviours and workflows to Moose developers than what can be captured in wireframes
(potentially) be a starting point in the future when IRC needs to prepare their own training materials and guidance docs for external users

Acceptance Criteria

[ ] in bullet-point format, describe expected behaviour of Administration module for all user workflows
[ ] in bullet-point format, describe expected behaviour of Registration (Part 2) module for all user workflows
[ ] in bullet-point format, explain the plans for migrating data & user flows from Reg 1 to Reg 2/Admin modules
[ ] text is stored in a Wiki page in our github repo

Additional context

Add any other context about the task here.
Or here

@andrea-williams
FYI: changing the title of a wiki page, or changing text in a header will affect any existing links to the document or the header.
e.g.
Changing Administration ‐ External to Administration ‐ External ‐ User Stories would break existing links using https://github.com/bcgov/cas-registration/wiki/Administration-%E2%80%90-External
So, https://github.com/bcgov/cas-registration/wiki/Administration-%E2%80%90-External#feature-contacts---contact---add would become https://github.com/bcgov/cas-registration/wiki/Administration-%E2%80%90-External-%E2%80%90-User-Stories/#feature-contacts---contact---add
Note: I have updated the links in https://github.com/orgs/bcgov/projects/122/views/22

Closing ticket as discussed in standup. Wiki link for reference - https://github.com/bcgov/cas-registration/wiki


Consistent refresh UI pattern

Implementation of #48

Coverage decreased (-0.04%) to 21.411% when pulling 7d872393e17bdc2e012d02c3d4c6739f3e533219 on issue_48/refresh into 4e279c3b9fbcabf2bbdd98a369038619025ae7f8 on master.

Coverage decreased (-0.2%) to 21.294% when pulling 85557913aef50842ddd14bcabd726e89c720af1d on issue_48/refresh into 4e279c3b9fbcabf2bbdd98a369038619025ae7f8 on master.


Rethink sticky styling

When mucking around with the new dark theme, I realised that every theme that sets the body text to white would render stickies unreadable (because of the pale yellow background).
I attempted to correct this by making the sticky style dynamic, depending on which theme is being used.

So my approach was to go into commands.js and specifically to line 375 if (shtct == "sticky").
In here, the sticky is called as a div and styled inline. I assumed that if I remove inline styling and refer to an id or class, then put that id or class in default.css it would still render correctly and allows us to inherit sticky styling from the respective theme's css file.

My assumption proved incorrect and for some reason, appending a class or id in there breaks the sticky itself.
Any thoughts on this?

Hm, you're right! It looks like this also applies to the notepad command. It should be simple to fix, let me take a look and see what we can do.

So I think I've fixed this -- the key was to define a class called "note" and apply it to both the sticky and the notepad divs.
If you look closely at line 375 you'll see where the problem with setting a new id lies: later on in that line, the div is already given an id (`id="b"). You could style this I suppose, but it's a bit of a hack and it's probably better anyway to set a new class that covers both sticky and notepad, since they both are affected by the same issue.
It's also possible that we might want to style both the sticky and the notepad differently (i.e. to give them different background colours)... in that case we could assign different css classes for them. Let me know if you have a preference one way or the other.

Fixed in latest commits


Table preview of SchemaDD / DataFrame

Show the rows in the RDD in a table.
Even cooler would be to have a R's summary functionality on it.

is this covered by #125 ? or are  you thinking something different ?

I guess so, since SchemaRDD doesn't provide much interesting insight into the underlying data type...
Maybe, extending https://github.com/andypetrella/spark-notebook/pull/125 in order to deal with RDD or only SchemaRDD. So we could have, for instance a tab with the toDebugString, the EXPLAIN and what not.
Wdyt?
(In htis case, I'd rename this entry to to rescope to what's being proposed)

yes, the concern is that you have something printable when you perform an action over the RDD.
maybe we can check where RDD is trasformed in a Seq and forward debug info to the renderers.
I'll try to investigate it

Exactly, maybe shall we consider having something using takeSample. With a input box allowing user to specify his preferences in size (with 0 being the default maybe).
Also, regarding SchemaRDD, the DataFrame API can be really interesting is this case: see slides 17 and 18 in http://www.slideshare.net/databricks/introducing-dataframes-in-spark-for-large-scale-data-science (the display stuffs and so on are coming from the the databricks cloud product, though).
So this looks giving more control on the structure

Yes, I saw that slides this morning ! :-) nice API
anyway also the dataframe needs a command to collect data, in that case it's hidden by display().
We can consider a display command that wrap the collect one or the takeSample one. Once we collect data table is already available

agreed, automatic plotting will be harder

need an action, that might be consuming hence not wanted all the time
more data, hence what is the best sample? take, takeSample?

Having a display function that would choose the tabs like now for regular collections would be really good.
Also, having a small form that would let the user choose the two(?) fields to be used in the display would be nice. So on top on the tabs (that in case of more than 2 fields) we could have two drop down lists. Changing them will adapt the tabs :-D
→ WDYT, does it make sense? Should we create another issue/feature request for this?

Yes,
I would avoid automatic action over rdd because it will recalculate all the pipeline in each step. We could think about that over CachedRDD...
Choosing fields from a table to enable chart tabs could be very interesting! Let's create the feature and I will check how to build it.
Paolo

Ineed that would be awesome!!

now a duplicate of #200 which is almost there


Replace Refills gem.

One of these days, I've tried to use the latest features of refills and the 'generate refills:list' was outdated.
Then, I opened an issue on the refills repo and someone said to replace the
gem 'refills'

by
gem 'refills', github: 'thoughtbot/refills'.

This way, the list will be always updated.
More details here https://github.com/thoughtbot/refills/issues/185

Taking the dependency directly from the github could include unstable things. Right know the build has errors https://github.com/thoughtbot/refills, so I am unsure whether we should include this by default ...

I agree with @marcioj .. we can't trust on "undefined" versions from the GItHub master. At least, specify the working commit.

Any update here, @matheusagcosta ?

@TiuTalk nope. There's an issue opened since October's 11. https://github.com/thoughtbot/refills/issues/141 but nothing's changed. :disappointed:


Other sort orders for extensions

VSCode Version: Insiders 1.3
OS Version: OS X

Steps to Reproduce:

Search for JavaScript

The results are sorted by relevance.  But we used to sort by download as the default.  We should default to download and provide an other (relevance, etc)
Sean

It is now possible to sort any query by nothing (relevance), install count and ratings. The sort order is also customisable.

python
python @sort:installs
python @sort:installs-asc
@sort:installs
@sort:ratings


Fix attendance kiosk admin

It was not using the /users/search endpoint, and the search endpoint was not including roles.

This also fixes the issue Dallas mentioned recently where when an unknown member swipes in, the next swipe gets discarded.


Verify gas oracles

Description
about #121

@aliberkhsl revert the last two changes.
since the staking contract are immutable lets just add the gas numbers as real constants at the top.


feat(CSP): allow nonce

adding functionality for a nonce attribute to be applied to the injected style tag. This allows stricter CSP settings to be applied server side, while still allowing for style injection.
This follows a convention set by webpack as seen here (it's essentially undocumented functionality).
And follows a similar setup to how styled components implements nonce attributes.
I tried to keep the bundle size under 1KB, but opted to bump up the threshold in favor of retaining readability of the file. If keeping it to 1KB is important, I can look for other savings? or maybe start uglifying this file to be a more representative format of what most consumers will ingest this lib as.

Codecov Report

Merging #97 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #97   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           4      4
  Lines         107    109    +2
=====================================
+ Hits          107    109    +2

Impacted Files
Coverage Δ

src/monolithic.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 61e40b2...bd2ad91. Read the comment docs.


[Bug report] Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (1.8) and 'compileDebugKotlin' (17).

Version
2.8.0
Platforms
Android
Device Model
samsung a52
flutter info
[✓] Flutter (Channel stable, 3.13.9, on macOS 14.1 23B74 darwin-x64, locale en-EG)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.84.0)
[✓] Connected device (5 available)

//    ext.kotlin_version = '1.9.20'
    dependencies {
        classpath 'com.android.tools.build:gradle:7.4.2'
        classpath 'com.google.gms:google-services:4.4.0'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }

android {
    compileSdkVersion 34
    ndkVersion flutter.ndkVersion

    compileOptions {
         // Flag to enable support for the new language APIs
    coreLibraryDesugaringEnabled true
    // Sets Java compatibility to Java 8
        sourceCompatibility JavaVersion.VERSION_17
        targetCompatibility JavaVersion.VERSION_17
    }
    kotlinOptions {
        jvmTarget = '17'
    }
    defaultConfig {
        multiDexEnabled true

        applicationId "com.appedia.siyaq"
        minSdkVersion 24
        targetSdkVersion 34
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
        resConfigs "en", "ar"

    }

    signingConfigs {
        release {
            keyAlias keystoreProperties['keyAlias']
            keyPassword keystoreProperties['keyPassword']
            storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
            storePassword keystoreProperties['storePassword']
        }
    }
    buildTypes {
        release {
            minifyEnabled true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

            signingConfig signingConfigs.release
        }

    }
    namespace 'com.appedia.siyaq'
}
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip

How to reproduce?
when try to install my app I got this error
Logs
Launching lib/main.dart on sdk gphone x86 in debug mode...
main.dart:1

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':photo_manager:compileDebugKotlin'.
> Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (1.8) and 'compileDebugKotlin' (17).

  Consider using JVM Toolchain: https://kotl.in/gradle/jvm/toolchain
  Learn more about JVM-target validation: https://kotl.in/gradle/jvm/target-validation

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 20s

Example code (optional)
No response
Contact
<EMAIL_ADDRESS>

Try to use JDK 11.
Set your JAVA_HOME to ~/Library/Java/JavaVirtualMachines/XXX-11

We can determine so far is that the following configuration can be compiled correctly:

JDK11
Gradle wrapper 7.5.1
AGP 7.3
Kotlin 1.7.10

I will submit a commit to solve this problem later so that users can use the latest AGP and gradle versions. Before that, you can use JDK 11 + AGP 7.3

The version 2.8.1, I include a gradle script to auto read JVM version.
If the error report also, try to read the doc to set your java info.


Zooming and panning can be extremely sluggish (Firefox / Mac)

Description
At certain zoom levels the application loads a lot of data and zooming and panning can become extremely sluggish to the point where the only solution to continue working is emptying the cache. Here's a couple profiler reports:
Initial page load: https://profiler.firefox.com/public/rfr50w8wdy58tcwr5fzpahgcp79rd9vkj1r0cc0/calltree/?globalTrackOrder=0w2&thread=1&v=8
Page load after clearing cache then zooming and panning a bit: https://profiler.firefox.com/public/j6zn1fbwjnz7v4tfqdgj95p8b982szb128atgc8/calltree/?globalTrackOrder=0w2&thread=2&v=8
Version
2.00-alpha.3.3
What browser are you seeing the problem on? What version are you running?
Firefox v109.0
Steps to reproduce
No response
The browser URL at the time you encountered the bug
https://mapwith.ai/rapid-v2-alpha3#background=Bing&datasets=fbRoads,msBuildings&disable_features=boundaries&map=12.64/40.7123/-111.9359&photo_overlay=mapillary

Here's me trying to pick up where I left off after the previous actions: https://share.firefox.dev/3WsF2Kz
The rest of the ux seems to still respond fine but interaction with the map is not possible.

Comparable zooming / panning in the same area in iD: https://share.firefox.dev/3QYZ7XM
They start showing map data at much higher zoom (Z16) -- is this something Rapid should also do? What is the rationale for showing map data at much lower zooms?

What is the rationale for showing map data at much lower zooms?

Mostly just that people have wanted to edit at lower zooms for a while.. We do need to implement some ways of drawing the scene better at low zooms so we don't saturate the GPU with too many details.

This seems to be correlated with the Mapillary layer. When the Mapillary base layer (images) is active, the rendering is significantly worse than if this layer is not enabled.


Snapshot.py memory grows large

Snip from top output when the snapshot daemon had been running for about half an hour with 4 cameras taking snapshots every 0.5 seconds...
26371 www-data  20   0 1645m 1.4g 2560 R  100 71.6  28:26.04 python Snapshot.py
Looks a bit leaky to me...

It is at 1.2g after 7 mins, and then grows very slowly... more investigation needed

The problem was in the check_disk housekeeping section, which did a for x in blah.all() call. This loaded all the snapshots into memory. It now says .all()[:50] which only loads 50 into memory. Much better.
Version 1.3


Failure to build docker image (default extensions)

code-server docker image
OS Version: MacOS

Description
The user attempts to build code-server from the docker command and the process fails at the building of the built-in extension
GIST
https://gist.github.com/jrussellsmyth/8e07e6b1d6bc117f8db073d92458c2b7

@nhooyr

Hastebin from earlier.

We pre-build the default extensions now, and the build process downloads them so this won't be an issue going forward.


[tcgc] add @clientInitialization decorator

fixes #914

:x: There is undocummented changes. Run chronus add to add a changeset or click here.
The following packages have changes but are not documented.

:x:@azure-tools/typespec-client-generator-core

Show changes

You can try these changes here

🛝 Playground
🌐 Website
📚 Next docs

three concerns:

can we have a test with @client and @operationGroup?
i'm wondering if we need to add a lint to disallow promoting method param to client if it is not in all client's operation?
with this decorator, is it possible to remove the hard code for promoting subscriptionId cause it is not already client parameter in brownfield?

Yep, let me add this test
I think this is a fair linter-rule to add for unbranded, but it's complicated because of ARM's behavior. Currently the list operations don't need subscriptionId but all ARM sdks still have subscriptionId as a client-level param
Yeah that is down the line, where ARM can auto-apply the @clientInitialization decorators for subscriptionId

@chunyu3 it will have property .onClient set to true


Use NSLock instead of a semaphore for locking

I think that something like this would be a bit more performant? https://github.com/pinterest/PINRemoteImage/blob/master/Pod/Classes/PINRemoteLock.m
I'd also be ok with using a mutex directly.

Can you update the commit description to explain the benefit of this change?


Travis builds are failing on install of Protractor version that's incompatible with Node 4 & 5

Currently, the Travis CI builds are failing on Node 4 & 5, due to the latest version of Protractor being installed. Consequently, a version of the webdriver-manager package is installed that is incompatible with Node 4 & 5.

https://github.com/meanjs/mean/blob/master/.travis.yml#L35
We're not using Protractor directly in the project, since we're using gulp-protractor. The latter installs the expected version of Protractor, thus a compatible version of webdriver-manager.
I don't have much experience with Travis CI, and I'm not aware of a way of testing our .travis.yml configuration, short of committing to a PR.
Could we just change the referenced line in the Travis build config, to be npm install<EMAIL_ADDRESS><4.0.0" to match our version of gulp-protractor? Moreover, why do we have to install Protractor at all, before the project's dev dependencies are installed?
@meanjs/contributors @simison @sujeethk @hyperreality

@mleanos I don't remember the historical reasons for the travis.yml file but you can definitely open a PR with the suggested change and see how the build works.

What @lirantal said. Go for the changes and hope for the best! I'd be curious to see if we don't need gulp-protractor directly in the travis.yml file. That would be the ideal situation.

@mleanos  this PR for protractor basically sets up the build in travis so that we don't run E2E on unsupported versions like 4 & 5, and only for 6.9 and higher.
Reference: #1752


Critical dependency error during install: formidable <3.2.4

On install via npm I got a critical vulnerability for formidable <3.2.4
Error msg:
formidable  <3.2.4
Severity: critical
Formidable arbitrary file upload - https://github.com/advisories/GHSA-8cp3-66vr-3r4c
No fix available
node_modules/formidable
superagent  0.4.0 - 8.1.2
Depends on vulnerable versions of formidable
node_modules/superagent
supertest  *
Depends on vulnerable versions of superagent
node_modules/supertest
Looks like the team maintaining Formidable don't agree with the vulnerability rating and are trying to get it reviewed, but the current flagging may present issues for others trying to install also.

is this issue still open? is anyone working on it? If not, can I take it up?


Add new playbook into whitelist

What type of PR is this?
/kind bug

What this PR does / why we need it:
Add new playbook into whitelist
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

/lgtm

/lgtm


[Bug] PS5 controller not working

Checklist

[X] I will only use English in my report.
[X] I have used the search function for open and closed issues to see if someone else has already submitted the same bug report.
[X] I will describe the problem with as much detail as possible.

Questions

[X] xCloud officially supports my country/region.
[X] The bug doesn't happen when I disable Better xCloud script.
[X] The bug didn't happen in previous Better xCloud version (name which one).

Device
Other
Device
Nvidia Shield 2017 Model
Operating System
11
Android app/Browser Version
5.9.4
Better xCloud Version
5.9.4
Game list
All Games
Reproduction Steps
I tried to use my PS5  controller with the Better Xcloud, but I couldn't play with it because the buttons didn’t work. I followed the instructions in the ADB app, but they are still not working properly. Can someone help me?
Screenshot/video
No response

This is your device's problem


Include prebuilt executables in releases

Is your feature request related to a problem? Please describe.
In order to buf generate, my environment must have go installed so that I can first install protoc-gen-connect-go.
Describe the solution you'd like
Include prebuilt executables with releases.
Describe alternatives you've considered
Install go and use go install... :smile:
Additional context
This is certainly a convenience request. My current situation is trying to create more efficient CI jobs. I can download protoc-gen-go and buf without needing to bloat the build environment by installing go and associated tools. It would be nice to be able to simply download an executable for protoc-gen-connect-go as well.

It's usually assumed to use and build the libraries go would be required locally. Install can be done with:
go install connectrpc.com/connect/cmd/protoc-gen-connect-go@latest

As an alternative you can use remote code generation using buf. This doesn't require to manage the plugin binaries locally. See the docs here for more details: https://buf.build/docs/bsr/remote-plugins/usage#4.4.-connect-go
Release binaries would be a nice addition though. I'll let others weigh in but I agree with this proposal.

I agree that release binaries would be nice, even if they're unnecessary for people using the buf CLI. @emcfarlane Can we look into integrating GoReleaser in this repo?

As an alternative you can use remote code generation using buf. This doesn't require you to manage the plugin binaries locally. See the docs here for more details: https://buf.build/docs/bsr/remote-plugins/usage#4.4.-connect-go

Oh, awesome. This worked great. I didn't realize that I could do this. Thank you!


Fix command in docs

The --container_type argument is not named

Codecov Report

Merging #2779 (adf4b89) into main (7de23af) will decrease coverage by 3.56%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2779      +/-   ##
==========================================
- Coverage   29.17%   25.61%   -3.56%
==========================================
  Files         321      123     -198
  Lines       38558    12990   -25568
==========================================
- Hits        11248     3327    -7921
+ Misses      27310     9663   -17647

Impacted Files
Coverage Δ

src/agent/onefuzz-task/src/tasks/stats/afl.rs

...c/agent/onefuzz-task/src/tasks/coverage/generic.rs

...gent/onefuzz-file-format/src/coverage/source/v1.rs

...gent/onefuzz-task/src/tasks/report/crash_report.rs

src/agent/onefuzz/src/blob/url.rs

...rc/agent/onefuzz-task/src/local/libfuzzer_merge.rs

src/agent/input-tester/src/tester.rs

src/agent/onefuzz-task/src/tasks/config.rs

src/agent/coverage-legacy/src/intel.rs

src/agent/onefuzz-agent/src/work.rs

... and 188 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[Addition]: Heltec cluster (11 HS)

Hotspot b58 Addresses
112FStAcre4PnKtEFuzSaMHps5kEhYKKHTmUedpoF7em4e2XdSEx
112KttbiuSdjj6jU4h5x8jM3c8inJdJFhzF5WbKrSore52dc6D7G
112SDZjLGQB9XMxNRZpkhSTTX6GN6tW297F9VFoTwZJjvdw1qmPq
112VN9M8aU9D8VQyHxCmPbARwsUxeapedRkS2kiRVtRa4zunBYYx
117FxTVzPAUJpY5iYWvURLDvKfEfWdWR5irafbJMeEhbV3Mg4g7
11B5tmXjZXgeqYjKYTTEZNAyqAu496JwRLSzfn1WFx6cPZX2RLR
11KYVvWeap597T6BhwbeVrvjwRr9xMPqbrh6eYEvZS68WLXGtem
11qBLQVadt6rJJtwpNMRsDPh32CSMgA4fBNVdiVqPnG5nY5yhP2
11uiCuJbAbJayjD77TGcpq7QbqR6XwRhyojnEF4Wb8GzVveBUJf
11WukyzijQ2dBbLm1Ph5triNKs7E72aXbubRW2ZLGoekJAwdybC
11yj84CBnTA5GqJQKz1J5oTdqRwzLwW9E3q7fqf7MCBAqMS4mvZ
Discord Handle
No response
Reason(s)
These Hotspots are only witnessing their own brand, have very often a unlikely (perfect) placement, same assertion date-range(s) and usually there are enough real hotspots arround but these do not get witnessed at all.
Maybe far more linked clusters/hotspots, but an ETL time-out is occuring when more data is generated.
High Clustering Coefficient and/or Clique size above the thresholds which are considered normal on the network.
Below some proof of the cluster(s):

Sorry my son is mentally ill! Sorry for the inconvenience everyone!


[Feature]: .nvmrc support

Description of the new feature / enhancement
https://github.com/nvm-sh/nvm#nvmrc
Can you sync and support the linux nvm configuration file standards?
Scenario when this would be used?
Look up.
Supporting information
No response

https://github.com/coreybutler/nvm-windows/wiki/Common-Issues#why-isnt-nvmrc-supported-why-arent-some-nvm-for-macoslinux-features-supported


Adaptive loadbalance

What is the purpose of the change
issue #10571
adaptive loadbalance
Brief changelog
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

基准测试
环境
Linux version 3.10.0-1127.el7.x86_64
4C8G
java version "<IP_ADDRESS>"
网络：内网千兆网络
启动参数：-Xms2048m -Xmx2048m -XX:+UseG1GC
2服务器

Benchmark                      Mode  Cnt      Score      Error  Units
LoadBalance.adaptive          thrpt    4  12908.232 ± 2808.715  ops/s
LoadBalance.random            thrpt    4  13197.763 ± 2388.624  ops/s
LoadBalance.roundrobin        thrpt    4  11899.578 ± 6931.389  ops/s
LoadBalance.shortestresponse  thrpt    4  11052.168 ±  517.151  ops/s

3服务器

LoadBalance.adaptive          thrpt    4  19371.779 ± 2645.146  ops/s
LoadBalance.random            thrpt    4  19628.743 ± 4685.654  ops/s
LoadBalance.roundrobin        thrpt    4  19630.657 ± 4619.797  ops/s
LoadBalance.shortestresponse  thrpt    4  19250.009 ± 4268.092  ops/s

三轮基准测试结果

Codecov Report

Merging #10745 (5ea3d84) into 3.2 (da95c62) will decrease coverage by 0.07%.
The diff coverage is 58.22%.

@@             Coverage Diff              @@
##                3.2   #10745      +/-   ##
============================================
- Coverage     64.89%   64.81%   -0.08%
  Complexity       14       14
============================================
  Files          1443     1446       +3
  Lines         59907    60065     +158
  Branches       8776     8800      +24
============================================
+ Hits          38875    38932      +57
- Misses        16932    17018      +86
- Partials       4100     4115      +15

Impacted Files
Coverage Δ

...ster/filter/support/AdaptiveLoadBalanceFilter.java
0.00% <0.00%> (ø)

.../apache/dubbo/rpc/filter/ProfilerServerFilter.java
55.55% <33.33%> (-5.56%)
:arrow_down:

...o/rpc/cluster/loadbalance/AdaptiveLoadBalance.java
88.00% <88.00%> (ø)

...ain/java/org/apache/dubbo/rpc/AdaptiveMetrics.java
89.79% <89.79%> (ø)

...ubbo/rpc/cluster/ClusterScopeModelInitializer.java
100.00% <100.00%> (ø)

...gistrycenter/processor/ZookeeperUnixProcessor.java
60.71% <0.00%> (-17.86%)
:arrow_down:

...apache/dubbo/rpc/protocol/dubbo/FutureAdapter.java
36.00% <0.00%> (-12.00%)
:arrow_down:

...o/remoting/exchange/support/ReplierDispatcher.java
72.72% <0.00%> (-9.10%)
:arrow_down:

...e/dubbo/remoting/transport/netty/NettyChannel.java
51.13% <0.00%> (-7.96%)
:arrow_down:

...mmon/threadpool/support/AbortPolicyWithReport.java
72.72% <0.00%> (-7.58%)
:arrow_down:

... and 31 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


some complaint about the new version

I cant believe that after i updated carettab and restarted it, I lost ALL MY OLD SETTINGS!!! Why not add a function to save or remember users' old settings? I have been using carettab for 2 years and this software has memorized many of my usage habits. This update now causes me to struggle to remember my previous common sites and Settings...

I am sorry for the frustration that it has caused. This was more than a simple update, I completely rebuilt the extension from the ground up using a new framework. Because of this and to make future updates easier, the way items are saved are very different from how they were. I also took way too long getting this update out in the first place. I didn't want to both bloat the code and the release time trying to incorporate a complex method to transfer settings over for this single time.
As far as the quick links go, I did add a transfer option for that. After the update you should have been presented with a message that explained settings won't carry over but quick links can be moved. There was then an option that let you copy those settings over, but it was only available right after the upgrade.
During the update I tried to ensure that future updates will be easier and without the need to drop settings like that again. Hopefully I will not have to do this ever again and settings will be able to remain from here on. I can assure you that I will try my best to avoid wiping settings in the future.

Well, I'm just following the update boot.Maybe it's a translation problem, as a Chinese user I don't seem to see the option to use the old Settings, maybe you should put this prompt at the beginning of the update? BTW, I like these new features, which allow me to customize my start page more.And after going through my history, I finally recovered most of my fast connections.Sorry for the emotional complaint.

I completely understand. The notice was at the very start after update, though it may not have been translated for you at that moment so maybe that was the issue. I'm happy to hear you are enjoying the update otherwise though. Thank you very much for your support!


How to compile one of the multi pages ?

Version
3.7.0
Environment info
Environment Info:

  System:
    OS: Windows 10
    CPU: (8) x64 Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
  Binaries:
    Node: 10.13.0 - D:\Software\Node\node.EXE
    Yarn: 1.12.3 - D:\Software\Yarn\bin\yarn.CMD
    npm: 6.4.1 - D:\Software\Node\npm.CMD
  Browsers:
    Edge: 41.16299.967.0
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce
1  Configuring many multi pages in vue.config.js
2  I want to compile one of them...
3  I use "npm run serve src/pages/index.js", the page is blank...
What is expected?
'npm run serve entry' does't work
What is actually happening?
compile any one of page i want
Thx

Use an environment variable to dynamically create the pages option however you like.


Refactor pose_estimator package

Description
This patch refactors the pose_estimator package to:

Publish auv_interfaces::StateStamped messages
Drop pose_estimator::CorrectedData message
Normalize style and layout

Connected to #87.
Type of change
Please mark options that are relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] The code builds clean without any errors or warnings
[ ] Unit tests are passing
[x] Linter tests are passing

How To Test
Test A
Launch pose estimation subsystem.
roslaunch system_bringup pose_estimation.launch

Use rostopic echo to make sure it is publishing as expected.

Rebased on top of #93.

Thanks for the review @patapufate. This needs an update though. It is now publishing faster than its inputs, which causes an stagnation error. Have to synchronize output.

Now it's up-to-date @patapufate. PTAL!

Thank ! Going in.


Jio tv addon not working

Windows 11

Add-on name: Jio TV
Add-on version: 2.3.0
Kodi version: Kodi 19.5
Operating system version/name: Windows 11
Using from country: India

Describe the bug
Channels not playing , it loads then stop immediately
To Reproduce
Steps to reproduce the behavior:

Go to 'Kodi'
Click on 'TV'
Scroll down to 'Any Chaneel'
See an error

Expected behavior
click on channel and channel plays continuously
Screenshots
Not Required
Additional context
I am ready to donate some amount but please repair it. I am in big trouble 😭😭👏👏👏👏👏👏
Debug log

The debug log can be found from this link:kodi.log

FWIW, found an active fork https://github.com/Brajo280603/repository.botallen by @Brajo280603

Hi @rrjanbiah  was this repo working? If yes how?

FWIW, found an active fork https://github.com/Brajo280603/repository.botallen by @Brajo280603

@rrjanbiah @brajo280603 repositry of jio tv is working?

Let's hope @iMro0t fixes the issue in his spare time. In the meanwhile, you can use Samsung TV Plus addon from slyguy repository and AjayKRepo (for zee5 (has live channels), sonyliv (has live channels), voot (has live channels), hotstar and mxplayer)

few channels are working though. But most of them are not.

Same problem
Some channels are working.
But after a while frozen.
So many channels are failing to play.
Plz solve.

He won't do that, bcs imroot deleted the repository containing in a zip file from his botallen website, so no one can use it, if anybody who had taken a copy if that zip file can use that repository, and or anybody had a backup of that zip file..

So is there any way we can make it happen?

Any hint about  file name and the deleted repo URL ?

He won't do that, bcs imroot deleted the repository containing in a zip file from his botallen website, so no one can use it, if anybody who had taken a copy if that zip file can use that repository, and or anybody had a backup of that zip file..

Let's hope @iMro0t fixes the issue in his spare time. In the meanwhile, you can use Samsung TV Plus addon from slyguy repository and AjayKRepo (for zee5 (has live channels), sonyliv (has live channels), voot (has live channels), hotstar and mxplayer)

Use this pls

Use this pls

@Brajo280603 Looks like you missed to share the link

I checked the log, seems like jio has changed the cdns of the channels. Does anybody has any idea how to get the cdns?

2023-01-04 00:41:37.232 T:94476    INFO : Opening stream: 1001 source: 256
2023-01-04 00:41:37.232 T:94476   DEBUG : AddOnLog: inputstream.adaptive: OpenStream(1001)
2023-01-04 00:41:37.233 T:94476   DEBUG : AddOnLog: inputstream.adaptive: Selecting stream with conditions: w: 1920, h: 1080, bw: 3600000
2023-01-04 00:41:37.233 T:94476   DEBUG : CurlFile::Open(0x7f22b8087160) https://sldhnecdnems03.cdnsrv.jio.com/jiotv.live.cdn.jio.com/Pratidin_News/Pratidin_News_800.m3u8
2023-01-04 00:41:37.234 T:94476   DEBUG : easy_acquire - Created session to https://sldhnecdnems03.cdnsrv.jio.com
2023-01-04 00:41:37.692 T:94476   ERROR : CCurlFile::FillBuffer - Failed: HTTP returned error 405
2023-01-04 00:41:37.692 T:94476   ERROR : CCurlFile::Open failed with code 405 for https://sldhnecdnems03.cdnsrv.jio.com/jiotv.live.cdn.jio.com/Pratidin_News/Pratidin_News_800.m3u8:
2023-01-04 00:41:37.692 T:94476   ERROR : AddOnLog: inputstream.adaptive: Download failed: https://sldhnecdnems03.cdnsrv.jio.com/jiotv.live.cdn.jio.com/Pratidin_News/Pratidin_News_800.m3u8

some of the logs

I checked the log, seems like jio has changed the cdns of the channels. Does anybody has any idea how to get the cdns?

Do you know where to change cdn ??

Let's hope @iMro0t fixes the issue in his spare time. In the meanwhile, you can use Samsung TV Plus addon from slyguy repository and AjayKRepo (for zee5 (has live channels), sonyliv (has live channels), voot (has live channels), hotstar and mxplayer)

Use this pls

How do you actually use it? as downloading zip from github kodi says installation failed

Looks like @Geletinousamigo fixed it in https://github.com/Geletinousamigo/plugin.video.jiotv

I got the solution from @ganeshbn, from discord server, All thanks to him, but this is not a permanent solution, the author of botallen has told, he'll be fixing this, this weekend, so Its better you wait for his update
But If anyone want to apply this temporary solution,then

Install m3u8 plugin in kodi from [here]
(http://ftp.halifax.rwth-aachen.de/xbmc/addons/matrix/script.module.m3u8/script.module.m3u8-0.5.4+matrix.2.zip)

Then install this update to the jiotv plugin from [here] (https://github.com/Geletinousamigo/plugin.video.jiotv/archive/refs/tags/v1.0.1.zip)

Note : Channels will be playing at max available quality, so it may lead to buffer, if your network speed is slow

I got the solution from @ganeshbn, from discord server, All thanks to him, but this is not a permanent solution, the author of botallen has told, he'll be fixing this, this weekend, so Its better you wait for his update
But If anyone want to apply this temporary solution,then

Install m3u8 plugin in kodi from [here]
(http://ftp.halifax.rwth-aachen.de/xbmc/addons/matrix/script.module.m3u8/script.module.m3u8-0.5.4+matrix.2.zip)

Then install this update to the jiotv plugin from [here] (https://github.com/Geletinousamigo/plugin.video.jiotv/archive/refs/tags/v1.0.1.zip)

Note : Channels will be playing at max available quality, so it may lead to buffer, if your network speed is slow

Thanks bro for the update! Really appreciate yours and @ganeshbn 's time and effort to resolve the issue. Also, thanks to botallen for working on a permanent fix.

man you guys are life saver it worked thankyou very much bro @adityapv @Geletinousamigo

Mine is showing dependency error whille I'm trying to install jio tv plugin.
please add step by step 🪜 process for Android tv

I got the solution from @ganeshbn, from discord server, All thanks to him, but this is not a permanent solution, the author of botallen has told, he'll be fixing this, this weekend, so Its better you wait for his update
But If anyone want to apply this temporary solution,then

Install m3u8 plugin in kodi from [here]
(http://ftp.halifax.rwth-aachen.de/xbmc/addons/matrix/script.module.m3u8/script.module.m3u8-0.5.4+matrix.2.zip)
Then install this update to the jiotv plugin from [here] (https://github.com/Geletinousamigo/plugin.video.jiotv/archive/refs/tags/v1.0.1.zip)

Note : Channels will be playing at max available quality, so it may lead to buffer, if your network speed is slow

@2 not having zip extension pls check

@PrasannaChatufale @adityapv
Brother till yesterday the plugin was working correctly today it shows to update the jio tv now how will we update the plugin please help bro.

today, I also tried to install jio from the zip file but is is showing this error "The dependency on kodi.binary.instance.inputstream version 3.2.0 could not be satisfied".
please assist how to fix this?

Today, it is working fine.... but after sometime it is frozen, is there any solution to this problem?

Mine is showing dependency error whille I'm trying to install jio tv plugin. please add step by step 🪜 process for Android tv

I was also facing the same issue with v19.5 of kodi. I uninstalled that and installed latest version from google play store v20.0 and now not facing the dependency error but every channel frozen after some time.

I got the solution from @ganeshbn, from discord server, All thanks to him, but this is not a permanent solution, the author of botallen has told, he'll be fixing this, this weekend, so Its better you wait for his update
But If anyone want to apply this temporary solution,then

Install m3u8 plugin in kodi from [here]
(http://ftp.halifax.rwth-aachen.de/xbmc/addons/matrix/script.module.m3u8/script.module.m3u8-0.5.4+matrix.2.zip)
Then install this update to the jiotv plugin from [here] (https://github.com/Geletinousamigo/plugin.video.jiotv/archive/refs/tags/v1.0.1.zip)

Note : Channels will be playing at max available quality, so it may lead to buffer, if your network speed is slow

@2 not having zip extension pls check

Could you guide step by step how I can install m3u8 plugin, because I'm not technical person.
Thanks in advance!

I got the solution from @ganeshbn, from discord server, All thanks to him, but this is not a permanent solution, the author of botallen has told, he'll be fixing this, this weekend, so Its better you wait for his update
But If anyone want to apply this temporary solution,then

Install m3u8 plugin in kodi from [here]
(http://ftp.halifax.rwth-aachen.de/xbmc/addons/matrix/script.module.m3u8/script.module.m3u8-0.5.4+matrix.2.zip)
Then install this update to the jiotv plugin from [here] (https://github.com/Geletinousamigo/plugin.video.jiotv/archive/refs/tags/v1.0.1.zip)

Note : Channels will be playing at max available quality, so it may lead to buffer, if your network speed is slow

Bro, could you guide step by step how I can install m3u8 plugin, because I'm not technical person.
Thanks in advance!

Now, its running fine but its keeps stopping for buffering and play and so on. any solution for that?


Let's not add the node if it's id is NaN

Fixes #1
Sorry for the many whitespace changes - the only relevant change is in line 88.

Thanks! That should make it a bit more reliable!


srs5.0 api error occurred

!!! Before submitting a new bug report, please ensure you have searched for any existing bugs. Duplicate issues or
questions that are overly simple or already addressed in the documentation will be removed without any
response.
Describe the bug
The server information is not displayed when the console is accessed, and the manual connection also indicates that the connection is successful, but it is not.However, the same version and configuration file can run normally on another centOS test server.
Version
5.0.216
To Reproduce
Steps to reproduce the behavior:

Go to the console home page or manually click Connect to SRS

Expected behavior
Information about the server is displayed normally.
Screenshots
Additional context
[2024-10-17 16:12:01.726][WARN][1968114][q49pz808][104] client disconnect peer. ret=1007
[2024-10-17 16:12:01.726][INFO][1968114][22u5939p] TCP: clear zombies=1 resources, conns=1, removing=0, unsubs=0
[2024-10-17 16:12:01.726][INFO][1968114][q49pz808] TCP: disposing #0 resource(HttpConn)(0x607000018740), conns=1, disposing=1, zombies=0
[2024-10-17 16:12:01.770][INFO][1968114][x660b069] HTTP #0 <IP_ADDRESS>:23971 GET http://<IP_ADDRESS>:8083/api/v1/summaries?callback=angular.callbacks._l, content-length=-1
[2024-10-17 16:12:01.770][WARN][1968114][x660b069][2] http miss file=./objs/nginx/html/api/v1/summaries, pattern=/, upath=/api/v1/summaries
[2024-10-17 16:12:01.866][INFO][1968114][x660b069] TCP: before dispose resource(HttpConn)(0x607000018e40), conns=1, zombies=0, ign=0, inz=0, ind=0
[2024-10-17 16:12:01.866][WARN][1968114][x660b069][104] client disconnect peer. ret=1007
[2024-10-17 16:12:01.866][INFO][1968114][22u5939p] TCP: clear zombies=1 resources, conns=1, removing=0, unsubs=0
[2024-10-17 16:12:01.866][INFO][1968114][x660b069] TCP: disposing #0 resource(HttpConn)(0x607000018e40), conns=1, disposing=1, zombies=0
[2024-10-17 16:12:04.971][INFO][1968114][66l9b353] Hybrid cpu=0.00%,58MB, cid=5,2, timer=62,0,0, clock=0,49,0,0,0,0,0,0,0, free=1
[2024-10-17 16:12:06.162][INFO][1968114][7x8mm030] Process: cpu=0.00%,58MB, threads=2
[2024-10-17 16:12:09.971][INFO][1968114][66l9b353] Hybrid cpu=0.00%,58MB, cid=5,2, timer=62,0,0, clock=0,49,0,0,0,0,0,0,0, free=1

Should follow issue template.


Pandora track skip limit exceeded - how to know when a track is playable?

Hi all, I'm creating an application that switches pandora stations (on a free account) somewhat frequently, but doesn't try to manually skip tracks. The sequence is: clear tracklist, add pandora station, play. Mopidy automatically loads tracks from the station and plays them. For the most part, it's working very well.
I often get this: "track is not playable: pandora:ad:..." Usually this isn't a problem and it can go to the next track.
However, occasionally I get warnings like this in a row:

WARNING  Track is not playable: pandora:ad:4092143028425283980:4092143028425283980-pod%3A1/2/8
WARNING  Maximum track skip limit (5) exceeded.
WARNING  Track is not playable: pandora:ad:4092143028425283980:4092143028425283980-pod%3A2/2/

When this happens, the next track doesn't play, and the station is just silent.
I looked at issue #43 so I want to ask what determines when a pandora track is playble? Are ads always not playable? Because sometimes the ads will successfully play. Other times only the tracks will play, and rarely I'll get the issue I just described where nothing plays. Restarting mopidy fixes the problem, as noted in #43, but I'll try to avoid it if there's a better way.
Thanks in advance!

As far as I can recall, Pandora also serves non-audio visual ads that appear as image popups in the official applications. I suspect being served those types of ads might be the cause of ads sometimes being reported as not playable, but as you mentioned mopidy-pandora usually just skips to the next track so it isn't really a problem.
The Maximum track skip limit (5) exceeded message is due to a built-in failsafe that prevents mopidy-pandora from skipping more than 5 tracks in a row. If more than 5 skips are required to get to the next playable track it is usually an error condition, and this prevents mopidy-pandora form flooding the Pandora server with track requests that could result in your account being throttled.
I think the problems that you are experiencing is due to switching between stations a lot. Pandora registers each switch to a new station as a track 'skip' as well to prevent people from avoiding ads by just switching to another station. So this could be increasing the skip count for your account. The Pandora server will eventually become very aggressive and only serve up ads if it thinks that you are trying to skip all of them.
I haven't used a free account in a number of years so not sure how viable it is to use them reliably with mopidy-pandora anymore, as Pandora's ad-serving policies do seem to change from time to time.

Alright, makes sense. I'll most probably try a paid account by the end of this project.


Fix formatting: 4 spaces -> 2 spaces (angular standard)

Reformatted all created files that didn't have 2 space tabs

this is why tabs > spaces


The "edit on Github" for a tutorial goes to a 404 page

I navigated to https://stonesoup.readthedocs.io/en/latest/auto_tutorials/01_KalmanFilterTutorial.html#sphx-glr-auto-tutorials-01-kalmanfiltertutorial-py from the introduction page by clinking the link there.
I was wanting to look at the math formatting so clicked the (top right) "Edit on GitHub" icon link (adjacent the title line).
It looks like the link presented there is called https://github.com/dstl/Stone-Soup/blob/master/docs/source/auto_tutorials/01_KalmanFilterTutorial.rst and it should not have the "auto_" within the path.
I haven't followed around the loop to discover where the issue starts, though I guess it's implicitly programmatic.

The tutorials/examples/demos are generated dynamically from code, so the actual RST files are generated on build, so can't be found in the repository.
You'll find the Python code that they are generated from here:

Tutorials: https://github.com/dstl/Stone-Soup/tree/master/docs/tutorials
Examples: https://github.com/dstl/Stone-Soup/tree/master/docs/examples
Demos: https://github.com/dstl/Stone-Soup/tree/master/docs/demos

I'll have to see if we can fix those links. They are generated by the read the docs, so not 100% sure if/how we can fix them at the moment.

They are generated by the read the docs

Are you meaning this: https://github.com/dstl/Stone-Soup/blob/master/.readthedocs.yml ?

So looks like issue is related to how the template for the documentation works, which reasonably isn't aware that some of our documentation is auto generated. I've overridden the template in commit c29fa95 to point to correct file for auto generated content. Once #302 is merged, you should see this fixed on documentation pages.

Yes, that fix looks to be suitable far away from the discovered problem to make it hard to find (I couldn't find it even with browsing and linking through the code and looking at/up Sphinx).

Thanks for raising this issue @PhilipOakley. Should be fixed now.

Should be fixed now.

Success! (I needed to reload the page locally as it had been cached by my browser)
Aside: It might be worth a short README doc in https://github.com/dstl/Stone-Soup/tree/master/docs that described the tortuous route around the doc build scheme (or at least a bread crumbs trail to include the implicit steps) to help others dive in if they have any problems.


Feature request: Tabs

Great work putting Vue and Bulma together. Couldn't find tabs-component anywhere. Any plans to add that?

Thank you! Yes, it's on the backlog ;)

It seems there is a bug disabling the animated attribute on b-tabs. Doing animated="false" on the b-tabs component fires a invalid type check.

It's boolean, use :animated=false" 👍


Cannot get viewer working for O3D303

I have a few working o3d303 sensors and a new one that I just received which isn't displaying anything in the viewer, just a blank screen, see below.  The config dump below looks similar to my other sensors.

$ ./o3d3xx-ls
* [1] id=1186278907, name=Sample Application, description=
$ ./o3d3xx-dump > /tmp/o3d303-dev.json
$ cat /tmp/o3d303-dev.json
{
    "o3d3xx":
    {
        "libo3d3xx": "200",
        "Date": "Fri Dec 11 14:10:25 2015",
        "HWInfo":
        {
            "Mainboard": "#!02_M381_003_02065512_008022954",
            "Illumination": "#!02_I300_001_02085611_008001175",
            "MACAddress": "00:02:01:40:25:5D",
            "Frontend": "#!02_F341_002_15_00238_802259343",
            "Diagnose": "#!02_D322_C30_02061433_008023093",
            "Connector": "#!02_A300_001_02064651_008001175"
        },
        "SWVersion":
        {
            "IFM_Software": "1.1.288",
            "Linux": "Linux version 3.11.0-00001-g4e630e2 (eswadmin@dettlx79) (gcc version 4.7.2 (GCC) ) #1 SMP Mon Jun 8 10:25:20 CEST 2015",
            "Diagnostic_Controller": "0.3.9",
            "ELDK": "GOLDENEYE_ELDK-2015-07-01_16-26-37-cc5673110f1bff06b66149c8320f6c1823d87891",
            "Calibration_Version": "0.7.1",
            "Calibration_Device": "00:02:01:40:25:5d",
            "Main_Application": "0.4.34",
            "Algorithm_Version": "0.6.19"
        },
        "Device":
        {
            "Name": "New sensor",
            "Description": "",
            "ActiveApplication": "1",
            "PcicEipEnabled": "false",
            "PcicTcpPort": "50010",
            "PcicProtocolVersion": "3",
            "IOLogicType": "1",
            "IODebouncing": "true",
            "IOExternApplicationSwitch": "0",
            "SessionTimeout": "30",
            "ServiceReportPassedBuffer": "5",
            "ServiceReportFailedBuffer": "5",
            "ExtrinsicCalibTransX": "0",
            "ExtrinsicCalibTransY": "0",
            "ExtrinsicCalibTransZ": "0",
            "ExtrinsicCalibRotX": "0",
            "ExtrinsicCalibRotY": "0",
            "ExtrinsicCalibRotZ": "0",
            "IPAddressConfig": "0",
            "PasswordActivated": "false",
            "OperatingMode": "0",
            "DeviceType": "",
            "ArticleNumber": "",
            "ArticleStatus": "",
            "UpTime": "6.95301075392642e-310",
            "ImageTimestampReference": "31590384",
            "TemperatureFront1": "1.560784204908798e-316",
            "TemperatureFront2": "6.952977167208689e-310",
            "TemperatureIMX6": "1.560796062484299e-316",
            "TemperatureIllu": "1.560807920059799e-316"
        },
        "Net":
        {
            "MACAddress": "",
            "NetworkSpeed": "0",
            "StaticIPv4Address": "<IP_ADDRESS>",
            "StaticIPv4SubNetMask": "<IP_ADDRESS>",
            "StaticIPv4Gateway": "<IP_ADDRESS>",
            "UseDHCP": "false"
        },
        "Apps":
        [
            {
                "Name": "Sample Application",
                "Description": "",
                "TriggerMode": "1",
                "PcicTcpResultOutputEnabled": "true",
                "PcicTcpResultSchema": "{ \"layouter\": \"flexible\", \"format\": { \"dataencoding\": \"ascii\" }, \"elements\": [ { \"type\": \"string\", \"value\": \"star\", \"id\": \"start_string\" }, { \"type\": \"blob\", \"id\": \"normalized_amplitude_image\" }, { \"type\": \"blob\", \"id\": \"distance_image\" }, { \"type\": \"blob\", \"id\": \"x_image\" }, { \"type\": \"blob\", \"id\": \"y_image\" }, { \"type\": \"blob\", \"id\": \"z_image\" }, { \"type\": \"blob\", \"id\": \"confidence_image\" }, { \"type\": \"blob\", \"id\": \"diagnostic_data\" }, { \"type\": \"string\", \"value\": \"stop\", \"id\": \"end_string\" } ] }",
                "PcicEipResultSchema": "{ \"layouter\": \"flexible\", \"format\": { \"dataencoding\": \"binary\", \"order\": \"big\" }, \"elements\" : [ { \"type\": \"string\", \"value\": \"star\", \"id\": \"start_string\" }, { \"type\": \"records\", \"id\": \"models\", \"elements\": [ { \"type\": \"int16\", \"id\": \"boxFound\" }, { \"type\": \"int16\", \"id\": \"width\", \"format\": { \"scale\": 1000 } }, { \"type\": \"int16\", \"id\": \"height\", \"format\": { \"scale\": 1000 } }, { \"type\": \"int16\", \"id\": \"length\", \"format\": { \"scale\": 1000 } }, { \"type\": \"int16\", \"id\": \"xMidTop\", \"format\": { \"scale\": 1000 } }, { \"type\": \"int16\", \"id\": \"yMidTop\", \"format\": { \"scale\": 1000 } }, { \"type\": \"int16\", \"id\": \"zMidTop\", \"format\": { \"scale\": 1000 } }, { \"type\": \"int16\", \"id\": \"yawAngle\" }, { \"type\": \"int16\", \"id\": \"qualityLength\" }, { \"type\": \"int16\", \"id\": \"qualityWidth\" }, { \"type\": \"int16\", \"id\": \"qualityHeight\" } ] }, { \"type\": \"string\", \"value\": \"stop\", \"id\": \"end_string\" } ] }",
                "LogicGraph": "{\"IOMap\": {\"OUT1\": \"RFT\",\"OUT2\": \"AQUFIN\"},\"blocks\": {\"B00001\": {\"pos\": {\"x\": 200,\"y\": 200},\"properties\": {},\"type\": \"PIN_EVENT_IMAGE_ACQUISITION_FINISHED\"},\"B00002\": {\"pos\": {\"x\": 200,\"y\": 75},\"properties\": {},\"type\": \"PIN_EVENT_READY_FOR_TRIGGER\"},\"B00003\": {\"pos\": {\"x\": 600,\"y\": 75},\"properties\": {\"pulse_duration\": 0},\"type\": \"DIGITAL_OUT1\"},\"B00005\": {\"pos\": {\"x\": 600,\"y\": 200},\"properties\": {\"pulse_duration\": 0},\"type\": \"DIGITAL_OUT2\"}},\"connectors\": {\"C00000\": {\"dst\": \"B00003\",\"dstEP\": 0,\"src\": \"B00002\",\"srcEP\": 0},\"C00001\": {\"dst\": \"B00005\",\"dstEP\": 0,\"src\": \"B00001\",\"srcEP\": 0}}}",
                "Type": "Camera",
                "Index": "1",
                "Id": "1186278907",
                "Imager":
                {
                    "Channel": "0",
                    "ClippingBottom": "131",
                    "ClippingLeft": "0",
                    "ClippingRight": "175",
                    "ClippingTop": "0",
                    "ContinuousAutoExposure": "false",
                    "EnableAmplitudeCorrection": "true",
                    "EnableFilterAmplitudeImage": "true",
                    "EnableFilterDistanceImage": "true",
                    "EnableRectificationAmplitudeImage": "false",
                    "EnableRectificationDistanceImage": "false",
                    "ExposureTime": "5000",
                    "ExposureTimeList": "125;5000",
                    "ExposureTimeRatio": "40",
                    "FrameRate": "5",
                    "MinimumAmplitude": "42",
                    "ReduceMotionArtifacts": "false",
                    "SpatialFilterType": "0",
                    "SymmetryThreshold": "0",
                    "TemporalFilterType": "0",
                    "ThreeFreqMax2FLineDistPercentage": "80",
                    "ThreeFreqMax3FLineDistPercentage": "80",
                    "TwoFreqMaxLineDistPercentage": "80",
                    "Type": "under5m_moderate",
                    "SpatialFilter":
                    {
                        "Type": "0",
                        "TypeStr_": "Off"
                    },
                    "TemporalFilter":
                    {
                        "Type": "0",
                        "TypeStr_": "Off"
                    }
                }
            }
        ]
    }
}

helpful to note I am building from v0.2.0

437e48f 2015-11-16 (HEAD, tag: v0.2.0, origin/dev-0.2.0) | fixed another typo

Are the 2D images showing? Or are both the point cloud and 2D images
blacked out?
--
Tom Panzarella
(sent from my phone)
On Dec 11, 2015 5:22 PM, "bigcmos"<EMAIL_ADDRESS>wrote:

helpful to note I am building from v0.2.0

437e48f
https://github.com/lovepark/libo3d3xx/commit/437e48f29dbd6464445003282ee03551836244b0
2015-11-16 (HEAD, tag: v0.2.0, origin/dev-0.2.0) | fixed another typo

—
Reply to this email directly or view it on GitHub
https://github.com/lovepark/libo3d3xx/issues/33#issuecomment-164065202.

Both are blacked out.

Did you spot check against IFM Vision Assistant?
--
Tom Panzarella
(sent from my phone)
On Dec 11, 2015 5:53 PM, "bigcmos"<EMAIL_ADDRESS>wrote:

Both are blacked out.
—
Reply to this email directly or view it on GitHub
https://github.com/lovepark/libo3d3xx/issues/33#issuecomment-164070985.

Yes.  IFM Vision Assistant seems to output good data.

Can you run o3d3xx-hz and let me know what it reports?
--
Tom Panzarella
(sent from my phone)
On Dec 11, 2015 6:14 PM, "bigcmos"<EMAIL_ADDRESS>wrote:

Yes. IFM Vision Assistant seems to output good data.
—
Reply to this email directly or view it on GitHub
https://github.com/lovepark/libo3d3xx/issues/33#issuecomment-164074706.

$ ./o3d3xx-hz
FrameGrabber running at: 4.89804 Hz
10 frames captured; averaged over 1 runs

Hmm. So, we are getting data. Is there anything unique about your
rendering/graphics environment? Because, from everything you told me, we
are getting data fine from the camera but the rendering is not working. The
viewer application is really just a very thin wrapper around both OpenCV
and PCL's native viewer applications.
Are you running in a ROS environment by chance? I'm curious to see if rviz
can render the data.
--
Tom Panzarella
(sent from my phone)
On Dec 11, 2015 6:54 PM, "bigcmos"<EMAIL_ADDRESS>wrote:

$ ./o3d3xx-hz
FrameGrabber running at: 4.89804 Hz
10 frames captured; averaged over 1 runs
—
Reply to this email directly or view it on GitHub
https://github.com/lovepark/libo3d3xx/issues/33#issuecomment-164083669.

No same system I've been using.  rviz works fine.  When I get back to my desk in about 30 minutes I'll test out one of the other sensors to make sure they can still visualize, but they were working this morning.

I was able to verify that my other sensors are working and can visualize on that computer.  I can dig into the source more on Monday, but let me know if you have any other tips for debugging.

Sorry, I haven't tried to visualize the sensor in rviz.  I can give that a shot on Monday.

This is not something I have seen before. However, here is a few things I'm thinking about as I read this issue:

If you can, I'd like to know if you can visualize the data in rviz. From what I read so far, this sounds like a rendering issue. But, I'm not entirely convinced just yet.

Getting the specific versions of PCL and OpenCV you have on your system may also be helpful.

If you decide to instrument the code, perhaps simply writing the point cloud and other images to disk would be good. That way we can manually inspect the pixel data. You can do this by instrumenting the o3d3xx-viewer code directly, or if you work within a ROS framework, you can use the o3d3xx_file_writer_node. Instructions to do that can be gleaned from the first part of this article. Directly instrumenting o3d3xx-viewer would probably be better as this is would keep the debugging very close to where we are seeing the problem. However, using the established ROS tools would also give us some useful insight and be less effort on your part.

Now, this one, I'm just thinking out loud... For the point cloud the pixels are colored with the amplitude data and, of course, the amplitude images are a specifically the amplitude data. If these levels are low, the images may not appear. However, the colormaps that are being used would render them visual. This then leads me to the confidence data. Is there any chance all pixels are being flagged as bad? In that case the cloud would be full of NaN and the the 2D images would be 0. But, even in this case, the binary rendering of the confidence image would show up as all yellow.

Logs are written by default to /tmp. If you do a debug build (just edit the top-level CMakeLists.txt) the logging will get really verbose. However, most of the debugging info will be coming from the FrameGrabber as it parses through the bytes being returned from the camera. By running o3d3xx-hz we sort of already concluded that we are getting the data from the camera just fine. But, it may give us a clue.

If you remain stuck, and you are willing, you can ship your camera to me and I will work with it directly to see if I can get to the bottom of this. It has me puzzled at the moment. Please keep me informed.

Started digging into this today... and the sensor is reporting valid depth images and points.  I haven't changed anything since Friday (came back to the same terminal I had open yesterday).  I'm able to view the data on rviz and o3d303-viewer... So let's close this out until I can repro in the future.

Had the issue happen again today.  Same issue with the viewer, but o3d3xx-hz was also timing out.  Was able to resolve the issue by rebooting the sensor.  Will keep an eye out, but a bit worried about what is causing the sensor to get into this state.  Would love some guidance on how to debug if this happens again.
Symptoms
$ /opt/libo3d3xx/bin/o3d3xx-viewer
^C
$ /opt/libo3d3xx/bin/o3d3xx-ls
* [1] id=456425781, name=Sample Application, description=
$ /opt/libo3d3xx/bin/o3d3xx-hz
Timeout waiting for camera!

Work Around
$ /opt/libo3d3xx/bin/o3d3xx-reboot

Oh, and it looks like we had a power failure over night which would explain why the sensor might have rebooted the first time I was having trouble.

@bigcmos In case of an under/over voltage the camera is going into an error state. You can check the LEDs on the sensor when they are blinking this means an error condition occurred. You can check the Operation instructions on page 16 for the blink codes.

For debugging purposes you can request the camera trace logs by XML-RPC the method is called getTraceLogs you have to provide one integer parameter amount of log lines when providing -1 you'll get all logs in the buffer
You can request the logs with curl
curl --data "method=getTraceLogs&params=[-1]" http://<IP_ADDRESS>/api/rpc/v1/com.ifm.efector/

The result looks like this
$ curl --data "method=getTraceLogs&params=[-1]" http://<IP_ADDRESS>/api/rpc/v1/com.ifm.efector/

Response
{
    "error": null,
    "id": null,
    "result": [
        "T: 8.2632, P: 715,  C: WARN,  S: iom,  M: Program starting ...",
        "T: 8.2631, P: 711,  C: WARN,  S: qt_dbus_web_bridge,  M: Starting ...",
        "T: 8.3676, P: 715,  C: WARN,  S: iom,  M: DIAGC_DBUS_EVENT_VFE_ON_ALARM",
        "T: 8.3702, P: 715,  C: WARN,  S: iom,  M: DIAGC_DBUS_EVENT_VFE_ON_ALARM",
        "T: 9.0392, P: 737,  C: WARN,  S: gecco,  M: Starting ...",
        "T: 9.1180, P: 732,  C: WARN,  S: imager,  M: Starting ...",
        "T: 15.0267, P: 737,  C: WARN,  S: gecco,  M: Imager is available again",
        "T: 15.0291, P: 732,  C: WARN,  S: imager,  M: LRAE is available again",
        "T: 15.0338, P: 732,  C: WARN,  S: imager,  M: void ifm::ImageAcquisition::requestConfigurationChange()",
        "T: 15.0710, P: 732,  C: WARN,  S: imager,  M: void ifm::ImageAcquisition::requestConfigurationChange()",
        "T: 15.0852, P: 732,  C: WARN,  S: imager,  M: void ifm::ImageAcquisition::requestConfigurationChange()",
        "T: 15.4165, P: 737,  C: WARN,  S: gecco,  M: Finished imager configuration"
    ]
}

<form method='post'>id: <input name='id' type='text' value='1'>
(JSON-RPC id, will directly be copied to answer-msg)

method: <input name='method' type='text'>
(e.g. org.freedesktop.DBus.Introspectable.Introspect, org.freedesktop.DBus.ListNames)
params: <input name='params' type='text' value='[]'>
(The bridge now support minimal type-convertion ... //FIXME: atm there are still some parts missing for non-primitiv data ...)

<input type='submit'>
</form>

methods:

com.ifm.efector.getParameter(s parameterName) -> (is) status, s parameterValue

com.ifm.efector.getAllParameters() -> (is) status, a{sv} parameterMap

com.ifm.efector.getSWVersion() -> (is) status, a{sv} versionMap

com.ifm.efector.getHWInfo() -> (is) status, a{sv} versionMap

com.ifm.efector.getClientCompatibilityList() -> (is) status, a{s} compatibilityList

com.ifm.efector.getApplicationList() -> (is) status, aa{sv} applicationList

com.ifm.efector.requestSession(s password, s requestedSessionID) -> (is) status, s sessionID

com.ifm.efector.reboot(i rebootType) -> (is) status

com.ifm.efector.getActiveDataConnections() -> (is) status, aa{sv} connectionList

com.ifm.efector.systemCommand(s command, s input) -> (is) status, s output

com.ifm.efector.switchApplication(i applicationIndex) -> (is) status

com.ifm.efector.ioSwitchApplication(i applicationIndex) -> (is) status

com.ifm.efector.ioTeachFirstModel() -> (is) status

com.ifm.efector.getTraceLogs(i nLogs) -> (is) status, as logs

com.ifm.efector.doPing() -> (is) status, s runlevel

com.ifm.efector.startServiceReportReadOut(i timeout) -> (is) status

com.ifm.efector.stopServiceReportReadOut() -> (is) status

com.ifm.efector.getServiceReportPassedSlots() -> (is) status, a{s} passedSlots

com.ifm.efector.getServiceReportFailedSlots() -> (is) status, a{s} failedSlots

com.ifm.efector.getServiceReportData(u id, s slotName) -> (is) status, ay resultData

com.ifm.efector.getApplicationStatisticData(u id) -> (is) status, s resultData

org.freedesktop.DBus.Properties.Get(s interface_name, s property_name) -> v value

org.freedesktop.DBus.Properties.Set(s interface_name, s property_name, v value) ->

org.freedesktop.DBus.Properties.GetAll(s interface_name) -> a{sv} values

org.freedesktop.DBus.Introspectable.Introspect() -> s xml_data

org.freedesktop.DBus.Peer.Ping() ->

org.freedesktop.DBus.Peer.GetMachineId() -> s machine_uuid

Thanks for the great info.  Haven't had an issue since then.  Closing this out.


Unable to start CodeNarc server, Reason: unknown

Unable to start CodeNarc server: {"status":1,"stdout":"","stderr":"","childJavaProcess":{"_events":{},"_eventsCount":2,"_closesNeeded":1,"_closesGot":1,"connected":false,"signalCode":null,"exitCode":1,"killed":false,"spawnfile":"java","_handle":null,"spawnargs":["java","-Xms256m","-Xmx2048m","-cp",""c:\Users\username\.vscode\extensions\nicolasvuillamy.vscode-groovy-lint-1.7.5\server\node_modules\npm-groovy-lint\lib\java\CodeNarcServer.jar;c:\Users\username\.vscode\extensions\nicolasvuillamy.vscode-groovy-lint-1.7.5\server\node_modules\npm-groovy-lint\lib\java\*"","com.nvuillam.CodeNarcServer","--server"],"pid":7640,"stdin":null,"stdout":null,"stderr":null,"stdio":[null,null,null]}}
["--server"]
GroovyLint: Error running CodeNarc:
npm-groovy-lint error: Fatal error while calling CodeNarc
Reason: unknown
undefined
(node:1908) UnhandledPromiseRejectionWarning: Error: getaddrinfo ENOTFOUND api.amplitude.com
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26)
(Use Code --trace-warnings ... to show where the warning was created)
(node:1908) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
(node:1908) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I get the error when I open a groovy file in VSCode and right-click "Format document". The log starts with "Start analyzing" then my filename, followed by the error.
Let me know what other info you need. Thanks.

I had this issue on Windows 10, so the memory limit suggested to me a 32-bit vs 64-bit issue.
I ran the spawn command manually with only -Xmx1024m (1024MB) and it ran fine.
Turns out I had JAVA_HOME set to an x86 JRE rather than an x64 one. Updated my path to point to the the [Adoptium x64 JRE] (https://adoptium.net/temurin/releases/?version=11) and it runs without error.
Still can't get it to format my gradle file though 😭

Removing the 32bit version of java and installing the 64bit version fix this issue for me.

@rba1-source  this is fixed in newest release v3.0.0, thanks to the great job of @stevenh :)
Please can you confirm it works well for your case now ?

If yes, please rate the app -> https://marketplace.visualstudio.com/items?itemName=NicolasVuillamy.vscode-groovy-lint&ssr=false#review-details
If not, please reopen the issue and we'll check :)


chore: project-controller production update

This update introduces to production the support for templatizing resolverRef param values, as implemented here:
https://github.com/konflux-ci/project-controller/pull/109

I confirmed it to be working in production.
Given this template:
...
  - apiVersion: appstudio.redhat.com/v1beta2
    kind: IntegrationTestScenario
...
    spec:
...
      resolverRef:
        params:
          - name: url
            value: 'https://github.com/konflux-ci/build-definitions'
          - name: revision
            value: "{{.version}}"
          - name: pathInRepo
            value: pipelines/enterprise-contract.yaml
        resolver: git

We get this in integration test scenarios:
apiVersion: appstudio.redhat.com/v1beta2
kind: IntegrationTestScenario
...
spec:
...
  resolverRef:
    params:
    - name: url
      value: https://github.com/konflux-ci/build-definitions
    - name: revision
      value: v1.0.0
    - name: pathInRepo
      value: pipelines/enterprise-contract.yaml
    resolver: git

/lgtm


update error_analysis.promptadd test_agent3.py

Updated error_analysis.prompt, adding score_info to allow users to add any metric scores.
Created test_agent3.py with a function that takes in failure cases and chain analysis.

The prompt structure, input and text are almost exactly the same as the latest version in the branch.
We need to iterate on the prompt itself, this is highly important. But let's reopen it when we will start the experiment phase and see the issues


[OTHER]

Hi
Brand new RPi3 with fresh recommended install.
Camera works with hello and test commands in terminal.
when trying to run this code:
from picamera2 import Picamera2
picam2 = Picamera2()
config = picam2.create_video_configuration()
picam2.configure(config)
picam2.start()
I get this back and nothing happens
[0:05:19.105034346] [1741]  INFO Camera camera_manager.cpp:299
libcamera v0.0.4+22-923f5d70
[0:05:19.219381491] [1743]  INFO RPI raspberrypi.cpp:1476 Registered
camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media3
and ISP device /dev/media1
[0:05:19.244800597] [1741]  INFO Camera camera.cpp:1028 configuring
streams: (0) 1280x720-XBGR8888
[0:05:19.245670478] [1743]  INFO RPI raspberrypi.cpp:851 Sensor:
/base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format:
1920x1080-SGBRG10_1X10 - Selected unicam format: 1920x1080-pGAA
Any ideas how to get it working?

Read the documentation. https://datasheets.raspberrypi.com/camera/picamera2-manual.pdf
You need a preview running since its event loop drives the camera. See section 2 for the basics.
To capture videos see section 7 in the manual.


ProfitBricks CLI running under scheduled task

I've been working the the CLI in order to automate the allocation of our VM's and while all the commands so far appear to be working just fine, I'm running into an issue while scheduling some of the  tasks. Because the CLI set up creates the .auth file in the users home directory, it appears that if you create a scheduled task to run under that same users context, it will not be able to reference the ProfitBricks CLI/Module and/or the .auth file, which causes the command to not be successful.
Is there anyway to call the CLI or reference the authentication file another way?

Hello @k3n85 - I'm not sure I understand. You should be able to run the profitbricks CLI from any location as long as the .auth file is in the home directory of the user running the command. Can you provide an example of the error(s) you are receiving?

I currently have a scheduled task (running as domain\admin) which has the .auth file generated and working while I am logged in (start/stop commands work fine). If I schedule to bat file with the start command, then log off, I get the following error in the logging (start.bat > log.txt 2>&1):
C:\Windows\system32>profitbricks server start --datacenterid 9a599a02-bad0-4a09-8fd6-d49105593a77 -i b1f8c21b-3924-4162-8270-4aef49fa5ec3
'profitbricks' is not recognized as an internal or external command,
operable program or batch file.
C:\Windows\system32>END
'END' is not recognized as an internal or external command,
operable program or batch file.
My thought it something to do with the scheduled task not being able to see certain Env. Variables.
User Env Var for PATH: C:\Users\Administrator\AppData\Roaming\npm
System Var for PATH: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0;C:\Program Files\nodejs;C:\Program Files (x86)\PuTTY\
Thoughts?

Looks like I may have found the issue, after adding "C:\Users\Administrator\AppData\Roaming\npm" into the "System Environment Variables" PATH, the task was able to complete successfully even though the task is scheduled under a user, not system.


Expand column doesn't work properly

This seems to be fixed, can you please check: http://w2ui.com/web/demos/#/grid/3

Closing issue: no response


Extra params to the "create replication group" method

Also added new outputs such as the primary endpoint address and port.

thanks @gservat !


[WIP] Ignore relativeness in patterns

Fixes #6.
WIP as I'm not sure how to test this as it's more of a Chokidar thing right?

I guess I gotta add a test for Coveralls to be happy!

Actually this won't solve the problem. See https://github.com/avajs/ava-files/issues/6#issuecomment-255593968 for more background. Sorry, should have done more research before opening the issue.

No problem, I'll see about updating my PR to fix the issue.

ping :)

Completely forgot about this. I just put it on my todo list for this week, thanks for reminding me.

Done! If it looks good I can squash before merge.

Squashed.

Looks good, still needs a test though 😉

Done!

:shipit:


feat: derive Clone for KeyPair and XKey

Feature or Problem
Allow KeyPair and XKey structs to be cloned. We have no technical reason not to do this, since it is trivial to copy out a private key from either key type and the underlying members of the struct are all already Clone.
Related Issues

Release Information
next
Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

I've been working around this by using an Arc<>, and since that's trivial I don't see a reason why we shouldn't allow this


Fix Edit collection page type errors

What this PR does / why we need it:
This PR adds a typecheck script to the lint script.
It also updates Typescript to the latest version so it can Types Union Props that was causing the error.
Which issue(s) this PR closes:

Closes #570

Suggestions on how to test this:
Step 1: Run the Development Environment

Execute npm i.
Navigate with cd packages/design-system && npm i && npm run build.
Return with cd ../../.
Ensure you have a .env file similar to .env.example, with the variable VITE_DATAVERSE_BACKEND_URL=http://localhost:8000.
Navigate with cd dev-env.
Start the environment using ./run-env.sh unstable.
To verify the environment, visit http://localhost:8000 and check your local Dataverse installation.

Step 2: Test the fix
Change something in the code that will throw a type error and then run npm run lint to validate that shows the error.

coverage: 97.754% (+0.1%) from 97.634%
when pulling 9c097339d0cfc971a63a60e43970eda662ef04c0 on fix/545-edit-collection-page-type-errors
into 66d2a60da1575af789e72209eeaf7e63051a7f91 on develop.

tested - looks good