Error compiling for board Teensy 4.1 when including Ros

**Issue: **
Error compiling for board Teensy 4.1 when including ros.h
**Environment: **
Arduino  1.8.13
Teensyduino 1.57
Windows 10
Error
Arduino: 1.8.13 (Windows 10), TD: 1.57, Board: "Teensy 4.1, Raw HID, 600 MHz, Faster, US English"

In file included from C:\Users\andre\OneDrive\Documents\Arduino\libraries\Rosserial_Arduino_Library\src/ros.h:43:0,

                 from C:\Users\andre\OneDrive\Documents\Projects\RobotLA\arduino-code\on_board\on_board.ino:1:

C:\Users\andre\OneDrive\Documents\Arduino\libraries\Rosserial_Arduino_Library\src/ArduinoHardware.h:67:33: error: expected ')' before '*' token

     ArduinoHardware(SERIAL_CLASS* io , long baud= 57600){

                                 ^

C:\Users\andre\OneDrive\Documents\Arduino\libraries\Rosserial_Arduino_Library\src/ArduinoHardware.h:49:26: error: 'usb_serial_class' has not been declared

     #define SERIAL_CLASS usb_serial_class

                          ^

C:\Users\andre\OneDrive\Documents\Arduino\libraries\Rosserial_Arduino_Library\src/ArduinoHardware.h:88:18: note: in expansion of macro 'SERIAL_CLASS'

     void setPort(SERIAL_CLASS* io){

                  ^

C:\Users\andre\OneDrive\Documents\Arduino\libraries\Rosserial_Arduino_Library\src/ArduinoHardware.h:49:26: error: 'usb_serial_class' does not name a type

     #define SERIAL_CLASS usb_serial_class

                          ^

C:\Users\andre\OneDrive\Documents\Arduino\libraries\Rosserial_Arduino_Library\src/ArduinoHardware.h:114:5: note: in expansion of macro 'SERIAL_CLASS'

     SERIAL_CLASS* iostream;

     ^

C:\Users\andre\OneDrive\Documents\Arduino\libraries\Rosserial_Arduino_Library\src/ArduinoHardware.h: In constructor 'ArduinoHardware::ArduinoHardware()':

C:\Users\andre\OneDrive\Documents\Arduino\libraries\Rosserial_Arduino_Library\src/ArduinoHardware.h:79:7: error: 'iostream' was not declared in this scope

       iostream = &Serial;

       ^

C:\Users\andre\OneDrive\Documents\Arduino\libraries\Rosserial_Arduino_Library\src/ArduinoHardware.h: In copy constructor 'ArduinoHardware::ArduinoHardware(ArduinoHardware&)':

C:\Users\andre\OneDrive\Documents\Arduino\libraries\Rosserial_Arduino_Library\src/ArduinoHardware.h:84:13: error: 'class ArduinoHardware' has no member named 'iostream'

       this->iostream = h.iostream;

             ^

C:\Users\andre\OneDrive\Documents\Arduino\libraries\Rosserial_Arduino_Library\src/ArduinoHardware.h:84:26: error: 'class ArduinoHardware' has no member named 'iostream'

       this->iostream = h.iostream;

                          ^

C:\Users\andre\OneDrive\Documents\Arduino\libraries\Rosserial_Arduino_Library\src/ArduinoHardware.h: In member function 'void ArduinoHardware::setPort(int*)':

C:\Users\andre\OneDrive\Documents\Arduino\libraries\Rosserial_Arduino_Library\src/ArduinoHardware.h:89:13: error: 'class ArduinoHardware' has no member named 'iostream'

       this->iostream = io;

             ^

C:\Users\andre\OneDrive\Documents\Arduino\libraries\Rosserial_Arduino_Library\src/ArduinoHardware.h: In member function 'void ArduinoHardware::init()':

C:\Users\andre\OneDrive\Documents\Arduino\libraries\Rosserial_Arduino_Library\src/ArduinoHardware.h:103:7: error: 'iostream' was not declared in this scope

       iostream->begin(baud_);

       ^

C:\Users\andre\OneDrive\Documents\Arduino\libraries\Rosserial_Arduino_Library\src/ArduinoHardware.h: In member function 'int ArduinoHardware::read()':

C:\Users\andre\OneDrive\Documents\Arduino\libraries\Rosserial_Arduino_Library\src/ArduinoHardware.h:106:23: error: 'iostream' was not declared in this scope

     int read(){return iostream->read();};

                       ^

C:\Users\andre\OneDrive\Documents\Arduino\libraries\Rosserial_Arduino_Library\src/ArduinoHardware.h: In member function 'void ArduinoHardware::write(uint8_t*, int)':

C:\Users\andre\OneDrive\Documents\Arduino\libraries\Rosserial_Arduino_Library\src/ArduinoHardware.h:108:7: error: 'iostream' was not declared in this scope

       iostream->write(data, length);

       ^

Error compiling for board Teensy 4.1.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Any idea on what could be causing this?

issue closed ros_lib doesn't work on windows


[Accessibility]A11y__AzureDataStudio_CSVModifyColumns _Keyboard:Table Dropdown list is not accessible through keyboard.

Check out Keros! - Identify accessibility bugs before check-in and make bug fixing faster and easier.
GitHubTags: #A11yMAS; #A11yTCS; #MAS2.1.1; #A11y_AzureDataStudio; #Win32; #DesktopApp
Environment Details:
Application name: Azure Data Studio
Version: 1.9.0-insider (user setup)
Electron: 3.1.8
Node.js: 10.2.0
V8: 6.6.346.32
OS:MacOS Mojave 10.14.5
Additional Details:
Tool Name: Keyboard
MAS Reference:MAS2.1.1,
Repro Steps:
1.Launch the Azure Data Studio application.
2.Navigate to the Data services folder
3.Go to HDFS Folder
4.Navigate to CSV files folder
5.Right click on the files->Select option Create external table from CSV
6.Click on the "Next" button->Click on next button.
Actual:
Issue 1.when we Navigate through the CSVModifyColumns table drop down through keyboard and hit space bar to open it and try to navigate inside the drop down list but we are not able to navigate inside the drop down list by keyboard.
Expected:
Drop down list should be accessible through keyboard.
User Impact:
User with motor disabilities will find it difficult to navigate through the drop down.
Recommendation:
Please refer the following snippet link for fixes:
https://microsoft.sharepoint.com/teams/msenable/mas/Pages/browse-fixes.aspx
MAS Reference:
MAS2.1.1,MAS1.3.1
https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={8492c4eb-c179-40ae-8777-cd044ed725a2}
https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={54f28d1f-a2d1-4dcd-84e1-5c9b87e8aba4}
Attachment for Reference:
6070_[Accessibility]A11y__AzureDataStudio_CSVModifyColumns _Keyboard.pptx
Does this issue occur when all extensions are disabled?: Yes

This appears to be fixed in the latest build on master


Cannot read property 'item' of undefined. error after porting to new architecture of polymer App Toolbox

I am running iron-data-table on polymer comfortably.
Recently I was trying to port my code to the newly released App Toolbox architecture of polymer. I am having a strange problem now.
Getting the following console error on line 781 of iron-data-table.html:
Cannot read property 'item' of undefined
I have checked both (my previous code and the new) have the same versions and everything else is same. It must be because of PRPL pattern introduced in this App Toolbox, i.e. lazy loading elements. Because that is the only difference I see. If thats right, what is the right way to do it?
If you need any more info on the problem, let me know.
Thanks!

I remember having some problems in the past when I tried lazily import <iron-list> so it might indeed be related to that. I need to look into it and it would be awesome if you could provide a simple example app I could use to try it out.
Thanks!

I have reproduced this issue by creating a sample app by implementing iron-data-table in basic polymer template.
https://github.com/abhinavzspace/iron-data-table-issue
I have implemented the iron-data-table element at src/my-view1.html
Instructions are simple. Just run bower install and then run polymer serve.
Let me know if this helps.

Thanks for the sample app, the issue was pretty simple – I'll release the next beta shortly.

I just checked out the 1.0.0-beta2 version in the same sample app that I made. The iron-data-table is not getting styled properly, but there is no error on console this time.
It works perfectly when I preload the view1.html file.
I don't know. May be I missed something.

If you mean the default-styles.html, yeah they don't seem to work. The way how Polymer works (and this is based on my personal understanding of reading the code) is that reads the custom-style style elements as one of the first steps of the Polymer init phase. And AFAIK, it's done only once.
Tried quickly to find some issues/references to back me up on this on the Polymer Github site, but couldn't find anything. That said, if you move the import of default-styles.html to your index.html everything works.


Base for places365

Added necessary links and categories as a starting point for places365 https://github.com/pytorch/vision/issues/5347

Superseded by #5679.


What is the purpose of returned context when using synthetic data generation?

[X] I checked the documentation and related resources and couldn't find an answer to my question.
Your Question
what is unclear to you? What would you like to know?
When generating synthetic test data, RAGAS also returns the pieces of context that were used to generate the QA pairs. When evaluating a RAG system, I will be pulling other pieces of context/chunks and using those for evaluation. The chunks used are not the ones generated by the synthetic data generator. What is the purpose of the provided context chunks? Just to double check things?
Code Examples
This community speaks code. Share your code snippets to help us understand your question better.
Additional context
Anything else you want to share with us?

@dosu That is exactly what I was asking. If it's not used on evaluations, why is it returned? Is there any use case for those pieces of contexts?

Can we leave this open so someone has a chance to comment with a use case or confirmation on that? I understand your point, @dosu, I'm just trying to get some information that might not be available on your sources of responses.

Is there any update on this @jjmachan ? I am also confused by this, as are several of my colleagues. Since the evaluation metrics underline the term "retrieved contexts", it might be beneficial to clarify this, as for the time being, the generated contexts seem redundant.

Hi there, any update on this?


Make and example on how to use ENS domains

Check in ENS domains are support in the current version of web3swift
Prepare an example on how to send a transaction to an ENS domain

@Valter4578 Do you have a email or discord? Im looking to hire iOS devs that have experience regarding web3 swift.

@Valter4578 Do you have a email or discord? Im looking to hire iOS devs that have experience regarding web3 swift.

Hello, @ceobitch
You can write to my email<EMAIL_ADDRESS>

@Valter4578 thank you, i emailed you.


[Feature]: CFRoutes FQDN length is validated

Blockers/Dependencies
No response
Background
As a user
I want my route FQDN validated
So that have valid routes
Acceptance Criteria
GIVEN I have a route with a 253 character or less FQDN
WHEN I cf create-route
THEN I the route created successfully
GIVEN I have a route with a 254 character or more FQDN
WHEN I cf create-route
THEN I the route fails validation and is not created
Dev Notes
These same validations should be applied when a CFRoute is made via the k8s api

CC implementation reference - https://github.com/cloudfoundry/cloud_controller_ng/blob/4a23a419862ef9b7272f411a4435e33fc7305f30/app/messages/domain_create_message.rb
Also max length of each subdomain is 63. i.e. length of hostname should also be restricted to 63 characters (currently we are not enforcing this)
https://github.com/cloudfoundry/cloud_controller_ng/blob/4a23a419862ef9b7272f411a4435e33fc7305f30/app/messages/route_create_message.rb

/accepted


Issues #737, #723 - Optimizing/cleaning metrics, removing unnecessary plotting functions

Hey FYI, the new metrics don't work on gpu. Running pytest tests/test_end_to_end -k test_train --gpu fails on this line in BlissMetrics.update with "can't convert cuda:0 device type tensor to numpy":
conf_matrix = confusion_matrix(tgbool, egbool, labels=[1, 0])


debug: create "dev build" that sets gamemode to practice range and enables debugging UI

utilities/debug.opy lets you view any variable, see damage dealt, healing received, and resets cooldowns/deals 25 damage on pressing interact for convenience.

:tada: This PR is included in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Unable to update server

When running arkmanager update. everything seems good. But when it ends and I check if the server has been updated, I get the same old version number as before.
The version before:
thebierfontein@theBierfonteinServer:~$ arkmanager checkupdate
Running command 'checkupdate' for instance 'main'
Querying Steam database for latest version...
Current version:  1205880
Available version:  1210588
Your server needs to be restarted in order to receive the latest update.
Run "arkmanager update" to do so
The update
thebierfontein@theBierfonteinServer:~$ sudo arkmanager update
Running command 'update' for instance 'main'
Stopping server...
The server has been stopped
 Copying ARK world file                                            [   OK   ]
 Copying ARK profile files
<PHONE_NUMBER>1414022.arkprofile                                    [   OK   ]
<PHONE_NUMBER>5521683.arkprofile                                    [   OK   ]
<PHONE_NUMBER>3878058.arkprofile                                    [   OK   ]
<PHONE_NUMBER>6793021.arkprofile                                    [   OK   ]
<PHONE_NUMBER>8445892.arkprofile                                    [   OK   ]
Copying ARK tribe files
<PHONE_NUMBER>.arktribe                                             [   OK   ]
<PHONE_NUMBER>.arktribe                                             [   OK   ]
Copying GameUserSettings.ini                                      [   OK   ]
Copying Game.ini                                                  [   OK   ]
Compressing Backup                                                [   OK   ]
 Created Backup:  2016-07-04_13.43.03.tar.bz2
Performing ARK update ... The server is starting...
The server is now running, and should be up within 10 minutes`
Version check after update:
thebierfontein@theBierfonteinServer:~$ arkmanager checkupdate
Running command 'checkupdate' for instance 'main'
Querying Steam database for latest version...
Current version:  1205880
Available version:  1210588
Your server needs to be restarted in order to receive the latest update.
Run "arkmanager update" to do so
I feel like am doing something wrong, but I can't figure out what.

You don't need sudo to run arkmanager update as long as you are running as the user under which ARK is installed.
What is the output when you add --verbose to the update command-line?
i.e.:
arkmanager update --verbose

You're right, there's something wrong with Steam.
`thebierfontein@theBierfonteinServer:~$ arkmanager update --verbose
Running command 'update' for instance 'main'
Stopping server...
The server has been stopped
Copying ARK world file                                            [   OK   ]
Copying ARK profile files
76561198011414022.arkprofile                                    [   OK   ]
76561198045521683.arkprofile                                    [   OK   ]
76561198073878058.arkprofile                                    [   OK   ]
76561198116793021.arkprofile                                    [   OK   ]
76561198158445892.arkprofile                                    [   OK   ]
Copying ARK tribe files
1830223016.arktribe                                             [   OK   ]
1912826626.arktribe                                             [   OK   ]
Copying GameUserSettings.ini                                      [   OK   ]
Copying Game.ini                                                  [   OK   ]
Compressing Backup                                                [   OK   ]
Created Backup:  2016-07-04_14.02.27.tar.bz2
Performing ARK update
Redirecting stderr to '/home/thebierfontein/steamcmd/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...Created shared memory when not owner SteamController_Shared_mem
OK.
"@NoPromptForPassword" = "1"
Connecting anonymously to Steam Public...Logged in OK
Waiting for license info...OK
applicationmanager.cpp (1048) : Assertion Failed: Failed to write app state file /home/thebierfontein/ARK/steamapps/appmanifest_376030.acf
applicationmanager.cpp (1048) : Assertion Failed: Failed to write app state file /home/thebierfontein/ARK/steamapps/appmanifest_376030.acf
Update state (0x3) reconfiguring, progress: 0,00 (0 / 0)
Error! App '376030' state is 0x206 after update job.
applicationmanager.cpp (1048) : Assertion Failed: Failed to write app state file /home/thebierfontein/ARK/steamapps/appmanifest_376030.acf
applicationmanager.cpp (803) : Assertion Failed: m_bStateChangesSavedToDisk
The server is starting...
The server is now running, and should be up within 10 minutes`

Check that the files under /home/thebierfontein/ARK are owned by thebierfontein, and that write permission is granted.
i.e.
sudo chown -R thebierfontein /home/thebierfontein/ARK
sudo chmod -R u+rw /home/thebierfontein/ARK


[JS-to-C++ tests] Bulletproof teardowns

Make the code in test cases' tearDown functions resistant to failures in setUps. This avoids spurious errors like "reading the dispose property of a null object" after the real test failures.
This commit is a no-op for the successfully built tree, it's only intended to improve troubleshooting of test failures.

OK, I had to fix the suggestion, so that the code compiles.
Thanks for the review.


Rotate Image stream from camera in 90º

Hello
I just need to rotate the video stream from onde camera in 90º
I found this ...
camera:
- platform: onvif
host: <IP_ADDRESS>
name: IP cam
port: 8000
username: admin
password: 123456
extra_arguments: -vf "transpose=1"
But I'm not able to use this in the reolink cameras ....
Is there any way to perform this? Or can you please add this as a new feature for this integration ?
Thank you and best regards

Is there a reason you want to rotate the stream in software, instead of having the camera do it? I don't know about all the cameras, but most of the ones I have worked with have an option in their web interface that lets you rotate. Usually Flip/Rotation (for top to bottom rotation) and Mirror for (left to right rotation.)
You should be able to use a combination of these two to orient the camera correctly.

The Reolink cameras can't rotate the image/stream 90º in the reolink software or webconfig page .
And I can't rotate the camera physical in this particular case  the last option is to rotate the stream over the ONVIF integration if possible ....
Thank you


Add support OS versions on apple devices

Implemented supportedIosVersions on the iphone page and supportedIpadOsVersions on the ipad page.
The watchos page doesn't look appropriate for this compatibility table. That should instead be added on a future Apple Watches page.
Also fixed the wikipedia links that were obsoletes.
fixes #2411

while reading #3580 I noticed that you already suggested updating releasePolicyLink to https://en.wikipedia.org/wiki/IPhone#Models, while I update mine to https://en.wikipedia.org/wiki/List_of_iPhone_models#Supported.
They both looks ok, but which one should we keep as source (and the second one added in comment ?)

They both looks ok, but which one should we keep as source (and the second one added in comment ?) ?

I would use the second one, but pointing to another paragraph: https://en.wikipedia.org/wiki/List_of_iPhone_models#Release_dates. The first one can be dropped as it does not contain more info.


Don't set #![deny(warnings)] on the whole crate

deny(warnings) is generally considered to be a pretty strong anti-pattern0 because new warnings can be introduced, either by new versions of rustc or by new versions of dependencies, that the binary author may want to prevent but shouldn't prevent users from building from source. In this case, a newer version of chrono deprecated NaiveDateTime::from_timestamp, which ended up breaking my CI pipeline because josh is no longer able to build.
Generally, instead, it's better practice to deny specific warnings, or build with -D warnings in CI.

I ran into that problem myself a while ago. I still don't quite understand why a build breaking warning through a dependency change can happen with all dependencies pinned (including rustc) 🤔
But passing this from the outside via a flag does sound ok to me.


Fix security tests with partial permissions

Signed-off-by: Mohammad Qureshi<EMAIL_ADDRESS>Issue #, if available:
Description of changes:
The security tests added as part of #281 were failing but did not get reflected in the recent GitHub Action runs because the workflow was skipping the test since it did not find the security plugin in the _cat/plugins response (this still appears as a workflow pass which should also probably be updated). This change is to update the tests so that they work properly. Since the parent change was backported up to 1.1, the security test fixes will also be backported that far so all test are passing in all relevant branches.
CheckList:
[x] Commits are signed per the DCO using --signoff
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #294 (a5a87ab) into main (cb28e8f) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main     #294   +/-   ##
=========================================
  Coverage     78.65%   78.65%
  Complexity      217      217
=========================================
  Files           173      173
  Lines          6975     6975
  Branches        916      916
=========================================
  Hits           5486     5486
  Misses          999      999
  Partials        490      490

Impacted Files
Coverage Δ

.../kotlin/org/opensearch/alerting/core/JobSweeper.kt
71.50% <0.00%> (-0.50%)
:arrow_down:

...ain/kotlin/org/opensearch/alerting/AlertService.kt
79.02% <0.00%> (+0.48%)
: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 cb28e8f...a5a87ab. Read the comment docs.


If Swagger spec doesn't include a definition schema reference in a response, the generated client returns nil

Problem statement
I'm currently generating a client from a spec in which one of the API operations doesn't reference a response definition. The API still returns a response, but it is not accessible since the readResponse implementation simply does a return nil since there is no model for it to reference.
Is there a way to return a generic response in this case?
Swagger specification
2.0
Steps to reproduce
Generate client from existing Swagger spec with an operation whose "200" response does not include a "schema" property

people typically return a 204 for success responses that don't have content.


Phpbrew install is very slow.

Building docker image with phpbrew is very slow.
FROM ubuntu
...

Checking patch for php5.3.x on 64bit machine when intl is enabled.
Checking patch for openssl dso linking patch
Checking patch for php5.6 with openssl 1.1.x patch.
===> Building...
Build finished: 6.7 minutes.

This timing is on a quite powerful i7-10875H CPU. If this is expected it would be nice if phpbrew would print more verbose logs by default.

if you execute the phpbrew install command it offers some logs and more specifically the log file being used by the build process which you can tail for more details. Since it's a horribly verbose output it makes sense not to have it by default

The compilation speed is up to your hardware requirements.  Just be patient for compiling the PHP :).


SEND: update fee estimation

@lontivero @turbolay please correct me if I'm wrong, I did not check the code.


Do-Not-Merge: this is just used for testing

What this PR changes/adds
DO NOT MERGE THIS PR!!!
This PR only serves to test an integration test flow, it is not a "real" PR.
The "real" PR is #910.
Contributes #773
Checklist

[ ] added appropriate tests?
[ ] performed checkstyle check locally?
[ ] added/updated copyright headers?
[ ] documented public classes/methods?
[ ] added/updated relevant documentation?
[ ] added relevant details to the changelog? (skip with label no-changelog)
[ ] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

Codecov Report

Merging #1319 (76f11f1) into main (70271b5) will increase coverage by 0.14%.
The diff coverage is 70.13%.

@@            Coverage Diff             @@
##             main    #1319      +/-   ##
==========================================
+ Coverage   67.51%   67.66%   +0.14%
==========================================
  Files         717      724       +7
  Lines       15749    16013     +264
  Branches     1051     1069      +18
==========================================
+ Hits        10633    10835     +202
- Misses       4633     4694      +61
- Partials      483      484       +1

Impacted Files
Coverage Δ

...onnector/azure/blob/core/api/BlobStoreApiImpl.java
32.65% <0.00%> (ø)

.../dataplane/azuredatafactory/DataFactoryClient.java
0.00% <0.00%> (ø)

...atafactory/DataPlaneAzureDataFactoryExtension.java
0.00% <0.00%> (ø)

...ure/dataplane/azuredatafactory/KeyVaultClient.java
0.00% <0.00%> (ø)

...taplane/framework/DataPlaneFrameworkExtension.java
80.95% <71.42%> (+2.90%)
:arrow_up:

...redatafactory/AzureDataFactoryTransferManager.java
92.75% <92.75%> (ø)

...nnector/aws/dataplane/s3/DataPlaneS3Extension.java
100.00% <100.00%> (ø)

...ure/blob/core/validator/AzureStorageValidator.java
96.00% <100.00%> (+0.54%)
:arrow_up:

...tory/AzureDataFactoryTransferRequestValidator.java
100.00% <100.00%> (ø)

...redatafactory/AzureDataFactoryTransferService.java
100.00% <100.00%> (ø)

... and 5 more

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 70271b5...76f11f1. Read the comment docs.

closing this because the actual working PR #910 was already merged.


Please merge revision a0414390f9652e2b7cd212a0d1501c529946e344 into dev channel

@whesse @mit-mit @kasperl
Fixes source mapped stack traces for DDC applications served with pub.
Link dart_stack_trace_mapper.js
a0414390f9652e2b7cd212a0d1501c529946e344
This merged cleanly

@whesse did you do a full push today?

Yes, Bill did. There is a 1.24.0-dev.6.0 build.

OK; just checking, but looks like from the timestamps that this still needs to be merged though?

Yes, this commit is not in the dev.6.0 build, and has to be merged.

Merged to dev in revision 4417d85


Documentation type on https://www.polymer-project.org/2.0/docs/devguide/data-system

In "Using the MutableData mixin" category:
Missing space betwwen like and dom-repeate:
"This is true for most simple UI elements. MutableData is likely to be useful for complex reusable elements (likedom-repeat or iron-list), or for application-specific elements that hold complex state information."

Please submit such issues to the docs repo, and feel free to send PR's.

Sorry I didn't found repo, PR is open https://github.com/Polymer/docs/pull/1960


ERROR: error code -5

Hi,
I am using DIGITS 5.0-dev, while trying to run the caffe training model stage I am getting this error:
###ERROR: error code -5
log:
Memory required for data:<PHONE_NUMBER>
Creating layer bbox_loss
Creating Layer bbox_loss
bbox_loss <- bboxes-obj-masked-norm
bbox_loss <- bbox-obj-label-norm
bbox_loss -> loss_bbox
Setting up bbox_loss
Top shape: (1)
with loss weight 2
Memory required for data:<PHONE_NUMBER>
Creating layer coverage_loss
Creating Layer coverage_loss
coverage_loss <- coverage_coverage/sig_0_split_0
coverage_loss <- coverage-label_slice-label_4_split_0
coverage_loss -> loss_coverage
Setting up coverage_loss
Top shape: (1)
with loss weight 1
Memory required for data:<PHONE_NUMBER>
Creating layer cluster
NVIDIA-Caffe v15.14
DIGITS 5.1-DEV
In addition to above log, I am also adding the log from the command shell:
| _ / | | / |
| |) | | ( || | | | _
|/_|| || |__/ 5.1-dev
2016-12-03 06:03:03 [INFO ] Loaded 8 jobs.
2016-12-03 06:04:24 [20161203-060423-787f] [WARNING] Ignoring data_param.source ...
2016-12-03 06:04:24 [20161203-060423-787f] [WARNING] Ignoring data_param.backend ...
2016-12-03 06:04:24 [20161203-060423-787f] [WARNING] Ignoring data_param.source ...
2016-12-03 06:04:24 [20161203-060423-787f] [WARNING] Ignoring data_param.backend ...
2016-12-03 06:04:24 [20161203-060423-787f] [WARNING] Ignoring data_param.source ...
2016-12-03 06:04:24 [20161203-060423-787f] [WARNING] Ignoring data_param.backend ...
2016-12-03 06:04:24 [20161203-060423-787f] [WARNING] Ignoring data_param.source ...
2016-12-03 06:04:24 [20161203-060423-787f] [WARNING] Ignoring data_param.backend ...
2016-12-03 06:04:24 [20161203-060423-787f] [DEBUG] Network sanity check - train
2016-12-03 06:04:24 [20161203-060423-787f] [DEBUG] Network sanity check - val
2016-12-03 06:04:24 [20161203-060423-787f] [DEBUG] Network sanity check - deploy
2016-12-03 06:04:24 [20161203-060423-787f] [INFO ] Train Caffe Model task started.
2016-12-03 06:04:24 [20161203-060423-787f] [INFO ] Task subprocess args: "/home/ubuntu/caffe/build/tools/caffe train --solver=/home/ubuntu/digits/digits/jobs/20161203-060423-787f/solver.prototxt --gpu=0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 --weights=/home/ubuntu/caffe/models/bvlc_googlenet/bvlc_googlenet.caffemodel"
2016-12-03 06:04:49 [20161203-060423-787f] [ERROR] Train Caffe Model task failed with error code -5
My caffe output log:
caffe_output.zip
One factor to take into account , I am using a AWS server and needed to run digits like this:
xvfb-run ./digits-dserver
Not sure if this has to do with my issue.
Can anyone help me ?
Thanks in adavance.

In addition to above log, I am also adding the log from the command shell:

|   _ / | | / |
| |) | | ( || |  | | _
|/_|| || |__/ 5.1-dev
2016-12-03 06:03:03 [INFO ] Loaded 8 jobs.
2016-12-03 06:04:24 [20161203-060423-787f] [WARNING] Ignoring data_param.source ...
2016-12-03 06:04:24 [20161203-060423-787f] [WARNING] Ignoring data_param.backend ...
2016-12-03 06:04:24 [20161203-060423-787f] [WARNING] Ignoring data_param.source ...
2016-12-03 06:04:24 [20161203-060423-787f] [WARNING] Ignoring data_param.backend ...
2016-12-03 06:04:24 [20161203-060423-787f] [WARNING] Ignoring data_param.source ...
2016-12-03 06:04:24 [20161203-060423-787f] [WARNING] Ignoring data_param.backend ...
2016-12-03 06:04:24 [20161203-060423-787f] [WARNING] Ignoring data_param.source ...
2016-12-03 06:04:24 [20161203-060423-787f] [WARNING] Ignoring data_param.backend ...
2016-12-03 06:04:24 [20161203-060423-787f] [DEBUG] Network sanity check - train
2016-12-03 06:04:24 [20161203-060423-787f] [DEBUG] Network sanity check - val
2016-12-03 06:04:24 [20161203-060423-787f] [DEBUG] Network sanity check - deploy
2016-12-03 06:04:24 [20161203-060423-787f] [INFO ] Train Caffe Model task started.
2016-12-03 06:04:24 [20161203-060423-787f] [INFO ] Task subprocess args: "/home/ubuntu/caffe/build/tools/caffe train --solver=/home/ubuntu/digits/digits/jobs/20161203-060423-787f/solver.prototxt --gpu=0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 --weights=/home/ubuntu/caffe/models/bvlc_googlenet/bvlc_googlenet.caffemodel"
2016-12-03 06:04:49 [20161203-060423-787f] [ERROR] Train Caffe Model task failed with error code -5
Thanks again.

Hi ,
One update, trying to solve this issue I found that using ssh connection with options -Xi might solve the issue, but it did not. (just FYI)
(e.g.) ssh -Xi  ....

Are the Python bindings for OpenCV installed on your system (sudo apt-get install python-opencv)?

Hi,
Yes, it has python-opencv installed.

One thing to check.  It looked like from caffe_output you were running object detection.  This workflow required a python code for clustering.  However, this task was also trying to use multiple gpu.  Can you try running it with one gpu and see if it solves the issue?

I just run into the same problem as @JorgeVilchis. Exactly the same output etc. the only difference is that I'm running it locally and with only 1 GPU (the GPU's memory is big enough this is not the issue).
I did already some classification processes, that was fine. But with this obj. detection I just got stuck.
Any possible help/solution would be appreciated.


Coordination of fall out from Sonos 10.1

Hi everyone
So I'm back and will try and coordinate a new release that fixes the (most urgent) fall out from the Sonos 10.1 release, but I will need some help in getting an overview.
I merged #662 as a fix for #660.
Are there any other issues related to the Sonos 10.1 release. Probably the easiest way to see that it is related, is that  the issue started after the update.
Please post below.

There are no other issues related to that update but #662 will break with pre-10.1 firmware, I don't know if that is a problem.
I fixed it in a backwards compatible way in amelchio/pysonos#13 (though I now see that I made a typo in the comment).

Hello, can you please also consider adding pull request #589 to the new release, since I tend to really forget to do this changes manually when a new version is released.

@amelchio would you consider making a PR for you backwards compatible approach on top of current master, then I will pull that right away. Remember to put comments in there about what should be removed in the future (say a year from now) when everyone should have upgraded.

@maru-sama I will have a look tonight and see about including it.

Sorry, there actually is another issue: certain favorites started to break music_library.get_sonos_favorites(). A traceback is here, with steps to reproduce a little bit further down.
I am not making PRs, just wanted to give a heads up since I already handled the 10.1 update in my fork.

Ok. So I have very little time to work on this. I will make time to review and pull PR's but I will not have time to work on fixes. So if anyone wants to work on the issue @amelchio mentioned, fell free to dive in.
@amelchio I didn't quite understand. Is there also a fix for the favorites issue in your fork?

I think, a little bit wiser from previous experience, I will not pull any large functionality additions in for this release, since they should be tested more and this should get out quickly.

This is my fix. I assume just ignoring the entry is not up to your standards and I do not want to spend time on a more complete solution.
--- a/pysonos/data_structures_entry.py
+++ b/pysonos/data_structures_entry.py
@@ -49,9 +49,12 @@ def from_didl_string(string):
                 cls = _DIDL_CLASS_TO_CLASS[item_class]
             except KeyError:
                 raise DIDLMetadataError("Unknown UPnP class: %s" % item_class)
-            item = cls.from_element(elt)
-            item = attempt_datastructure_upgrade(item)
-            items.append(item)
+            try:
+                item = cls.from_element(elt)
+                item = attempt_datastructure_upgrade(item)
+                items.append(item)
+            except DIDLMetadataError as ex:
+                _LOG.info("Ignored '%s' on %s", ex, XML.tostring(elt))
         else:
             # <desc> elements are allowed as an immediate child of <DIDL-Lite>
             # according to the spec, but I have not seen one there in Sonos, so

@amelchio thanks

Ok. I'll be short circuiting the process a little bit to get things fixed in a hurry. There seem to be more things broken, I will update them directly in master and keep everyone informed about what was broken here, so that you can test and review the changes.
At least so far it seems that also player_info is broken.

Ok. So I got all unit tests to pass and did some corrections to make the integration tests pass, because if I'm going to work on the sonos favorites thing, it would be nice to do it by adding an integration test for it, and so I neede them to run. I also made a few tweaks to cut the integration test time down from ~113s to ~65s, which improves the test time of the entire suite.

Hi, please do not forget to take a look at #589 for the release as well.

@maru-sama I look a little into it and I would rather not do that. We have once before been burned by integrating features just before release and futher more, this may conflict with some of the work around the alternative events implementation. So I will do a release as soon as I have favorites working. Then integrate as much work as I can (including this) and then do a new release after the testing period. Sorry.

Ok. So I got all unit tests to pass and did some corrections to make the integration tests pass, because if I'm going to work on the sonos favorites thing, it would be nice to do it by adding an integration test for it, and so I neede them to run. I also made a few tweaks to cut the integration test time down from ~113s to ~65s, which improves the test time of the entire suite.

I just committed a fix for the favorites issue. It is known from earlier, that favorites them selves might not have a resource (which is received in a res tag), which is what makes them playable. In order to play them you need to go via their references. So the code accounted for this res tag not being there, but it didn't account for the res tag being there but being empty, which is what apparently happens now.

Since the only things committed recently are bug fixes, I'm about ready to try and do a release and I will in about 30 min or so. If anyone sees this real time and wants to test, that would be great.

soco.discover() works again.
Version 0.16 installed by pip:
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import soco
>>> soco.__file__
'/usr/local/lib/python3.6/dist-packages/soco/__init__.py'
>>> soco.__version__
'0.16'
>>> soco.discover()
set()

Latest version pulled directly from github:
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import soco
>>> soco.__file__
'/home/tim/GIT-STUFF/SoCo/soco/__init__.py'
>>> soco.__version__
'0.16'
>>> soco.discover()
{SoCo("<IP_ADDRESS>"), SoCo("<IP_ADDRESS>"), SoCo("<IP_ADDRESS>"), SoCo("<IP_ADDRESS>"), SoCo("<IP_ADDRESS>"), SoCo("<IP_ADDRESS>"), SoCo("<IP_ADDRESS>"), SoCo("<IP_ADDRESS>")}
>>>

The latest commit on GitHub has version 0.16 specified in init.py.  Not sure if that should be 0.17 yet.

@tksunw thanks for testing. Great that it work for you.
No, I haven't made the release yet, so the release version number just hasn't been updated yet.

@amelchio the favorites issue is now fixed in master as well. Thanks for mentioning it.
Let's hope that was the last of he fall out and close this.


[5.10] Revert "Handle pattern as editor placeholder"

Cherry-pick #2183 into release/5.10

Explanation: It was decided to nto introduce more place holder types, but rather reduce them. This reverts the PR that introduced more types
Scope: SwiftSyntaxParser
Risk: Low, as it's introduced right before the 5.10 cut. This reverts it back to the same state as 5.9.
Testing: Passes the current test suite
Issues: rdar://114896000 rdar://115028807
Reviewer: Alex Hoppen @ahoppen

@swift-ci please test


Install galaxy-ml tools on usegalaxy.org

From #60, which added them to Test.
Also slipping in a lint fix for the Transit tool file.

@galaxybot deploy this


Bug/Accident: Surrealist freeze with 10s of thousands of databases 😄

Describe the bug
I accidentally created more databases than I wanted, but in turn, run into an interesting issue where the Surrealist strait freezes up, and even after waiting a few minutes, it remains unusable. In my case, I had made about 50k schemaless tables, and I can see that the application tries to fetch the schema for all tables one by one, thus dealing with a lot of work that blocks user interaction.
Steps to reproduce

Make 1000+ tables, ideally 10k+
Open the database with Surrealist
Try to click around the navigation
Try to execute a query

Expected behaviour
While 50k tables are not intended, a few thousand tables should not cause UI application issues, as the application can only display one table at a time anyway.

[X] I have searched the existing issues

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hey! Surrealist isn't made to support tens of thousands of namespaces, databases, or tables at this time. I'll keep making performance improvements over time so who knows one day it will be supported 🙂
Based on your comment I did improve the batch fetching of tables, so that might already make a slight difference!

Nice! I can't wait to make more tables by mistake. Of course, this is more of a funny accident report than a severe bug, but I figured it would be worth letting you know that it can happen. One other thing I think that could help is to add pagination on the tables sidebar; that way when there are just too many tables, at least the impact can be limited to one page worth only.


Bump hashbrown to 0.11.2

This makes the dependency even to hnsw with hashbrown's latest release

Thanks. It's another vote that we resolve this, I think. PR #181 covers this.

Thanks. It's another vote that we resolve this, I think. PR #181 covers this.

damn I was in a hurry and didn't look at the open PR, thanks!


ASG minSize

Hi,
Is there a reason why ASG minSize cannot be 0?
We have a use case of having ASGs with 0 node and scale up only when a job scheduled to that specific ASG. This help us reduce the cost of using high performance instances, so we pay only when needed.
If no objection, I can send in a PR with our changes.
Thanks

Escalator does not support asg with the size of 0
On 11 February 2019 at 20:47:50, Skydiator (notifications<EMAIL_ADDRESS>wrote:
Hi,
Is there a reason why ASG minSize cannot be 0?
We have a use case of having ASGs with 0 node and scale up only when a job scheduled to that specific ASG. This help us reduce the cost of using high performance instances, so we pay only when needed.
If no objection, I can send in a PR with our changes.
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/atlassian/escalator/issues/143, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AgnxZf1qvu6QHy1VIPL-wYXOcN0RB1MBks5vMbrSgaJpZM4a00V8.

@ShmayaFrankel , thanks for your reply. I know it doesn't  but I want to know the reason behind it. I've modified Escalator to support ASG with 0 size. If this violates the implementation design then I don't bother sending in the MR. Thanks.

Hi @skydiator, glad to hear that you've been using Escalator!
Scaling down the ASG to a size of 0 is a planned feature for our use case as well. We are currently looking into it, and definitely welcome your pull request to scale down to an ASG of 0.

Escalator is awesome! ATM, I'm doing more testing with the changes. So far so good, will send in the PR as soon as I've done my testings.

Hi @skydiator, just wondering if you have any update on the PR for this? If you have any questions or problems, feel free to ask here and we'll try help best we can.

Created a PR for this. PR-148

Completed in #155


nuxt integration

Hello!
tl;dr

how do I create a global middleware for nest that applies nuxt middleware

hey guys I've been working on nuxt integration and you can see in this repo how's the stuff going, however I'm facing a little bit of an issue, I can call Nuxt middleware programatically and add it as an express middleware however this is causing it to catch all routes including the api ones, in order to stop that I need to load nuxt middleware basically at the end of the middlewares, how could I accomplish this for the whole application?
the way you add it to express is like this
import Nuxt from 'nuxt'
import express from 'express'

import api from './api'

const app = express()
const host = process.env.HOST || '<IP_ADDRESS>'
const port = process.env.PORT || 3000

app.set('port', port)

// Import API Routes
app.use('/api', api)

// Start nuxt.js
async function start() {
  // Import and Set Nuxt.js options
  let config = require('../nuxt.config.js')
  config.dev = !(process.env.NODE_ENV === 'production')
  // Instanciate nuxt.js
  const nuxt = new Nuxt(config)
  // Add nuxt.js middleware
  app.use(nuxt.render)
  // Listen the server
  app.listen(port, host)
  console.log('Server listening on ' + host + ':' + port) // eslint-disable-line no-console
}

start()

and I i'm using it pretty much like it
import { NestFactory } from '@nestjs/core';
import * as Express from 'express';
import { ApplicationModule } from './modules/app.module';

// tslint:disable-next-line:no-var-requires
const Nuxt = require('nuxt'); // for some reason typings don't pick it up fine as a default import

async function start() {
  const instance = new Express();
  // Import and Set Nuxt.js options
  const config = require('../nuxt.config');
  config.dev = !(instance.env === 'production');
  // Instanciate nuxt.js
  const nuxt = await new Nuxt(config);
  instance.use(nuxt.render);

  const app = NestFactory.create(ApplicationModule, instance);
  app.listen(3000, () => console.log('Application is listening on port 3000.'));
}

start();

and Like I say It does work but intercepts even the routes prefixed with /api like /api/users

@AngelMunoz
I think i found solution for your problem. You should pass nuxt middleware to express instance after making nest to run. I've checked it and seems to routes of nest are working properly.
server.ts
`import { NestFactory } from '@nestjs/core';
import * as Express from 'express';
import { ApplicationModule } from './modules/app.module';
// tslint:disable-next-line:no-var-requires
const Nuxt = require('nuxt');
async function start() {
const instance = new Express();
const config = require('../nuxt.config');
config.dev = !(instance.env === 'production');
const nuxt = await new Nuxt(config);
const app = NestFactory.create(ApplicationModule, instance);
app.listen(3000, () => console.log('Application is listening on port 3000.'));
instance.use(nuxt.render);
}
start();
`

@hawkend Yes that actually worked just fine! not sure if that's the correct way to do it but works thank you!

Problem back again.
Only Nest routes work:
`async function bootstrap() {
const nuxt = await new Nuxt(config);
config.dev = !(process.env.NODE_ENV === 'production');
if (config.dev) {
    new Builder(nuxt).build()
}

const app = await NestFactory.create(ApplicationModule);
await app.listen(8000);

app.use(nuxt.render);

}
bootstrap();`
Only Nuxt routes work:
`async function bootstrap() {
const nuxt = await new Nuxt(config);
config.dev = !(process.env.NODE_ENV === 'production');
if (config.dev) {
    new Builder(nuxt).build()
}

const app = await NestFactory.create(ApplicationModule);

app.use(nuxt.render);

await app.listen(8000);

}
bootstrap();`


vs"15" fix

nana is not compilable for Visual Studio 15.
This fixes it in c++defines.hpp.
This was not working because the _MSC_VER for VS15 exposes to 1910.

Oh!
Are you telling that the new version 1910 of the VC++ compiler which now is used in VS15 have the same error that 1900 (a known issue, tracked by an active bug)? And we need to expect that future version will always have that error?

I think it is the same bug reported here  https://connect.microsoft.com/VisualStudio/feedback/details/1403302/unresolved-external-when-using-codecvt-utf8
(From second last comment looks like it's been fixed)

yes, the bug is still not fixed in VS 15

Thanks a lot for your contribution, this PR has been merged into hotfix branch.


add iPhone/ARKit support

would love to see the same feature we have on vseeface to use AR (using phone ip) for face tracking

personally i use MeowFace on android, this would be huge for linux vtubers, hopefully it's possible!
maybe this will help you figure it out? https://github.com/StarfishHidari/neosvr-arkit

For the planned successor project to openseeface-gd, puppeteer, someone has already implemented iFacialMocap support.
Once I finish changes for #111 , development will shift to puppeteer.
Closing because other tracking backends will not be added to openseeface-gd, since the name is a bit too specific (OpenSeeFace is the tracker used). Adding other trackers would just be confusing.


Can this component support TCP protocol

Can this component support the TCP protocol? If so, what can I do? Thank you for your answer

Someone correct me if I'm wrong here, but no. Spring Cloud OpenFeign configures Feign clients which are HTTP clients.
If you need TCP transport, then have a look at RSocket https://rsocket.io/

Thank you for your answer. Are you the author of this component

Yes, Spring Cloud OpenFeign project provides Spring integration for OpenFeign that, in turn, uses HTTP clients under the hood.


es2015 preset proposal

I cannot use const in my use case. Would be very useful to support es2015.
Open to any ideas :)

Thanks for the suggestion, but I'm not interested in supporting anything older than ES2015. I suggest you fork and publish your own version ;)

no problem at all
thanks for the plugin anyway


Xeon E-2176G (Coffeelake 3x8 GT2)

We are having issues with :
Xeon E-2176G (Coffeelake 3x8 GT2)
Is it officially supported? Init itself is failing for now.

Filed by error

Yes, CFL is supported.
What is 'vainfo' output?


Add pre-exit prompt to save dirty file list if auto-save is disabled

When the user exits the application:

Is auto-save disabled? ->
Is the file list dirty? ->
Display prompt: "There are unsaved changes to the file list. Would you like to save before closing?" ->
a. "Yes": Attempt to save the file list to the current save file or open a Save As dialog if it's a new file.
b. "No": Exit the application.
c. "Cancel": Close the prompt.

Task completed in 28b85c5 - closing.


Supporting bullet point lists

Is it possible to support

very
important
bullet
point
lists

? :smile:
Maybe via Markdown source files or so?

You mean in the note?

If the note is the slide body: yes, please.

The black bar at the bottom is the note.

I assume by slide body you mean code. In which case I would say no it shouldn't support bullet point lists as that would break the code highlighter and how it splits the individual lines up

Thanks for the explanation.
Most of my code presentations look like this: "text, list, code, text, code, list, code, ...".
So having a way to show text and bullet point lists between code files would make this tool more interesting for me :)

@h4cc this repo is for a customized slide component with the functionality seen in the readme/demo. It's not a wholesale replacement for Spectacle. The intention is that when you need a slide that shows code you can use a CodeSlide rather than just a Slide, to get the enhanced experience on your slides that have code on them. Your lists/text slides should continue to use Spectacle's Slide component.

Yeah my slide deck for this kept switching between regular Slides and CodeSlides with the same code. If you jump back to the same loc where you left off it works well.


question about unfininshed in sample function

Hello @ruotianluo . Thanks for your code. I have a question about the below portion of the code:
            # stop when all finished
            if t == 0:
                unfinished = it != self.eos_idx
            else:
                it[~unfinished] = self.pad_idx # This allows eos_idx not being overwritten to 0
                logprobs = logprobs * unfinished.unsqueeze(1).float()
                unfinished = unfinished * (it != self.eos_idx)
            seq[:,t] = it
            seqLogprobs[:,t] = logprobs
            # quit loop if all sequences have finished
            if unfinished.sum() == 0:
                break

Here the end token is being replaced with the pad according to the calculation of unfinished from the previous timestep: it[~unfinished] = self.pad_idx, since you are using the unfinished computed from the previous timestep
As a result, when the current timestep predicts the eos, it will not be replaced by the pad_idx because the loop will break since the updated unfinished.sum() will be zero. So the seq matrix will save the eos rather than pad_idx. In your code, it does not matter because the eos is 0 anyways. But in my code, I set the eos to another value because of my application requirement. So how can I avoid the issue above? Can i just place the unfinished calculation at the begining of else, like this:
            if t == 0:
                unfinished = it != self.eos_idx
            else:
                unfinished = unfinished * (it != self.eos_idx)   # placed here rather than at the end
                it[~unfinished] = self.pad_idx
                logprobs = logprobs * unfinished.unsqueeze(1).float()

Thanks!

So you want the eos to be replaced by pad,  right?
If so,  your modification is correct


Repaired require for default .gemini.js and .gemini.json

I'm experimenting with a script that requires a dynamically computed .gemini.js (depends on node module for path to executable). However, when I ran Gemini I saw that it was getting a MODULE_NOT_FOUND error for .gemini.js despite it working earlier for .gemini.yml.
After some digging, I found that we were essentially running require('.gemini.js') which tells Node.js to look for a package named .gemini.js instead of the local file (i.e. ./.gemini.js). I have resolved that in this PR by moving to an absolute path for .gemini.js/.gemini.json.
In this PR:

Updated getDefaultConfig to return absolute path for non-YAML files

Notes:
We could use fs.readFile and JSON.parse/vm.runInContext (since fs.readFile resolves from process.cwd() but this is much simpler.

Gah, I forgot to point to stable

Oh, never mind. There's a stable documented in CONTRIBUTING.md but it doesn't exist =/
https://github.com/gemini-testing/gemini/blob/v3.0.2/CONTRIBUTING.md

Coverage decreased (-1.0%) to 75.572% when pulling 6a34899269a50e27d0c5b8e6169203933b8e2acd on twolfson:dev/fix.gemini.js.require.sqwished into ed2fae037eee6f7b15d053ae474e0ef91aaef5fd on gemini-testing:master.

Coverage decreased (-1.0%) to 75.572% when pulling 6a34899269a50e27d0c5b8e6169203933b8e2acd on twolfson:dev/fix.gemini.js.require.sqwished into ed2fae037eee6f7b15d053ae474e0ef91aaef5fd on gemini-testing:master.

Alright, I have addressed the comments and updated the PR:

Added YML absolute path resolution
Added tests for resolving a default config

Coverage decreased (-0.6%) to 77.489% when pulling 8d9e3c99bb720d9d9eb1d63fed0e299b0b5f3b12 on twolfson:dev/fix.gemini.js.require.sqwished into f28ea8e68a6eaa4b4228e975d7ce75ee4131df64 on gemini-testing:master.

@twolfson Thanks, but I was thinking about some unit-tests may be. And thats not a good idea to make getDefaultConfig public only for test purposes.
I'll take a look in a few days

Ah, alright. I think using unit tests will be too overwhelming for me.
With respect to the current status, it's possible to have the same result in functional without getDefaultConfig but we would have to set a distinct variable. For example:
// In `default-js/.gemini.js`
projectRoot: '/it/works/default-js'

// In our tests
process.chdir('default-js');
var config = new Config();
assert.deepPropertyVal(config, 'system.projectRoot', '/it/works/default-js');

However, I will leave the PR as is until your exploration with unit tests.

Closing in favor of https://github.com/gemini-testing/gemini/pull/442
@twolfson Sorry for long delay

Glad to hear it's been patched. Fwiw, #442 doesn't seem to have any tests to prevent this regression from recurring (i.e. nothing verifying default path is absolute) =/

Fwiw, #442 doesn't seem to have any tests to prevent this regression from recurring (i.e. nothing verifying default path is absolute) =/

https://github.com/gemini-testing/gemini/pull/442/files#diff-7cd03a08e3e1393e232f4490c33a335aR22

That line is a mock setup in the test, it doesn't verify that the actual config-reader code uses path.resolve =/
https://github.com/gemini-testing/gemini/pull/442/files#diff-435eaee6ef8a8a771ac5e6ca51dac9d6R26

Those tests will fail without that line. Take a look at this commit: https://github.com/gemini-testing/gemini/pull/442/commits/88de4a99868fcd56c608ae5e45dd430090875698

After playing around with it myself, I realized what is going on:

fs.readdirSync and proxyquire are emulating the filesystem and only defining absolute paths
getDefaultConfig must return an absolute path, otherwise it won't match the defined absolute path

As a heads up, while this works for now it will cause a maintenance tax any time the implementation is changed (e.g. moving to JSON.parse for JSON files will require a restructuring of the tests).
I should also note that that PR doesn't test .gemini.yml loading =/

And there's also no test for what happens when no config is found =/

Yep, we doesn't have 100% coverage. And we write tests when we see bug or on some code modification.
You can send PR if you wish.


”Nădăștia de Jos”, ”Nădăștia de Sus”, ”Ohaba Streiului”, ”Sâncrai”, ”Sântămăria de Piatră” are listed in the drop-down menu

Description:
When user writes ”Nădăștia de Jos”, ”Nădăștia de Sus”, ”Ohaba Streiului”, ”Sâncrai”, ”Sântămăria de Piatră” the locations appear in the drop-down menu next to the comune and the county witch is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Nădăștia de Jos"

Expected results
The location appears in the drop-down menu as "Sat Nădăștia de Jos, HUNEDOARA (CĂLAN)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Nădăștia de Sus"

Expected results
The location appears in the drop-down menu as "Sat Nădăștia de Sus, HUNEDOARA (CĂLAN)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Sâncrai"

Expected results
The location appears in the drop-down menu as "Sat Sâncrai, HUNEDOARA (CĂLAN)".

Step 8
Press "x" button.

Expected results
The location was deleted from the search bar.


Unable to export to stories in Rasa Interactive

Rasa version: 2.0.0.rc4
Python version: 3.7.7
Operating system (windows, osx, ...): Windows 10
Issue:  Unable to export conversation data to stories in interactive mode
Error (including full traceback):
Specify a proper file name eg stories.md

Command or request that led to error:
1. rasa interactive
2. Ctrl + C after conversation ended

The folder structure contains stories.yml and nlu.yml files in the data folder

Thanks for the issue, @amn41 will get back to you about it soon!
You may find help in the docs and the forum, too 🤗

hi @Aiodhan ! I just installed tried to reproduce this but was unable to.

running 2.0.0rc4 on python 3.7.6
created a fresh project with rasa init
tried many different combinations with rasa interactive , creating new NLU data, new stories, export and quit, just hitting ctrl+C twice.

Wasn't able to get this same error. Can you please share your project structure and the output of rasa --version ?

ah, I was using the 2.0.x branch rather than release. This is a duplicate of https://github.com/RasaHQ/rasa/issues/6935 and has been fixed :)


Setup message flashing for alerts

Set up template and css to display messages sent using Flask's flash() method. Will put it to use when working on #151
Closes #134

Will this also help with #26? I had trouble with that one before and ended up reading a bunch about flashing.

It will help with that. I just self-assigned #26.


Conditional caching not working as expected

I'm having issues with conditional caching. I've tried placing the middleware step to define
res.use_express_redis_cache both before all of my routes, and as a callback before cache.route in a GET request. Neither of these seem to prevent the responses being returned from Redis' cache.
Examples:
As prior middleware:
app.use(function(req, res, next) {
  res.use_express_redis_cache = false;
  next();
});
app.route(...)

In the get request:
app.route('/offers')
  .get(function(req, res, next) {
    res.use_express_redis_cache = false;
    next();
}, cache.route(ms('5ms')), ... )

Upon testing both of these, the page is clearly still caching requests to /offers (checking in redis-cli MONITOR)
Am I missing something here?

Hey mate,
Thanks for reporting this! I have updated the code on master af14fc2. I think it should work now. Let me know!
Cheers

Fixed it, thanks! :+1:

Cool, I'll tag a new version then. Cheers!


How can i cut from rgb or depth frames  to  create pointcloud？

I means cut from rgb or depth frames firstly,
then create  pointcloud  instead of "create pointcloud firstly  ,then cut ".
Because  only a few points need to be dealt     if  cut firstly  .

Hi @syly666  A depth image can be made more sparse (more black gaps) if the value of the Laser Power option is reduced, though it does not give you any control over the parts of the image that have their detail reduced.
You can also apply a 'depth clamp' to the data to control how far into the background the camera can observe.  The rs-align-advanced example program (which aligns depth with color) demonstrates this, with a slider that progressively removes and brings back the background as the slider is increased and decreased.
https://github.com/IntelRealSense/librealsense/tree/master/examples/align-advanced
On the depth image alone (not aligned with color), you can also set a minimum and maximum observable distance for the camera using a post-processing filter called a Threshold Filter (for example, setting a minimum distance of 0.7 meters and a maximum of 3 meters, and excluding all depth data outside of that range.  You can set the filter either in the Post Processing section of the RealSense Viewer's options side-panel or with scripting.

I mean : if rgb frame is 19201080  ,it can be created  2,073,600 points .
If i  crop it to 500300 ，it  only can be created 150000 points.
So how can i crop rgb or depth firstly  ，then create  pointclouds？
I mean from

to

You can crop the XY planes of an image by defining a 'bounding box' that excludes data from the image that it outside of the box.  A comment in the link below discusses the subject of defining a bounding box.
https://github.com/IntelRealSense/librealsense/issues/2016#issuecomment-403804157

Thank you for your answer，but  it is not crop rgb or depth frame firstly ，then create pointclouds.
it just creat pointcloud, then crop pointcloud.

Bounding boxes are not just for point clouds.   they can be defined for 2D images too.
https://github.com/IntelRealSense/librealsense/issues/2769
https://support.intelrealsense.com/hc/en-us/community/posts/360033272013/comments/360008045254

Thank you for your reply.
So it must " pc.calculate(depth_frame)"  firstly,then  crop?
I want to crop rgb frame (this rgb frame has been aligned to depth frame)firstly，then " pc.calculate(depth_frame)" .
Because  " pc.calculate(depth_frame)"  firstly will create too many points.

Bounding box programming is a subject that is outside of my experience, unfortunately.  I will seek guidance from another RealSense team member.
@dorodnic   Do you have some advice that you could provide about bounding box creation regarding the question above, please?   Thanks!

@dorodnic Do you have some advice that you could provide about bounding box creation regarding the question above, please? Thanks!

I apologise that you did not receive further comments about your question @syly666  - did you manage to resolve it in the meantime, please?

Case closed due to no further comments received.

//At present, I only generate the point cloud near the ROI region of the image by this method
//Where  "float minx,float miny,float minz,float maxx,float maxy,float maxz"  is the three-dimensional size of the image ROI
The three-dimensional size of the image ROI
typedef pcl::PointCloud<RGB_Cloud> point_cloud;
typedef point_cloud::Ptr cloud_pointer;
cloud_pointer PCL_Conversion(const rs2::points& points, const rs2::video_frame& color,float minx,float miny,float minz,float maxx,float maxy,float maxz) {
// Object Declaration (Point Cloud)
cloud_pointer cloud(new point_cloud);

// Declare Tuple for RGB value Storage (<t0>, <t1>, <t2>)
std::tuple<uint8_t, uint8_t, uint8_t> RGB_Color;

//================================
// PCL Cloud Object Configuration
//================================
// Convert data captured from Realsense camera to Point Cloud
auto sp = points.get_profile().as<rs2::video_stream_profile>();

cloud->width = static_cast<uint32_t>(sp.width());
cloud->height = static_cast<uint32_t>(sp.height());
//cloud->width = static_cast<uint32_t>(sp.width())*static_cast<uint32_t>(sp.height());
//cloud->height = 1;
cloud->is_dense = false;
cloud->points.resize(points.size());

auto Texture_Coord = points.get_texture_coordinates();
auto Vertex = points.get_vertices();

// Iterating through all points and setting XYZ coordinates
// and RGB values
for (int i = 0; i < points.size(); i++)
{
	//===================================
	// Mapping Depth Coordinates
	// - Depth data stored as XYZ values
	//===================================
	if (Vertex[i].x<minx || Vertex[i].x>maxx || Vertex[i].y > maxy || Vertex[i].y < miny || Vertex[i].z<minz || Vertex[i].z>maxz) continue;
	cloud->points[i].x = Vertex[i].x;
	cloud->points[i].y = Vertex[i].y;
	cloud->points[i].z = Vertex[i].z;

	// Obtain color texture for specific point
	RGB_Color = RGB_Texture(color, Texture_Coord[i]);

	// Mapping Color (BGR due to Camera Model)
	cloud->points[i].r = get<2>(RGB_Color); // Reference tuple<2>
	cloud->points[i].g = get<1>(RGB_Color); // Reference tuple<1>
	cloud->points[i].b = get<0>(RGB_Color); // Reference tuple<0>

}

return cloud; // PCL RGB Point Cloud generated

}

@MartyG-RealSense

Is the code above your solution please @syly666  or do you need further assistance with this case?

请您了解您的解决方案@syly666，或者您是否需要有关此案例的进一步帮助？

Thank you very much， I think my problem has been solved.

Thanks very much for the confirmation!


Dependencies needed by clang-tools

After doing a bit of digging into an issue recently, we noticed that clang-tools is depending on a few things, which may not always be needed (or at least it wasn't clear they would be after doing some initial exploration. In particular a recent CI log (comes from this build) seems to indicate libclang-cpp (in this case libclang-cpp12), libLLVM (in this case libLLVM-12), and the usual GCC and system libraries. Given this, it seems like it should be possible to cutdown the dependencies of clang-tools to this shortened list. Have not looked into other packages, but this may be the case elsewhere as well. Though please correct me if there are things we are overlooking here
cc @robertmaynard @dantegd

Currently running into the problem that the new conda support for pre-commit.ci is limited to 250MB and clang-tools is 623.1 MB - maybe this would help? Do you know how much it might? If not, could just the clang-format and required dependencies part be pulled off into a package that could be installed by itself? (that is, do you think it might be small enough to make it work a try).

build of local:--channel=conda-forge,clang-tools==12.0.1@1 for conda@default exceeds tier max size 250MiB: 307MiB
No!!! So close!!!! (Was 650 MB)

It's 144MB for me. Maybe they are not deleting the tarballs.

Is there a way to tell it to prune those when installing? I'm guessing it's in this part: https://github.com/pre-commit/pre-commit/blob/2ef29b7f95384f899ede86a370bf2a1c766095b4/pre_commit/languages/conda.py#L63-L71 that you could delete the tarballs that get downloaded, perhaps?

conda clean --tarballs right afterwards?

you can call conda clean -tip afterwards

To me it looks like it's only capturing the environment directory. When I try it locally, I get a conda-default directory produced by pre-commit of 232M; less than the reported size (and actually should have just slipped in under the limit, so not sure where the extra size is).
For sizes, three executables take up pretty much the whole 50MB bin directory, clang-tidy, clangd, and c-index-test. The rest of the size seems to be in lib, in pretty obvious libs (libLLVM-12.dylib, libclang-cpp.12.dylib, libclang.12.dylib).

Only c-index-test need libclang.12.dylib.

Yes, here are the sizes over 1MB:
bin:
35M	c-index-test
18M	clangd
11M	clang-tidy
1.3M	clang-doc
...

lib:
110M	../lib/libLLVM-12.so
70M	../lib/libclang-cpp.so.12
36M	../lib/libclang.so.12
12M	../lib/libstdc++.so.6.0.29
3.2M	../lib/libcrypto.so.1.1
...

Not seeing much that can be stripped there. If clang-tidy was pulled out, we could save a bit in bin, but likely not much/any in lib. Hmm, though, actually lib totals to 234M.
Oh, if we could drop libclang + c-index-test, that would be big.

I suggest creating a new package clang-format-12 that has just clang-format-12 that would depend on just libllvm-12 and libclang-cpp-12.

Does the build portion of clang-tools have to be duplicated or can files be picked/filtered out? I'm guessing this would be in this repo, just another package output?

You can pick files using https://github.com/conda-forge/gfortran_impl_osx-64-feedstock/blob/master/recipe/meta.yaml#L215-L216


[Proposal] Parsing from Flash/Disk/Transaction

With my current development i am facing a problem in which i cannot allocate enough memory to load from the file system a program that should fit on JerryScript.
Arduino 101 has 80kb of RAM (divided in two MCUs, so only 55kb are for Zephyr and JS), 256kb of ROM and 1MB of slow FLASH memory.
I store several javascript programs of different sizes on that flash which i load and run one after the other.
The current approach to load a javascript program is to copy it to memory and then call the parser.
jerry_parse (const jerry_char_t *source_p, /**< script source */
  size_t source_size, /**< script source size */
  bool is_strict) /**< strict mode */

That means that the whole code has to be loaded in memory in one go, so i have to allocate it.
That memory will be freed instantly after the parser has finished.
I am not sure how feasible would be to have a simple API to pass a function that will do the reading for jerryscript and implement the fread functionality on the port, abstracting the reading from the memory to a callback would allow us to load from disk bigger programs and save memory usage.

What would be the API for this? I think the challenge of this task would depend on it. Perhaps a readbyte / peekbyte / seek probably would be the smallest one, but also could be a considerable performance overhead.

I have an interesting idea. Most JS source files can be split into smaller files, which can be parsed / executed independently. E.g. an a.js could be split into a1.js a2.js, a3.js ... Would such splitting solve your problem?

Come to think of it, snapshot could also be a solution to this problem. Or is there a blocker for not using it?

Yes, the bytecode in snapshot can be interpretered in Flash. To futher reduce the memory, all strings can be converted into external magic strings. So that we don't need to load strings into the memory.

So does it solve your problem?

@zherczeg Snapshot doesn't really solve my problem. I don't have the snapshot functionality due lack of space, since i really need the eval and JavaScript parser, since you can evaluate commands from the web editor and retrieve values from the different pins and execute code stored in the browser to access different sensors and examples.
I could push all of that in snapshot format but the user can evaluate and run javascript programs in the command line, so i still need the parsing and evaluation.
My current development involves uploading the code into the file system from a browser and running it from disk. I also retrieve the code back from the device to the web editor so it is only stored currently in the flash file system.
I also have a command line from where you can edit the code and save before running from within the device.
I am currently trying to free some memory, or I will have to allocate less heap for Jerryscript. I am not sure what is the minimum Jerryscript can have to be functional.
Dividing in different JS will not solve my problem,  this is an education tool which the target group would not understand how to create a modular program yet,  since they learn it basically as a Sketch from Arduino but in JS. As far as I know, we don't also have a system call to run the next program anyway.
So i guess, it doesn't work for me 💃

Would it help if you would create a jerry string from the source code? This way you would not need extra memory besides jerry heap.

That would be a good first step.  Is the parser going up and down the program while parsing?
I actually should have a look to the code to see how unreasonable this question is.

Lua implements this using lua_Reader.

Static snapshot was introduced in #2239. The "core" of the code can be pre-complied and loaded/executed to/from the ROM so no need to load it into the RAM which saves a lot of memory. However, you cannot bypass the cost of the parsing of the incoming sources from the web editor but, you can use the "saved memory" for this purpose. IMO we can finally close this issue.


Add badges to readme

Questions
Answers

Description?
Add badges to readme

Type?
bug fix / improvement / new feature / refacto / critical

BC breaks?
no

Deprecations?
no

Fixed ticket?

How to test?

Hello ?

Ping @PrestaShop/committers

I can approve, but I just want to be sure that we need these badges :)

@nicosomb Same badges as https://raw.githubusercontent.com/PrestaShop/ps_facetedsearch/dev/README.md
Very useful to know quickly important informations about github repository

@Hlavtox and @nicosomb : don't forget the milestone my friends 😄


[besu] Deploy supplychain smart contract for IBFT

[besu] Deploy supplychain smart contract for IBFT

Update platforms/hyperledger-besu/configuration/roles/create/genesis/ibft role

Fixes #2174

To avoid errors, the genesis file generated in the task cannot be modified:
https://github.com/hyperledger/bevel/blob/main/platforms/hyperledger-besu/configuration/roles/create/crypto/ibft/tasks/main.yaml#L112
With the elimination of these tasks, the tests carried out with postman are successful.


Rename a few components for cross-platform consistency

We will be renaming a few React components in Thumbprint as part of our Q4 "Great Alignment" initiative. This will allow us to use consistent component naming across Figma, web, iOS, and Android.
What will be renamed?

We'll do this in a few phases to minimize the impact on our engineers.

Add "This component will be renamed" alerts to documentation pages for the components that will be renamed.
Share this list with front-end engineers.
Create a codemod (with tests) that will do the renames for us. (We can re-use a codemod that we have already created.)
A few days later, rename the components and classes:

Add aliases so that the old names temporarily continue to work.
Use the new names in the documentation.
Add "This component was recently renamed" notices in the documentation so that the search can find the old components.
Create 301 redirects for the old URLs.

Run the codemod in Thumbtack's codebase. Prioritize React changes over SCSS.
Two weeks later, re-run the codemod to catch any new instances of the old names.
Remove the aliases to the old component/class names. Release as a breaking change.
Two weeks later, remove the "This component was recently renamed" message.

Decided not the rename the CSS classes because it'd be high effort and low impact. We can revisit in the future if it is causing confusion. The React work is done.


Add definition for 2.1.6

Got that covered with an update to the first PR on the case https://github.com/sstephenson/ruby-build/pull/741

closing in favor of https://github.com/sstephenson/ruby-build/pull/741


Convert inches to centimeters

Description
1 inch = 2.54 centimeters
Input  : 5
Output : 12.7

Program added successfully :tada:
Thanks for your contribution :hugs:


feat: handle removal of chain and network in @shapeshiftoss/caip v5.0.0

Description
Handles the removal of chain and network in @shapeshiftoss/caip v5.0.0, and lets us locally yarn link @shapeshiftoss/caip with lib again.
It removes NetworkTypes and ChainTypes from everywhere except those as properties of AbstractAsset, which will be removed once https://github.com/shapeshift/lib/pull/688 is ready.
Whilst we are still updating lib, I've added a number of temporary convenience helpers to src/lib/utils.ts.
These will be removed once the removal of ChainTypes and NetworkTypes is complete across lib.
Notice

[x] Have you followed the guidelines in our Contributing guide?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[x] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)
Contributes to https://github.com/shapeshift/web/issues/1570 and https://github.com/shapeshift/lib/issues/556.
Risk
This accommodates a major bump of @shapeshiftoss/caip, and so we've touched a lot of code related to asset and chain strings. We should do a regression test before merging.
Testing
In particular, check that functionality relating to assets and accounts has no regressions.
Screenshots (if applicable)
N/A

Ops has regression tested this PR and found no breaking changes. Please retag if there are changes that happen to this PR.


NameError: name 'TimeDistributed' is not defined

This is a part of my code:
model = Sequential()
model.add(LSTM(units = 25, return_sequences = True, input_shape = (25, 2)))
model.add(Dropout(0.2))
model.add(LSTM(units = 25, return_sequences = True))
model.add(Dropout(0.2))
model.add(LSTM(units = 25, return_sequences = True))
model.add(Dropout(0.2))
model.add(LSTM(units = 25 ,return_sequences = True))
model.add(Dropout(0.2))
model.add(TimeDistributed(Dense(units = 2)))

Hi @bestazad could you please share what you are importing in your code ?
I think I can help you with this issue.

Use this code in your import section.
from keras.layers import TimeDistributed
this should solve the problem.


Option to auto start at endpoint when only one endpoint exists?

I currently only use a single endpoint (the default docker machine). When I login to Portainer it automatically takes me to the list of endpoints (a.k.a. "home"). This is great if you have multiple endpoints, but when you only have 1 it'd be great to log straight into that endpoint's Dashboard page instead.
Would it be possible to add a setting to do so? Maybe even enhance that option to auto login to any specific endpoint if you for example, have multiple endpoints, but only really use 1 the most often. Then you can still always just click the "Home" link in the list to get to that list of endpoints that you normally see when you first login.

Duplicate of https://github.com/portainer/portainer/issues/2138


Clean up Roadmap Year/Quarter Styles

Screenshots
Before:

After:

Steps to verify/test this change:

[ ] Verify changes work as expected on staging instance

Final Checks:

[ ] Verify successful deployment

This commit should address both issues

This should be fixed now


Update chat link in README.md

The link in the readme is dead. This seems to be a recurring problem. It happened in #4969, was resolved, and has occurred again. At minimum I think that either 1. The link in the readme is removed or 2. The link is updated to a be active.
Another solution (which I wholeheartedly agree with) proposed by @Granitosaurus in the now closed https://github.com/puppeteer/puppeteer/issues/4969#issuecomment-602400868 would be to use a different chat provider alltogether, eg Matrix:

Instead maybe migrating chat to something     more open and accessible like Matrix would be a good idea which provides a static, never changing name for a channel

I personally think Matrix is a much better idea than Slack, plus Matrix allows for unlimited messages compared to Slacks's limit of 10,000.

I would suggest switching to discord

Still an issue. A discord server would do wonders....

Still an issue

Still an issue. Thumbs up for discord server!

Discord sounds much better. Please make a discord server. The gitter community isn't very helpfull.

So old issue and no link there :) Looks like Slack chat isn't active now Let's try to run Discord server? https://discord.gg/tbY6tYTPUv
Strange, I tried to make a pull request, but I can't push a commit
@snitin315, I saw you deleted the old Slack link https://github.com/puppeteer/puppeteer/commit/56f17fe4819b5081ee17aad3a4e73a49ebaa2a5d , could I ask you to add a new one?
- [Discord](https://discord.gg/tbY6tYTPUv)

@OlegBabakov sure, I will raise a PR for same.

The Puppeteer team would prefer to keep the number of different places that people should look for questions and answers small. As Discord/Slack servers aren't really search friendly we would prefer to have them on websites like e.g. Stack Overflow.
cc @mathiasbynens

I think discord is extremely useful for learning, sharing and helping others out.
Sharing strategies and solutions in a chat-type-environment is much more useful for people encountering odd issues, and the near-realtime communication makes it possible to resolve issues ad-hoc.
Furthermore, it also allows for people in your community to get anything from smaller freelance jobs to full time employment.


[Task]: Add OpenVINO Inference + Performance computation to Engine methods

What is the motivation for this task?
Currently, there is no way to compute the performance with OpenVINO models. Engine only accepts AnomlyModule for testing and prediction. It will be handy to have inference and metrics computation support for OpenVINO models as well.
Describe the solution you'd like
This might require some redesign on how we compute metrics. Ideally, we should be able to compute metrics on OpenVINO models as well.
Methods that require changing
class Engine:
    def predict(self, model: AnomalyModule | OVModel ...)
        ...

    def test(self, model: AnomalyModule | OVModel ...)
        ...

Additional context
No response

@djdameln pinging you as this might be related to the changes you are making.

I agree with this


Wireguard cannot use same allowed-ips for multiple peers

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
When using multiple peers on a wireguard instance with the same allowed IPs value (e.g. <IP_ADDRESS>/28) only one works.
To Reproduce
Steps to reproduce the behavior:

Create a wireguard instance and two peers, both with the same allowed-ips value (e.g. <IP_ADDRESS>/28).
Run wg show

Expected behavior
Both peers should be able to use any address in the IPv4 subnet <IP_ADDRESS>/28.
Describe alternatives you considered
Use more explicit /32 or /128 values, which might not always be an option.
Relevant log files
root@mgmtfwcl01-1:~ # wg show
interface: wg0
  public key: xxx
  private key: (hidden)
  listening port: 34620

peer: xxx
  endpoint: xxx:51820
  allowed ips: (none)
  latest handshake: Now
  transfer: 92 B received, 180 B sent
  persistent keepalive: every 25 seconds

peer: xxx
  endpoint: xxx:51820
  allowed ips: <IP_ADDRESS>/28
  latest handshake: Now
  transfer: 92 B received, 180 B sent
  persistent keepalive: every 25 seconds

Additional context
XML config seems fine (same as the web UI)
Environment
OPNsense 24.1.7_4-amd64
FreeBSD 13.2-RELEASE-p11
OpenSSL 3.0.13

IMHO its always been that case. WG uses Allowed IPs for 'route' selection.
Can't have two peers with same/overlapped IP range, just like with routing.

If that's the case, maybe we can add some sort of validation in the UI? Not sure how straight forward that would be


Feat/add headers to messages

Hi and thanks for the tool, it is very useful.
Here is a way solve https://github.com/subzerocloud/pg-amqp-bridge/issues/16 partially by adding the ability to forward headers.
I did not manage to make ./tests/main.rs work locally. I am still new to rust, but the lib.rs tests are fine.
The second commit is just for debugging purposes, made easier with docker compose. Discard it if you are not interested.
Thanks again !

the code looks good and useful, thank you.
when you get the time see if you can fix the tests (i think i spotted the problem, look at the comments) then i'll take another pass and merge and release.
Thank you

Hi sorry for the time it took me to get back to you. Tried several times to fix the e2e tests but was never successful. I was never able to make them run locally in any cases I they may probably be just fine.
Regarding your review, please take another look, I think you are mistaken. The headers are in third position if any therefore to get them we should query the index number 2.
Moreover my changes do not affect the e2e tests since passing no headers results in the same behavior as before.
Thanks again

as i said before in the prev comment, the code looks good, maybei'll refactor a bit.
however it will take me a bit (even if the task is 1-2 hours) since i am in the middle of some other stuff and i would not like to switch context :)

A very usefull feature, thank you for your contribution @NikolaLohinski
I hope you guys find the time to finalize this.

A very usefull feature, thank you for your contribution @NikolaLohinski
I hope you guys find the time to finalize this.

I've implemented this in the latest version 0.0.8
Credit goes to @NikolaLohinski though i could not merge this pr directly since i had to first upgrade all dependencies and add changes to make them work
the only differrence from this PR is that the headers go before the message, i..e routingkey|headers|message


Preferrable that make connect-to-all works on Mac OS

Atm make connect-to-all only works for Linux-machines. It would be preferrable that it works on other plattforms such as MacOS.
I know you can use uname to check the OS, and open -a Terminal . to open a terminal:
connect-to-all:
OS = $(shell uname)
ifeq ($(OS), Linux)
         gnome-terminal -- make proxy-redash
	 gnome-terminal -- make proxy-presto
	 gnome-terminal -- make proxy-minio
ifeq ($(OS), Darwin)
         open -a Terminal .  # open terminals on Mac OS
else
	 # Error message?
endif

There is opportunity to detach each proxy connection. Run them on the background.
options:

disown
nohup (mac support)
</dev/null &>/dev/null & (all support)

We can also use tmux? https://www.hamvocke.com/blog/a-quick-and-easy-guide-to-tmux/

I like the suggestions. However I think there is a benefit to open the terminals so that you can monitor whats going on.
Tmux looks great. The downside is that it would be another reqirement.
I was a bit eager last night so I have already created a PR for this issue (#24). :sweat_smile: Please let me know in the PR if we want to do this in a different way.

That Pr looks good to me. Let us keep this issue open and rename it.


FDS 7th program has an error

When executed, it says

ModuleNotFoundError                       Traceback (most recent call last)
Cell In[3], line 2
1 import matplotlib.pyplot as plt
----> 2 import cartopy.crs as ccrs
3 from mpl_toolkits.basemap import Basemap
5 # Orthographic Projection
ModuleNotFoundError: No module named 'cartopy'

Solved by testing in diverse systems. It actually works!


[Benchmark] Benchmark UTF8 decoding from typed & untyped bufferys

These functions are generic, so we should test more than just Array, for which Array(genericCollection) which never copy, even in specialised generic code.
CC @milseman

@eeckstein I don't know how you want to handle these plethora of micro-variations in micro-benchmarks. Ideally, we'd do more LIT-style tests for these.

@karwa Can you rebase your benchmark and we'll get this run?

Can one of the admins verify this patch?

I'm going to close this out due to age and inactivity. If you still wish to pursue this, please reopen this pull request and rebase it to fix the conflict.
Thanks!

I think this is covered by other tests that have been added since this PR was opened.


Support M1 and Android x64

I've updated the buildscripts in my fork of buildware: see https://github.com/pietpukkel/buildware
Buildscript now builds (on my Mac) Mac x64 and arm64 binaries and the distribution scripts make them to fat libraries. I've also added x64 libraries for Android (have not been able to test the results yet). Delete all files in buildsrc after every build.
The only issue  that I have is in bulding libjitlua. Building seems to succeed for iOS/Mac but the resulting libs are most likely corrupted. Building for Android fails (for luajit). So these build steps need some TLC from someone with a bit more expertise than I have. I also see no test that actually uses this library.
Assuming the windows powershell scripts only generate the libraries for windows, i have not touched these (or looked at them).

Buildware is by the way not entirely complete as for Mac and iOS  glsl_optimizer (libglcpp-library, libglsl-optimizer.a and libmesa.a) is missing. I've build these for Mac using https://github.com/aras-p/glsl-optimizer (and just change target in xcode to standard platforms; intel and apple silicon).

The glsl-optimizer support cmake, maybe could be add to buildware also.

Yes indeed! I've modified the build script to generate the library from https://github.com/cocos2d/glsl-optimizer. Tomorrow I'll clean the scripts, modify the distribution scripts and make sure these only can be build for iOS and OSX.
From there the buildscripts should basically download and build everything (except perhaps luajit a I just cannot get those to work).

Done. Last commit in my fork should now also generate glsl-optimizer libraries and add them to the release zip.

The glsl-optimizer only for mac/ios, so no needs to build windows for it.

Seems we can't cross compile osx arm64(M1) through github actions:

Apple M1 support is in github action roadmap, but not complete yet, refer to: https://github.com/github/roadmap/issues/528

Hm.. what happens when you build the x86_64. Might be an error in the script (which runs for me but perhaps exactly opposite on a x86_64)?
Sent from Ninehttp://www.9folders.com/

From: 一线灵 @.***>
Sent: Friday, August 12, 2022 16:04
To: axys1/buildware
Cc: pietpukkel; Author
Subject: Re: [axys1/buildware] Support M1 and Android x64 (Issue #5)
Seems we can't cross compile osx arm64(M1) through github actions:
[image]https://user-images.githubusercontent.com/6977319/184369893-effb3482-ede2-4a61-b280-0342bca17a94.png
―
Reply to this email directly, view it on GitHubhttps://github.com/axys1/buildware/issues/5#issuecomment-1213146042, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AADT3TT7YLI7O7OOVA5WWW3VYZKVZANCNFSM56IOROEQ.
You are receiving this because you authored the thread.Message ID: @.***>

You can refer to this action: https://github.com/axys1/buildware/actions/runs/2847209116

Let us wait the latest action finished and dist again

Yes, maybe script error for openssl:
CONFIG_ALL_OPTIONS=darwin64-x86_64-cc no-tests no-comp no-async no-shared --prefix=/Users/runner/work/buildware/buildware/install_osx_arm64/openssl --openssldir=/Users/runner/work/buildware/buildware/install_osx_arm64/openssl

I am checking. What architecture do you build on? Mac x64?
On 12 Aug 2022, at 16:20, 一线灵<EMAIL_ADDRESS>wrote:
Yes, maybe script error for openssl:
CONFIG_ALL_OPTIONS=darwin64-x86_64-cc no-tests no-comp no-async no-shared --prefix=/Users/runner/work/buildware/buildware/install_osx_arm64/openssl --openssldir=/Users/runner/work/buildware/buildware/install_osx_arm64/openssl
—
Reply to this email directly, view it on GitHubhttps://github.com/axys1/buildware/issues/5#issuecomment-1213163387, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AADT3TVMS5AF2XZKSSUEGXTVYZMSJANCNFSM56IOROEQ.
You are receiving this because you authored the thread.Message ID: @.***>

Yes, the github action only provide macos x86_64 vm currently

I learn new things everyday. I did not know these were build automatically in Git in VMs. That’s quite cool.
I think it was an error in buid1.sh. I’ve reversed the compilers and on my iMac Pro it now builds the M1 binaries. Sorry that I did not test that before.
On 12 Aug 2022, at 16:22, 一线灵<EMAIL_ADDRESS>wrote:
Yes, the github action only provide macos x86_64 vm currently
—
Reply to this email directly, view it on GitHubhttps://github.com/axys1/buildware/issues/5#issuecomment-1213165744, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AADT3TSSM3BEWFPMMHBL5NLVYZM3PANCNFSM56IOROEQ.
You are receiving this because you authored the thread.Message ID: @.***>

The logic check seems incorrect:
https://github.com/axys1/buildware/blob/main/1k/build1.sh#L78

No worries, I will fix it

Just ran it again in my x64 Mac and my latest commit also fixes it. No need for an M1 runner 😉

Good job

The openssl osx arm64 seems still failed:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/_types.h:34:2: error: architecture not supported
#error architecture not supported
^

Might be due to the MacOS version of the runner and the commandline tools. Catelina does not support arm64 (only Big Sur and up). The scripts run correctly on a MacOS 12.5 system (Monterey). If you want I can run them for you.

MacOSX10.15.sdk is too "old".

I ran the scripts on my iMac pro with MacOS 12.5 for you (Intel machine). Results are attached. Both the build output (so you can see I actually ran the scripts) and the resulting zip  files.
./1k/build.sh osx arm64 > result.txt
./1k/build.sh osx x64 > result1.txt
./1k/distr.h > result2.txt
Resulting zip of course only contains the Mac fat binaries.
I fear that for an automatic build using the Github VM we have to wait until they offer a 11.x or 12.x machine :-
result.txt
result1.txt

result2.txt
buildware_dist.zip
(

OK, I upgrade it, and works on github action: https://github.com/axys1/buildware/actions/runs/2849072550

Looks like it worked 👍


chore: organize packages

- What I did

Moved sshnoports_sdk_python to examples/automations
Moved dart packages to packages/dart
Renamed all path references to the directory / files:

With this change, we should also look to rename the repo from sshnoports to noports over the weekend.
- How I did it
- How to verify it
- Description for the changelog
chore: organize packages

local - trunk and trunk - local builds are failing because the packages got moved, so it can't find them correctly.

I am waiting to merge this over the weekend, will resolve the merge conflicts on Friday


Link a resource to its definition.

Agreed! But, let's create that elsewhere though.

Adding cla: yes label, as the PR author is a googler at the time of this PR was created.


Replace deprecated methods in jsAPI

Replace deprecated hasClass with the new addClassValueHandler and deprecated hasStyle with addStyleValueHandler

@TrySound this is a very small PR, just replacing old method names with new ones. Currently this causes errors in cases when adding a class or a style attribute.

Thank!


The val set of SIDD cannot be downloaded. The URL needs permission.

The provided link needs permission. https://drive.google.com/drive/folders/1LzYL4GYH5U40rae_4jvy8kzOtsiMeXFn
Is that the 'SIDD Benchmark Data'?

Hi, you can download it from here https://drive.google.com/drive/folders/1j5ESMU0HJGD-wU6qbEdnt569z7sM3479


Using Expression Syntax

Please take a moment to fill out the following:
Fixes # .
Changes Proposed in this pull request:

Doing major refactoring to this for 3.0 thanks though.


GenAI API Integration Articles/Tutorials Updation in Readme

Updating the Readme.md with links that direct to articles that talk about GenAI API Integration and their Application.
I would like to work on this Under GSSOC ' 24 as a Contributor
Please Assign it to me.
@ashitaprasad

Sure you can send a PR

@ashitaprasad Ma'am I already made a PR request on which you updated me accordingly.
PR Link : https://github.com/foss42/awesome-generative-ai-apis/pull/10#event-12774927419
Please clear the following doubts of mine :

Is this issue assigned to me as I can't see an assigned tag.
Under which level will it be considered.

done


Add interrupt capability to Icecup

Well, this is kind of annoying.

Interrupt requires the use of a web worker and SharedArrayBuffer.
In turn, SharedArrayBuffer requires cross-origin isolation, which is specified through the HTTP header.
It's uncertain if GitHub supports changing these headers?

I ended up going with a crude worker.terminate() for now.