only render the first N data points in Signal plots

If you have live incoming data populating a large array in memory, the first part of the array contains real values and the last part of the array contains zeros that should not be displayed. Consider extending PlottableSignal to allow only rendering the first N data points. Obviously the default would be to render all data points.

This can be done with manual setup Horisontal axis range, or add axis range helper method that accept N. There is no need to change PlottableSignal. Maybe i misunderstand your idea.

If I want to plot 1 minute of data in real time (plot it live, as the data is recorded) it makes sense to create a double array in memory (of all 0s) then fill the array with data values as they are measured. I would like to display incoming data while hiding the 0s, like this.

Perhaps a simpler way to implement this is to represent empty data values in the array as double.PositiveInfinity (rather than 0) and skip drawing pixel columns which reach infinity 🤔

More specifically, I'd like to use ScottPlot to create an application to display voltage over long periods of time. I have a voltmeter which produces 1 measurement per second and sends it to the computer using a serial port.
Previously I used Python to create graphs (pyTENMA) of voltage from this meter. That application produced a static graph, but I'd like to use ScottPlot to produce a live animated graph.

Easy way to implement this without "magic" numbers:
nullable field indicating N.
int? DrawCount = null;

Draw methods use DrawCount instead of ys.Length if DrawCount not null.
Axis range calculation always use ys.Length.
But it need carefully change all RenderHighDensity(), RenderLowDensity()

implement this without "magic" numbers

Ha!  DrawCount = null;

But carefully change all RenderHighDensity(), RenderLowDensity() to use this number instead of ys.Length

I like this idea! I prefer the name maxRenderIndex

For slow real-time data performance doesn't matter so you can recreate the array and re-plot on each new element.

I'm currently designing a circuit board to perform voltage measurements at a rate of about 100 per second, so performance is a goal.

I created a new demo program to make this feature easy to test when we figure out how to implement it. It also demonstrates the problem (zeros should not get plotted).

@StendProg actually double.NaN may be a good value to not render. I don't think I'd consider this a "magic number" since it literally means "not a number" 🤔
I will still also add the maxRenderIndex argument since that will be computationally faster

This is what I came up with...
Using a class-level signal:
private ScottPlot.PlottableSignal signal;

signal = formsPlot1.plt.PlotSignal(dataValues);

Update the maxRenderIndex whenever new data has been added:
signal.maxRenderIndex = nextIndex;

Then Render() whenever you want (perhaps on a separate timer):

Below is a LabVIEW Chart, similar effect?


fix(colcon-build-and-test): fix coverage commands

Changed the colcon lcov-result command to always be executed.
Before the change, the condition to check the existence of the coverage.info file was not working correctly. This is because the colcon lcov-result command generates the coverage.info file. So the if statement was always false.
After thinking about what kind of change I would like to make, I decided to simply ignore the return value. I also applied this change to colcon coveragepy to account for future API changes.
I will check this change in my forked repository. After confirming this change, I will post the result and change the state to ready for review.
Signed-off-by: Keisuke Shima<EMAIL_ADDRESS>

Confirmed this change works file.
https://github.com/KeisukeShima/autoware.universe/runs/5002110634?check_suite_focus=true


add ng docs

add ng docs as gulp task

outdated

Any plans to add some documentation tool to the generator? ngDocs, Docular, angular-jsdoc, dgeni..? Thanks!

Hi @anasmithiam, right now it's not a priority. In our opinion there's more urgent things on the way: testing, cordova update, tutorials, cordova hooks and other features to make your life easier. However if you want to get this feature I'll be happy to review your PR!

Thank you! @DrMabuse23, have you end up with this PR? Can i review it and may be continue it? regards

@anasmithiam I'd recommend you simply start a new PR, this one's very old and is based on a code base that's outdated.

@anasmithian i can check it out next days if you need it fast check out my fork

@DrMabuse23 ok thanks!

I'll just leave this here as a possible integration for docs.
https://github.com/nikhilmodak/gulp-ngdocs
the only addition would be auto generating comment blocks in top of file similar to below rather than have to write them ourselves :
/**
 * @ngdoc directive
 * @name rfx.directive:rAutogrow
 * @element textarea
 * @function
 *
 * @description
 * Resize textarea automatically to the size of its text content.
 *
 * **Note:** ie<9 needs pollyfill for window.getComputedStyle
 *
 * @example
   <example module="rfx">
     <file name="index.html">
         <textarea ng-model="text"rx-autogrow class="input-block-level"></textarea>
         <pre>{{text}}</pre>
     </file>
   </example>
 */
angular.module('rfx', []).directive('rAutogrow', function() {
  //some nice code
});


Implementing basic functionality for dummy run

Make sure the implementations all work for the following use cases. We previously know that the downloading worked for daily records across complete hemispheres, so here we account for that, but while we're doing so identify the requirements for new monthly and new sub-hemisphere configurations.
We only use some demonstration variables to ensure that things are operating correctly.
HEMI=north
WORKERS=4
PERIOD_START="2021-11-1"
PERIOD_END="2022-1-31"

python3.8 -m venv venv
source venv/bin/activate
pip install --upgrade pip setuptools wheel
pip install -e .

## Original functionality
download_cmip -w $WORKERS -v --vars uas,vas,tas,zg,siconca --levels ',,,500|250,' $HEMI $PERIOD_START $PERIOD_END MRI-ESM2-0 r1i1p1f1
download_cmip -w $WORKERS -v --vars uas,vas,tas,zg,siconca --levels ',,,500|250,' $HEMI $PERIOD_START $PERIOD_END EC-Earth3 r1i1p1f1
download_cmip -w $WORKERS -v --vars thetao,so,uo,vo --levels ',,,' $HEMI $PERIOD_START $PERIOD_END

download_era5 -w $WORKERS -v  --vars uas,vas,tas,zg --levels ',,,500|250' $HEMI $PERIOD_START $PERIOD_END
download_oras5 -w $WORKERS -v --vars thetao,so,uo,vo --levels ',,,' $HEMI $PERIOD_START $PERIOD_END
download_hres -w $WORKERS -v --vars thetao,so,uo,vo,uas,vas,tas,zg,siconca --levels ',,,,,,500|250,' $HEMI $PERIOD_START $PERIOD_END
download_seas -w $WORKERS -v --vars thetao,so,uo,vo,uas,vas,tas,zg,siconca --levels ',,,,,,500|250,' $HEMI $PERIOD_START $PERIOD_END

# Purely Sea Ice, siconca, but should be specified now
download_osisaf -w $WORKERS -v --vars siconca --levels '' $HEMI $PERIOD_START $PERIOD_END
download_amsr2 -w $WORKERS -v --vars siconca --levels '' $HEMI $PERIOD_START $PERIOD_END

Tasks:

[ ] All downloaders should require --vars / --levels (or sensible default that is obvious from CLI)
[ ] Sea variables downloaders don't tend not to use levels and previously CMIP didn't provide this. We need to make this explicit and consistent
[ ] Review the horrendous ESGF downloading as it never really worked nicely (perhaps we should use THREDDS?)
[ ] Determine whether we need consistent experiments - atmos/ocean variables from CMIP will not always come from the same place and might just need to default to "something" available
...
[ ] Raise issue(s) and identify requirements for monthly downloading
[ ] Raise issue(s) and identify requirements for regional downloading
[ ] Assess whether the directory structure needs changing, for example to remove hemisphere. This might be shifted towards data generation within the downstream icenet library. We might need to look at condensing of datasets / ensuring compatibility with existing data when dataset IDs clash

download_cmip is failing, usually happens with existing mode of download from ceda.ac.uk but can't guarantee it's still the same. Sorting out the implementation method
[26-01-24 20:13:08 :ERROR   ] - Error encountered: [Errno -70] NetCDF: DAP server error: 'https://esgf.ceda.ac.uk/thredds/dodsC/esg_cmip6/CMIP6/ScenarioMIP/MRI/MRI-ESM2-0/ssp245/r1i1p1f1/day/uas/gn/v20190603/uas_day_MRI-ESM2-0_ssp245_r1i1p1f1_gn_20150101-20641231.nc'

Multi-temporal downloading has been completed across CMIP, CDS, OSISAF and AMSR. Regridding is now a concern of preprocess-toolbox, as well as preprocessing such as rotation of fields. Levels have been implemented as much as required for those downloaders. An initial assessment of the data directory structure is in place, but open to change - if that changes we probably need to ensure that conversions can happen, so dataset configs need some versioning / structuring as well.
This basic functionality is in place, but more to do under the subsequent issues.


adds Gitlab support

hey, hope you don't mind but I went ahead and integrated Gitlab as a repository source.
addresses #32
features

login via password
login via personal token
custom domains
I've added support for custom domains, but wasn't able to fully test it as I didn't have a gitlab install with a valid SSL cert - though it made the request properly.

do let me know your thoughts or any changes you'd like to see?

Thanks, this is great!
Actually I don't have enough time to work on this recently so I'm very appreciated for the contribution.
I'll manage to get sometime to review this.


2019

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.82%. Comparing base (568daa4) to head (4434981).

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #295   +/-   ##
=======================================
  Coverage   95.82%   95.82%
=======================================
  Files         151      151
  Lines        8991     8991
=======================================
  Hits         8616     8616
  Misses        375      375


The import window doesn't open when using the "import statblock" button in the statblocks themselves.

When I open a statblock journal entry from the compendium and I click in the "Import statblock" button embbeded on it, it doesn't do anything. I can still import manually via copy pasting the statblock and the option in the actors tab, but it's quite inconvenient that it I can't do it in that way.

Hey, the statblock library is a different module thats maintained by someone else. I created a pull request there to bring that module up to v10 compatibility, but the other dev will have to accept and then release a new version.


Webpack rebuilds, but dev server won't restart

Anyone having this weird problem? The hot reloading has been doing fine (other than occasional crash and somewhat slowness) until recently. Under npm run dev, whenever a code change is made, webpack rebuilds, but the dev server on http://localhost:3000 won't restart. In the console window, I only see
[1] [piping] File src\xxx.js has changed, reloading.
[0] webpack building...
[0] webpack built 97077085b02e470dd6b2 in 3465ms

But no
[1] ----
[1] ==> ✅  XXX is running, talking to API server on 3030.
[1] ==> �  Open http://localhost:3000 in a browser to view the app.

Now the really weird thing is, if I just go ahead refresh the page, I'll first get a 'site can't be reached' error. But shortly after (2 - 5 seconds, maybe?), the dev server starts, and everything back to normal. It's almost like the dev server went into hibernation and needs a request to wake it up.
My dev.config.js is pretty much stock except devtool is changed to cheap-module-source-map. I'm running node v5.9.0 and npm 3.7.3 on windows 10.

dev server restarting takes much longer time than before, doubt on update of some packages.

I ran into the same problem after updating some dependencies ( or at least that's what i think is causing it)
posted it on stackoverflow but didnt get any answers yet. I really hope I can find out what's causing this soon, as this is really annoying and time consuming to completele restart the server and wait 17 seconds for a build.
I m using, linux mint 17.3, node 5.6.0 and npm 3.6.0.

#616 each ES6 syntax in src/server.js takes several seconds.

@tearsofphoenix the build is slow indeed, but the biggest problem is the server takes like 1 minute to restart, or does not seem to restart at all

@feesjah  HappyPack && DLLPlugin help me speed up build time. Deserve to try

After going back to 'stock' package.json I have exactly the same problem as @realbugger . :(
It's really annoying to have to refresh and lose state

I've been seeing similar behavior as @realbugger, but the application server never successfully restarts. After changing a file, I see this:
[piping] File src\containers\About\About.js has changed, reloading.

Previously I would see this:
[piping] File src\containers\About\About.js has changed, reloading.
----
==> ✅  Halo Link is running, talking to API server on 3030.
==> 💻  Open http://<IP_ADDRESS>:3000 in a browser to view the app.

After a change and an unsuccessful restart, the application does not work correctly. API requests are not proxied to the API server, for one. A browser reload of any page triggers the restart of the application server and then things work.
After finding the issue below I locked piping to 0.3.0 and everything works:
https://github.com/mdlawson/piping/issues/15

I am currently seeing the same issue. please help

It looks like the problem can be solved by upgrading piping package to the latest version (which is 1.0.0-rc.1 as of now). Please see #1068 for detail.


Template engine naming utils

Add 3 new helper functions to be able to change the casing in templates
naming.pascalCase
naming.camelCase
naming.kebabCase

Update the emitter-ts to interpolate the emitter name

You can try these changes at https://cadlplayground.z22.web.core.windows.net/prs/2765/
Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/prs/2765/


SSE not (sufficiently?) disabled when compiling libcore

It looks as if SSE is not disabled while compiling libcore - and this can cause compatibility issues because we disable SSE when compiling for verification.
An (overly complex) example that shows this is the following

curl --location https://github.com/protocolbuffers/protobuf/releases/download/v3.13.0/protoc-3.13.0-linux-x86_64.zip > /tmp/protobuf.zip
unzip /tmp/protobuf.zip -d /tmp/protobuf
export PATH=$PATH:/tmp/protobuf/bin
git clone https://github.com/stepancheg/rust-protobuf.git
cd rust-protobuf
cargo build
cd protobuf-examples
cargo verify -vv

Fails with many errors of the form

ld.lld: error: /home/adreid/rust/src/libcore/num/dec2flt/algorithm.rs:375:16: in function _ZN8protobuf11text_format5lexer5float20parse_protobuf_float17h0fd5e56663b316c7E void (%"core::result::Result<f64, text_format::lexer::float::ProtobufFloatParseError>", [0 x i8], i64): SSE register return with SSE disabled

It would be good to have a smaller example!

Looking at the comments in libcore::num::dec2flt::*,
it appears that SSE2 is important to disable use of the x87 FPU and it's 80-bit floating point representation.
So this may take more work than just recompiling libcore with the sse2 feature disabled :-(

Fixed by #127
Instead of trying to disable SSE, we emulate it.


Remove @_spi's that were preventing compilation

The latest Swift compiler is less tolerant of @_spi's than before. Remove the offenders.
rdar://71381579

@swift-ci please test


Per struct counters

We do a good job tracking runtime performance using hprof. We should have analagous infra for tracking space. I don't think we can easily count bytes, but we can count number of instances. Here's the API I want:
struct DefMap {
  _c: profile::Count<Self>,
  ...
}

The Count thing internally should use TypeId / type_name to get a key and add a count to a global hasmap.
It should be possible to get a specific count with get::<DefMap>, get_by_name("DefMap"), and to iterate all counts. There should be a vscode command to dump all counts.
See

https://github.com/sorbet/sorbet/blob/e19a41d7bf526102e27a85c0c0c3be060e73670a/common/Counters_impl.h
https://github.com/sorbet/sorbet/blob/e19a41d7bf526102e27a85c0c0c3be060e73670a/common/Counters.h
https://github.com/sorbet/sorbet/blob/e19a41d7bf526102e27a85c0c0c3be060e73670a/common/Counters.cc

will implement a simple version myself, as I need that right now...

will implement a simple version myself, as I need that right now...

As an aside that sorbet logo makes me really hungry.

As an aside that sorbet logo makes me really hungry.

will implement a simple version myself, as I need that right now...

Unsurprisingly, I now know that my new advanced caching in rowan wasn't actually caching a thing. Never underestimate the power of tools

will implement a simple version myself, as I need that right now...

Unsurprisingly, I now know that my new advanced caching in rowan wasn't actually caching a thing. Never underestimate the power of tools


Internal server error: The request url<EMAIL_ADDRESS>is outside of Vite serving allow list

Sorry, I'm not familiar with node or npm, maybe I'm doing things very wrong. I'm following best practices
Describe the bug
I'm running slidev in docker container, when I try to access http://localhost:3030 I get the error:
9:11:53 AM [vite] Internal server error: The request url<EMAIL_ADDRESS>is outside of Vite serving allow list:

- /slides
- /home/node/node_modules/@slidev/cli
- /home/node/node_modules/vite/dist/client

Refer to docs https://vitejs.dev/config/#server-fs-allow for configurations and more details.
      at ensureServingAccess (/home/node/node_modules/vite/dist/node/chunks/dep-92cbd8f1.js:56663:15)
      at viteServeRawFsMiddleware (/home/node/node_modules/vite/dist/node/chunks/dep-92cbd8f1.js:56630:13)
      at call (/home/node/node_modules/vite/dist/node/chunks/dep-92cbd8f1.js:45584:7)
      at next (/home/node/node_modules/vite/dist/node/chunks/dep-92cbd8f1.js:45528:5)
      at viteTransformMiddleware (/home/node/node_modules/vite/dist/node/chunks/dep-92cbd8f1.js:56925:9)
      at processTicksAndRejections (node:internal/process/task_queues:96:5)

To Reproduce
Steps to reproduce the behavior:

Create Dockerfile with content:

FROM node:17-alpine as build
ARG SLIDEV_VERSION=0.27.9
USER node
WORKDIR /home/node
RUN npm install --quiet --no-progress \
        @slidev/cli@v$SLIDEV_VERSION \
        @slidev/theme-default \
        @slidev/theme-seriph

FROM node:17-alpine
ENV NODE_PATH=/home/node/node_modules/
ENV PATH=$PATH:/home/node/node_modules/.bin
USER node
COPY --from=build /home/node/node_modules/ /home/node/node_modules/
WORKDIR "/slides"
ENTRYPOINT ["slidev"]
CMD ["--remote"]

Build it with docker build -t slidev:latest .
Run it with docker run --rm -p 3030:3030 --init -v ${PWD}:/slides slidev:latest
Try to access http://localhost:3030
See the error

Desktop (please complete the following information):

OS: docker alpine
Slidev version: 0.27.9

I'm experiencing the same error on Windows 11 with the latest Slidev release from a freshly generated yarn create slidev
However, npx doesn't solve the problem for me

Same error

I think it is better to create a separate issue @antfu please close this one if you


feat(accel_brake_map_calibrator): add new Recursive Least Square method

Description
For accel_map_calibrator, implemented a new method to execute Recursive Least Squares on 4 points around new data.
Related links
Gabrielle Lochrie, Michael Doljevic, Mario Nona, Yongsoon Yoon, Anti-Windup Recursive Least Squares Method for Adaptive Lookup Tables with Application to Automotive Powertrain Control Systems, IFAC-PapersOnLine, Volume 54, Issue 20, 2021, Pages 840-845
Tests performed
run accel_brake_map_calibrator and play a rosbag data.
Notes for reviewers

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[x] The PR follows the pull request guidelines.
[x] The PR has been properly tested.
[x] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

I rebased to autowarefoundation/main. The original code was saved in my fork just for in case.
https://github.com/TakaHoribe/autoware.universe/tree/feature/improve_map_calibrator-ORIGINAL

spell miss
https://github.com/autowarefoundation/autoware.universe/actions/runs/3239609749/jobs/5309193223
I fixed it by
https://github.com/autowarefoundation/autoware.universe/pull/1255/commits/a39884bef566f56b863ed79c2304414606da2e19

LGTM!

accel_map.csv
brake_map.csv


feat(geography): split packages

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Fixes: N/A
What is the new behavior?

Splits packages up into subpackages
Adds a tsconfig that maps geography packages to root, useful for testing
Changes some test imports to reference the @daffodil package.

Does this PR introduce a breaking change?
[x] Yes
[ ] No

Many imports have moved. The geography module no longer imports the state module.
It must be manually imported. It is exported by @daffodil/geography/state.
Other information

\azp run

/azp run


Include caveat for Cross Cloud Anonymous Join for the Teams endpoint section

Teams in GCCH supports Cross-Cloud Anonymous Join, which means a GCCH Teams user/client can join DoD or WW hosted meetings. This has caused some confusion/lead to customers raising cases because they have whitelisted for GCCH, but not for the other clouds. It is currently only implied that if they want to be able to connect to WW/DoD meetings, that they have to whitelist for those endpoints.
Could we please include a warning/notification under the Teams subsection that for Cross-Cloud Join to properly work, they must whitelist the endpoints for the cloud of the target meeting? Also add links to the other cloud endpoint pages.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 9a9f2948-6ae1-f907-836b-07f108ddf828
Version Independent ID: 9a9f2948-6ae1-f907-836b-07f108ddf828
Content: Office 365 U.S. Government GCC High endpoints - Microsoft 365 Enterprise
Content Source: microsoft-365/enterprise/microsoft-365-u-s-government-gcc-high-endpoints.md
Service: microsoft-365-enterprise
GitHub Login: @kelleyvice-msft
Microsoft Alias: kvice

@bradbrill Thank you for your feedback. We have added a note to the section via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/12129
Once the author approves, the changes will be live.
Thanks
Sri


[AUTOPATCHER] Patches CVE-2021-44575 for libsolv

        Patches CVE-2021-44575 for libsolv.
        This patch and PR was automatically generated and needs human verification before merging.

Fixed by:

#1724


Should use aliases instead of duplicate files in .framework

Instead of having duplicate headers and binary throughout the .framework, a single binary and set of headers under .framework/Versions/A would suffice and then .framework/Versions/Current would alias to .framework/Versions/A, .framework/Headers would alias to .framework/Versions/A/Headers, .framework/Modules would alias to .framework/Versions/A/Modules, and .framework/Buglife would alias to .framework/Versions/A/Buglife.  This would cut the size of the framework by one third (66%).

Thanks Nolan! Those definitely should be aliases instead of duplicates. We'll be sure to get that fixed in our next SDK release :)

Forgot to mention, this was fixed in our last release. Thanks again @NSProgrammer!


index page keyboard order is insane

"Sorted" would help. I'm not happy with the "Select a keyboard, then an emulator" bit, but not sure what to do with it right now.


2024.1.0b0 reports error

Latest version v1.9.0 gives an error when starting up 2024.1.0b0
Logger: homeassistant.setup
Source: setup.py:251
First occurred: 10:45:50 (1 occurrences)
Last logged: 10:45:50

Setup failed for custom integration 'ev_smart_charging': Unable to import component: Exception importing custom_components.ev_smart_charging
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/loader.py", line 822, in get_component
    ComponentProtocol, importlib.import_module(self.pkg_path)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/config/custom_components/ev_smart_charging/__init__.py", line 17, in <module>
    from .coordinator import EVSmartChargingCoordinator
  File "/config/custom_components/ev_smart_charging/coordinator.py", line 63, in <module>
    from .sensor import (
  File "/config/custom_components/ev_smart_charging/sensor.py", line 32, in <module>
    class EVSmartChargingSensor(EVSmartChargingEntity, SensorEntity):
  File "/config/custom_components/ev_smart_charging/sensor.py", line 41, in EVSmartChargingSensor
    @SensorEntity.native_value.setter
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'cached_property' object has no attribute 'setter'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 251, in _async_setup_component
    component = integration.get_component()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 830, in get_component
    raise ImportError(f"Exception importing {self.pkg_path}") from err
ImportError: Exception importing custom_components.ev_smart_charging

Thanks! I have created an issue for Core: https://github.com/home-assistant/core/issues/106545

The issue will not be solved by Core. Instead, there is now a release v1.10.0 that solves this.

New version solves. Thanks for your extremely fast response.


Minor Improvement:

Add final
Remove Unused import
Remove Unnecessary interface modifier
Use Standard Charset object
Fix JavaDoc
Replace with computeIfAbsent

Coverage increased (+0.09%) to 78.43% when pulling a34b64f2256b9dcb229da99afd088b9942ffbba0 on arturobernalg:feature/minor_improvement into 80385a158432483a7e195a17df0dd74a5ad4ddb7 on apache:master.

The fact, that you are changing no less than 2 files here, is an obvious contradiction to a "Minor Improvement". Could you, please, simplify that a lot, until I can inspect your changes one by one? Thanks!

Sorry, mismatched this PR with another one on commons-fileupload. However, my opinion remains: 24 affected files is way too much for "minor improvements".

OK, I close the PR and split into 3


Need more explanation of proof systems

The chapters on "Sequent Calculus" and "Natural Deduction" need more examples and exercises, the soundness proofs need more detail, and we need a general section explaining what proof systems are and do.

Fixed in commit b5feb38e2a22ff9d7ed7021e4170b6a53732701b


mavlink: accept msgs without source initialized for serial

This should fix serial MAVLink communication on FMU5x where both serial and UDP is available. There the serial connection previously did not work because nothing was connected over UDP.
Found by @dinomani.

I think it makes sense to keep, but obviously should only apply to the UDP case. _mavlink->get_protocol() == Protocol::UDP

I think it makes sense to keep, but obviously should only apply to the UDP case.

@dagar Why? What is it for?

Why don't you change this logic? https://github.com/PX4/Firmware/blob/1d58caecbe02ae233dd2e8414950af48ef62061f/src/modules/mavlink/mavlink_receiver.cpp#L2622

@bkueng I don't understand what you mean. Do you understand why we don't accept messages until the source is initialized?

Do you understand why we don't accept messages until the source is initialized?

No, but if you were to remove the hrt_elapsed_time(&stime) > 3_s check for example, it would immediately set the source address as well.

This is a bit convoluted, let's try to track down the original intent.

This is a bit convoluted, let's try to track down the original intent.

All I can think of is that the original intent was that we can't send a UDP packet using sendto if we don't know where to send it to (duh). In that case it is now totally misplaced.

@dinomani can you try with the latest change?

@bkueng @dagar please review again, thanks.

From a MAVLink perspective any message that doesn't have its source set is a bug. You might assume you don't need to because there is only one source/recipient on a serial port, but the routing rules assume you'll forward any broadcast messages to other interfaces too.

@hamishwillee ok thanks for the comment. I'll keep it in mind. I believe this bug here is actually about the UDP IP source rather than the MAVLink source.

Ok cool thx Julien
Tested ion fmuv5x.
Mavlink on UART works again. Fmu is detected and loaded. Mavlink console works from QCG.
Mavlink on UDP still works.
Nsh on Telnet works aswell.

Thanks everyone. This one should probably be cherry-picked for v1.10 as well.

Going into v1.10 - #13301


Snapshot & QueryMetrics inconsistencies

I've been trying to use both the Snapshot func (from snapshot.go) and the QueryMetrics func (from series.go) and ran into issues trying to use QueryMetrics.
Example:
query := "sum:aws.elb.request_count{*}.as_count().rollup(sum)"

// assume client is valid initialized datadog api client and start / end are valid time.Time values
_, err := client.Snapshot(query, start, end, "")
if err != nil {
    fmt.Println(err)
}

_, err = client.QueryMetrics(start.Unix(), end.Unix(), query)
if err != nil {
    fmt.Println(err)
}

The implementation of Snapshot url-encodes the query value, whereas QueryMetrics just does:
 ..."?query="+query...
So unless you url-encode the query before sending to QueryMetrics, you'll get a 400 back from Datadog.
Possible solutions:

Document this different behavior in a comment / godoc somehow
Change implementation of QueryMetrics to match Snapshot
Change implementation of Snapshot to match QueryMetrics

I'd personally prefer option 2 (change implementation of QueryMetrics to match Snapshot) as it results in a simpler interface and easier to use for clients trying to use it.
I'll add a pull request with that approach.

Thanks for catching -- this change makes sense. I agree that making it simple for the user i.e. the library does the URL-encoding automatically makes the most sense.


Add the new bitwise builtins to the Plutus Core specification

The builtins described in CIP-0122 and CIP-0123 have all been added to the Plutus Core language, so we should add them to the specification too.

The and/or/xor operations do some padding or truncation if the inputs are of different lengths.  I specified that as happening at the left end of the input, but it should be the right.


Set next statement is unimplemented

import os

path = os.path.join("foo", "bar")
path = os.path.join("bar", "baz")

if path:  # (1) Set breakpoint here.
    path = os.path.join("baz", "boo")   # While stopped at (1), right click this line and choose Set Next Statement
pass

When you choose Set Next Statement, a dialog pops up saying this is unimplemented.

We're closing old issues with no activity. If this is still important, please open a new issue.


Changing ticksLabels does not update ticks labels

If I have something like ticksLabels=(concat min "," max), the ticks labels do not update if min/max changes.
Here is a twiddle reproducing the issue.

I can confirm this, as I ran into this issue today.


Option to connect to a PostgreSQL database with sslmode=verify-full and providing an sslrootcert

I am using AWS RDS PostgreSQL DB for my usecase. It requires a string like this:
"host=<hostname>.amazonaws.com port=5432 dbname=<dbname> user=<user> password=<password> connect_timeout=30 sslmode=verify-full sslrootcert=/rds.crt"
The rds.crt is downloaded from here: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html
I don't see any documented way of including the sslmode and sslrootcert parameters in the URL string.

I think you need to set the url to the following format:
"postgresql://password:user@hostname.amazonaws.com:5432/dbname?connect_timeout=30&sslmode=verify-full&sslrootcert=%2Frds.crt"

Which will result in the following database entry:
{
    "NAME": "dbname",
    "USER": "password",
    "PASSWORD": "user",
    "HOST": "hostname.amazonaws.com",
    "PORT": 5432,
    "OPTIONS": {
        "connect_timeout": "30",
        "sslmode": "verify-full",
        "sslrootcert": "/rds.crt",
    },
    "ENGINE": "django.db.backends.postgresql_psycopg2",
}

Yes, that works apparently. I checked the connection using tcpdump and seems that the connection is encrypted.


python: hello-world / JavaException when using DEBUG log level

Describe the bug
Turning on DEBUG logging causes exceptions with the hello-world example.

Actual behavior
The following error is shown (only first few lines):
Traceback (most recent call last):
File "DefaultSolver.java", line 200, in ai.timefold.solver.core.impl.solver.DefaultSolver.solve
Exception: Java Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/***/.virtualenvs/timefold/lib/python3.11/site-packages/timefold/solver/_solver.py", line 109, in solve
java_solution = self._delegate.solve(java_problem)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ai.timefold.jpyinterpreter.types.errors.ai.timefold.jpyinterpreter.types.errors.AttributeError: ai.timefold.jpyinterpreter.types.errors.AttributeError: object '08:30' does not have attribute 'strftime'
To Reproduce
diff --git a/python/hello-world/src/hello_world/main.py b/python/hello-world/src/hello_world/main.py
index 660f7430..4b60fade 100644
--- a/python/hello-world/src/hello_world/main.py
+++ b/python/hello-world/src/hello_world/main.py
@@ -10,7 +10,7 @@ from .domain import *
from .constraints import define_constraints
-logging.basicConfig(level=logging.INFO)
+logging.basicConfig(level=logging.DEBUG)
LOGGER = logging.getLogger('app')
Environment
Timefold Solver Version or Git ref:
1.11.0b0
Output of java -version:
openjdk version "17.0.11" 2024-04-16
OpenJDK Runtime Environment (build 17.0.11+9-suse-1504<IP_ADDRESS>-x8664)
OpenJDK 64-Bit Server VM (build 17.0.11+9-suse-1504<IP_ADDRESS>-x8664, mixed mode, sharing)
Output of uname -a or ver:
Linux think14 5.14.21-150500.55.65-default #1 SMP PREEMPT_DYNAMIC Thu May 23 04:57:11 UTC 2024 (a46829d) x86_64 x86_64 x86_64 GNU/Linux

Thanks for reporting, @Alex-K37! We'll take a look when time permits.


Detect if a hash contains properties not specified on a struct type

Given a type like var Point = struct({ x: Num, y: Num }) and a hash like var hash = {x: 1, y: 2, z: 3}, the result of Point(hash) is what you might expect {x: 1, y: 2}.
In the case where hash is being passed into my function, I would like to inform the caller (e.g. by throwing) if they provide an unexpected property like z.  Is this possible already?

This isn't part of tcomb currently. It would take a more expensive kind of check to make these sorts of assertions. You can see a minimal implementation of the struct combinator here http://gcanti.github.io/2014/09/29/javascript-types-and-sets.html.
// `struct` combinator
function struct(props) {
  // `Struct` constructor
  return function Struct(obj) {
    // makes Struct idempotent
    if ( obj instanceof Struct ) return obj;
    // makes new optional
    if ( !(this instanceof Struct) ) return new Struct(obj);
    // check input structure
    assert(isObject(obj));
    var ret = {};
    for (var name in props) {
      if (props.hasOwnProperty(name)) {
        var type = props[name];
        ret[name] = type(obj[name]); // check prop type and hydrate nested structures
      }
    }
    return Object.freeze(ret);
  };
}

Here we loop through all the Struct type's properties (ensuring we don't use inherited properties such as those provided by javascript to every object)
    for (var name in props) {
      if (props.hasOwnProperty(name)) {

Then we get the property value from the object provided to Struct constructor, pass it to relevant type and assign it to a property of an object that we eventually return.
var type = props[name];
        ret[name] = type(obj[name]); // check prop type and hydrate nested structures

So you can see that we use the list of keys from the type to retrieve the values from the provided object rather than the other way around.
This means that asserting the condition you are suggesting would take an extra check which wouldn't come too cheaply. The current way is just as "type safe" as it constrains provided objects to match the type. It doesn't warn you if you pass extraneous properties to the Struct constructor though.
I'd be interested to know what situations you're envisioning using this in though : ). Just because its an extra check doesn't mean it can't be done if its useful.

The current implementation treats the type like a shopping list and the provided object as a store. Tcomb doesn't complain if the store has things we don't need. It only complains if the store sells us something that was mislabeled or not what it seemed.

Yeah, I can definitely understand why the default isn't to throw on unexpected properties.  Since there's nothing built-in I'll implement my own check via meta (e.g. _.difference(_.keys(hash), _.keys(Point.meta.props))).


User error for some faulty peer multiaddresses

Create a user error for peer arguments to the daemon. The check does not guarantee a valid multiaddress, only that it can be turned into a Peer.t, which just does some simple string-splitting. The check should catch gross errors, like using a peer list file.
Example failure:
FATAL ERROR

  ☠  Coda Daemon encountered a configuration error decoding peer as a multiaddress.

The given peer "foobar" is not a valid multiaddress (ex: /ip4/IPADDR/tcp/PORT/p2p/PEERID)

Q: Why does our to_peer function for multiaddresses insist on IPv4?
Closes #7267.

I think we want to accept dns as well as ip4

Our peer list has dns4, in fact, and I see dns6 is a valid protocol. I added those, and ip6 to Multiaddres.to_peer.

I think we want to accept dns as well as ip4

Our peer list has dns4, in fact, and I see dns6 is a valid protocol. I added those, and ip6 to Multiaddres.to_peer.


chore(main): release 0.6.2

:robot: I have created a release beep boop
0.6.2 (2024-10-03)
Bug Fixes

updated sdk to 0.6.1 (aa25322)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.6.2
:sunflower:


Add Author, Genre, and Music classes Plus their Methods

In this PR I did the following:

Added   Author, Genre, and Music classes in separate files
Added the methods of each according to the UML diagram
Edited the main.rb according to the classes created
Fixed Linter errors

Status: Approved
Hi @GeekyHacks
Your project is complete! There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉


Return True before conditional check in _check_shape (common/tf_util.py)

Was the function intentionally return True?
https://github.com/openai/baselines/blob/23b2333238e9850a230f0fa3ce95497d4c6c418b/baselines/common/tf_util.py#L394

no, but turns out that current implementation of _check_shape returns False sometimes when it should return True. On the other hand, if it incorrectly returns True, most likely there would be a failure downstream anyways; that's why it was not high on a priority list to fix that. See discussion here:
https://github.com/openai/baselines/pull/571

Thanks! I will close the issue then.


jquery.inputmask.js not working in IE 11

Describe the bug
The browser throws Syntax Error. I guess it's because of arrow functions usage in file: https://github.com/RobinHerbots/Inputmask/blob/5.x/dist/inputmask.js

Right at the start there are multiple arrow functions. I guess this is what causes the issue.

Add a link to a codepen, jsfiddle or other example page which shows the problem
Unfortunately I can't add the link to jsfiddle or codepen because IE 11 is not supported on those js playgrounds but I'll try to find a way to provide the example.

OS: Windows 7, 8.1

Browser: Internet Explorer 11

Inputmask version: 5.0.6-beta.50 (latest as of now)

Thank you in advance! ❤

I fixed the issue.
Initially I took the jquery.inputmask.js from the dist/ folder on this repo, but it turns out the files are not transpiled to es5 syntax there.
Downloading plugin directly from npm solved the issue.

@bogdan0083 ,
Hmm that should also work when taking the files from the distfolder.
Probably is this causes by switching to the terser minification.  I will need to check this.

@bogdan0083 ,
5.0.6-beta.51 from the dist folder should work again.


POSIX _t Namespace Conflict

Not many people realize this, but POSIX reserves all identifiers with the suffix "_t". See http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html
I suspect people tend to use the _t suffix precisely because it's so ubiquitous in C and POSIX identifiers, but it's ubiquitous in those standards for the reason that it's supposed to avoid conflicts with other namespaces.

Hm, interesting, but the way I read it is that the restrictions stated there constrain implementations of POSIX and what implementation-specific symbols they can add to POSIX header files. AFAICS they do not constrain third-party libraries with independent header files.
For the Wasm API, all C names have consciously been given a wasm_ prefix, so I expect the potential for conflict to be minimal to non-existent.

The suffix is reserved for all POSIX and C headers. (Note the [CX], which means it's extending the C standard, which means its reserving for C headers as well.) If your code never includes a header like <stdlib.h>, then you're good. I've written C source file that didn't include any C or POSIX header. But if your code includes such a header and also defines identifiers (directly or indirectly) with the _t suffix, then there's potential for namespace clash, especially if you're defining them in headers to be used by other applications.
In practice few people know this, let alone obey it. But I figured standards should probably be neighborly.

FWIW, the use of _t in the API doesn't really add anything. For years, before I read and understood the standards, I thought _t was an idiom for scalar typedefs (integers, pointers) or more generally (in my rationalizations) POD types that could be copied by simple assignment, and that's how I always used it. IME most software that uses _t rarely uses it for aggregate objects like structs or unions. What originally clued me into the issue was how the pthreads API uses _t for aggregate objects, including ones that couldn't be copied, which seemed irregular until I learned that the whole point of _t was for namespacing, not readability.
That said, I only wanted to bring the issue to your attention. I don't care to bikeshed style. Feel free to dispose of this issue however you want ;)


[Bug]

Search before asking

[X] I searched the issues and found no similar issues.

Linkis Component
linkis-commons
What happened + What you expected to happen
运行Scripts的Mysql脚本报错\sql引擎报错
Mysql script running Scripts reports error\sql engine error

MYSQL Error Info：

com.webank.wedatasphere.linkis.orchestrator.ecm.exception.ECMPluginErrorException: errCode: 12003 ,desc: localhost:9101_0 Failed  to async get EngineNode RMErrorException: errCode: 11006 ,desc: Failed to request external resourceClassCastException: org.json4s.JsonAST$JNothing$ cannot be cast to org.json4s.JsonAST$JString ,ip: localhost ,port: 9101 ,serviceKind: linkis-cg-linkismanager ,ip: localhost ,port: 9104 ,serviceKind: linkis-cg-entrance at com.webank.wedatasphere.linkis.orchestrator.ecm.ComputationEngineConnManager.getEngineNodeAskManager(ComputationEngineConnManager.scala:157) ~[linkis-orchestrator-ecm-plugin-1.0.2.jar:?]

Relevent platform
`
Reproduction script
`
Anything else
This question comes from the QA documentation of the Linkis community
QA Link：https://docs.qq.com/doc/DSGZhdnpMV3lTUUxq
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Modify the correct yarn address in the linlsofkis_cg_rm_external_resource_provider table
linlsofkis_cg_rm_external_resource_provider表修改正确的yarn地址


Add a default restart policy that can be changed

Resolves Issue #172
I think I got all the files that would need to be changed.

This looks beautiful to me. @nigelgbanks / @dannylamb any objections to merging this?

Looks solid, existing users will get an error as there is no default value in the *.yml files. Though I don't think it's too much burden for them to check and update their .env when they pull to the latest and compare it against the sample.env.

@nigelgbanks I can update this was a default value. What do you want it to be?

@misilot it should match the same default as is used in sample.env for clarity's sake

I can do that. I had picked what made sense for me in there but wanted to make sure made sense. I could change the value when redoing this if it didn't make sense for the project.

@nigelgbanks a default value has been set


XRE-14362: Adding properties to VAP plugins

Reason for change: Adding properties required by Premium apps
for migration to rdkservices
Changes:

Introduced DeviceSettings based platform-implementation
for DisplayInfo & PlayerInfo to isolate IARM calls from
other platforms
Test Procedure: check ticket
Risks: Low
Signed-off-by: Vinod Jacob<EMAIL_ADDRESS>

rebasing


Updated index.html and changed it for better view.

Changed and updated the comments so to make it more readable. Also changed the mentors and developers name in Italics for better view.

Please only make PRs to things we need.


Allow Social Workers and Volunteer Coordinators to invite users

Hey guys!  Darcy is reporting that she can create a need but not a user.  Are you guys working on the back end that may have messed it up?

@SarahOMD If there was an error when she tried to create a user account could you get a screenshot from her? Was she logged in with her admin or her social worker account?

Before implementing scheduling we had a link that would allow Social Workers and Volunteer Coordinators invite people to the app. This link was never re-implemented after Needs scheduling was finished.

A friend and I would like to tackle this issue.
We spent about an hour setting up the project yesterday during our .02̅% time, which we successfully got running (docker-compose failed at first, since I was using docker-machine, instead of Docker CE, which handles mounts and networking so everything behaves as if it's local; perhaps the README should be updated to stress how important it is to use Docker CE instead of the alternative).
We will have another hour next Thursday to diagnose the bug and fix it.
This is just a declaration of intent in case this information is useful to you.

Thanks @habibalamin. How'd you find/choose to contribute to this project? Happy to have your contributions, just curious how you heard about it!
I feel that the readme does clearly state that Docker CE is required:
https://github.com/OfficeMomsandDads/scheduler/blob/a36a699572fe79b1942549bc0f9db9d8211a8558/README.md#L11-L12
I'm going to tackle this issue now because it's a critical one for @SarahOMD and team to continue their testing. Feel free to tackle another issue, when you have time. Looking forward to reviewing a PR from you!

Yes, the README does clearly state that, but someone could be forgiven, especially if they know just enough Docker, for assuming that their docker-machine setup would work just as well1. Perhaps stressing that it really does have to be Docker CE and that using docker-machine or some other alternative will just not work.
We found the project by searching the usual “Up For Grabs” labels on GitHub and limiting it to Ruby, then just clicking one we liked.

1. When I started looking into Docker a while back, even though I wasn't experienced, I preferred to start with docker-machine, simply because of the fact that I try to avoid software that relies on magic; I wasn't comfortable with what Docker CE was doing to make my host's whole home folder and its network transparently accessible to the ‘guest’, because I didn't know what it was doing; ironically, all this stuff made me uneasy because they were opaque to me

Cool, thanks for following up @habibalamin. Let me know if I can offer additional direction/detail on any open issues that you'd like to work on.
@SarahOMD this is working as expected now. Users can be invited following this link:


Minor tweak to how-to-build doc

Remove $ characters which should not be added to the file.

Thank you!


torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 86.00 MiB (GPU 0; 11.73 GiB total capacity; 11.04 GiB already allocated; 25.06 MiB free; 11.04 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

i set export PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:512 and i checked it is set, but still don't work. I don't know what else I can do.
specs:
NVIDIA GeForce RTX 4070 Ti
AMD Ryzen 7 5800X3D 8-Core Processor
Manjaro Linux

I think you need ~GB of free memory to allocate the entire module

well, the authors do not specify the minimum/recommended requirements and it's hard to choose. Of those available to the casual consumer and typical gamer, they have a maximum of 24 GB. I choose 7B model for clarify.

I think @WoxC is right, a minimum of 30G is perhaps required. As stated in the paper, we use A100s (80G per chip) in our experiments.


IOS App Crashes on launch when opened first by a Branch link

In the latest Unity Branch commit V0.3.24 "the one that fixed IOS @/# import bug"
When an App is being first opened by a Branch link in IOS, it crashes.
When an App is being sent to foreground after being suspended, it functions correctly.
"OurApp" is the name of our game app
////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////Error log//////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////
Thread 0 (crashed)
0   libsystem_kernel.dylib      >>>>>        __pthread_kill
1   libsystem_c.dylib        >>>>>           abort
2   OurApp              >>>>>              -[UnityPLCrashReporter generateLiveReportWithThread:]
3   OurApp           >>>>>                 UncaughtExceptionHandler(NSException*)
4   CoreFoundation           >>>>>           __handleUncaughtException
5   libobjc.A.dylib          >>>>>           _objc_terminate()
6   libc++abi.dylib          >>>>>           std::__terminate(void (*)())
7   libc++abi.dylib          >>>>>           __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception*)
8   libobjc.A.dylib          >>>>>           _objc_exception_destructor(void*)
9   CoreFoundation         >>>>>             -[NSException initWithCoder:]
10  OurApp                >>>>>            +[Branch setBranchKey:]
11  OurApp               >>>>>             +[Branch getInstance:]
12  OurApp            >>>>>                -[BranchUnityWrapper continueUserActivity:]
13  OurApp            >>>>>                -[BranchAppController application:continueUserActivity:restorationHandler:]
14  UIKit                >>>>>               -[UIApplication activityContinuationManager:continueUserActivity:]
15  UIKit              >>>>>                 -[UIActivityContinuationManager _continueUserActivity:]
16  UIKit               >>>>>                __72-[UIActivityContinuationManager handleActivityContinuation:isSuspended:]_block_invoke_3
17  UIKit               >>>>>                -[_UIApplicationModalProgressController _callAndClearDismissalHandlerWasDismissedByUser:]
18  UIKit              >>>>>                 -[_UIApplicationModalProgressController hideAfterMinimumUptimeWithDismissalHandler:]
19  UIKit              >>>>>                 -[UIApplication activityContinuationManager:hideProgressUIWithCompletion:]
20  UIKit              >>>>>                 -[UIActivityContinuationManager _endCurrentActivityContinuationWithCompletion:]
21  UIKit               >>>>>                __72-[UIActivityContinuationManager handleActivityContinuation:isSuspended:]_block_invoke_2
22  libdispatch.dylib       >>>>>            _dispatch_call_block_and_release
23  libdispatch.dylib       >>>>>            _dispatch_client_callout
24  libdispatch.dylib        >>>>>           _dispatch_main_queue_callback_4CF$VARIANT$mp
25  CoreFoundation         >>>>>             __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
26  CoreFoundation        >>>>>              __CFRunLoopRun
27  CoreFoundation         >>>>>             CFRunLoopRunSpecific
28  GraphicsServices      >>>>>              GSEventRunModal
29  UIKit           >>>>>                    UIApplicationMain
30  OurApp         >>>>>                   main
31  libdyld.dylib       >>>>>                start

////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////End of log//////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////
The issue holds with Unity Branch Demo.

@mahdiRemal , what Unity3d version do you use?

Unity 5.6.2f1

+1, i'm seeing this too.
Unity 5.6.1f1 xcode 8.3.3

@mahdiRemal , @shirkan
check please your Branch prefab,
I was able to reproduce that issue when I set prefab fields with empty values.

My branch prefab isn't empty, attaching images of the prefab and the BranchData.asset.

I have the same fields filled in Branch prefab as @shirkan, Unity 5.6.2f1, and I'm using Xcode V9.0

@mahdiRemal , @shirkan
something strange happens, I have no this issue,
try please delete IOS build and make new from scratch
I am going to create new project from scratch, may be I will be able to catch this issue.

Also, can you describe me your steps to reproduce that issue?
My steps:

Click Branch link
Start building and running from xcode
Then I move the app to background and click link again
Then I close the app and click link again

I created new project with Branch plugin, all is ok.
Unity 5.6.2f1 + xcode 9

I'm using unity cloud build, not local building

I experience the crash after the app is already installed and NOT open. I click on a branch link in my iOS device and the app is starting, but crashing onky after a few seconds.

let's try this way:

open Branch.cs
goto row 411
comment that rows
if (BranchData.Instance.testMode) {
               _setBranchKey(BranchData.Instance.testBranchKey);
	}
	else {
		_setBranchKey(BranchData.Instance.liveBranchKey);
	}

@antonargunov This makes the app crash even when starting it normally, without clicking a branch link.

commenting the lines in Branch.cs
if (BranchData.Instance.testMode) {
_setBranchKey(BranchData.Instance.testBranchKey);
}
else {
_setBranchKey(BranchData.Instance.liveBranchKey);
}

causes the app to crash at launch in all cases, just like what @shirkan commented.
I've tried to Delete All Branch files and reimport using the unity package, this too didn't solve the problem, and the same crash with first time open through branch link occurs.
And finally, I've tried to build a clean empty unity project and only included Branch unity package.
and I still experience the same issue of crash in first launch through branch link.
So to generate the crash:

make sure the app is not running in the background
["double tap the home button" in most IOS iphones to see the list of background suspended apps, and swipe up to dismiss/close the app that is running], now sense the app is not running in the background, simply trigger its open from a branch link, and the crash should occur.

Tested on iPhone 5s, IOS 11.0.1, Unity 5.6.2f1, and Xcode 9.0, using whatsapp application as the app that contains the branch link that will open the unity project with branch package.
here is another log unmodified generated from the empty Unity App with only branch package:
the device name used is "Kammelna’s iPhone"
Oct 19 13:28:19 Kammelnas-iPhone ReportCrash(CrashReporterSupport)[1822] <Notice>: Notice: This report is abbreviated for syslog inclusion because it could not be saved to disk.
Symbolication may be possible by manually cleaning up and including the Binary Image section of a full report from this same device -- good luck!
Oct 19 13:28:19 Kammelnas-iPhone ReportCrash(CrashReporterSupport)[1822] <Notice>: Process:             kammelna [1821]
Path:                /private/var/containers/Bundle/Application/3B5338AE-4C4B-4094-ACAE-717CA59723DE/kammelna.app/kammelna
OS Version:          iPhone OS 11.0.1 (15A402)
Oct 19 13:28:19 Kammelnas-iPhone ReportCrash(CrashReporterSupport)[1822] <Notice>: Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Triggered by Thread:  0
Oct 19 13:28:19 Kammelnas-iPhone ReportCrash(CrashReporterSupport)[1822] <Notice>: Application Specific Information:
abort() called
Oct 19 13:28:19 Kammelnas-iPhone SpringBoard(SplashBoard)[53] <Notice>: [net.whatsapp.WhatsApp] Snapshot data for <XBApplicationSnapshot: 0x13764ff20; \M-b\M^@\M-&958DB75F9B5F> written to file<EMAIL_ADDRESS>Oct 19 13:28:19 Kammelnas-iPhone ReportCrash(CrashReporterSupport)[1822] <Notice>: Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib        	0x0000000181f75348 0x181f54000 + 136008
1   libsystem_pthread.dylib       	0x0000000182089354 0x182086000 + 13140
2   libsystem_c.dylib             	0x0000000181ee4fd8 0x181e82000 + 405464
3   libc++abi.dylib               	0x0000000181948068 0x181946000 + 8296
4   libc++abi.dylib               	0x0000000181948210 0x181946000 + 8720
5   libobjc.A.dylib               	0x0000000181970810 0x181968000 + 34832
6   libc++abi.dylib               	0x000000018196054c 0x181946000 + 107852
7   libc++abi.dylib               	0x000000018195fea8 0x181946000 + 106152
8   libobjc.A.dylib               	0x000000018197065c 0x181968000 + 34396
9   CoreFoundation                	0x000000018245bc80 0x18231a000 + 1318016
10  kammelna                      	0x000000010100f93c 0x100cb0000 + 3537212
11  kammelna                      	0x000000010100eb68 0x100cb0000 + 3533672
12  kammelna                      	0x0000000101<\M-b\M^@\M-&>
Oct 19 13:28:19 Kammelnas-iPhone ReportCrash(CrashReporterSupport)[1822] <Notice>: Thread 1:
0   libsystem_pthread.dylib       	0x0000000182086c2c 0x182086000 + 3116
Oct 19 13:28:19 Kammelnas-iPhone ReportCrash(CrashReporterSupport)[1822] <Notice>: Thread 2:
0   libsystem_kernel.dylib        	0x0000000181f75dbc 0x181f54000 + 138684
1   libsystem_pthread.dylib       	0x0000000182086fb0 0x182086000 + 4016
2   libsystem_pthread.dylib       	0x0000000182086c30 0x182086000 + 3120
Oct 19 13:28:19 Kammelnas-iPhone ReportCrash(CrashReporterSupport)[1822] <Notice>: Thread 3:
0   libsystem_kernel.dylib        	0x0000000181f75dbc 0x181f54000 + 138684
1   libsystem_pthread.dylib       	0x0000000182086fb0 0x182086000 + 4016
2   libsystem_pthread.dylib       	0x0000000182086c30 0x182086000 + 3120
Oct 19 13:28:19 Kammelnas-iPhone ReportCrash(CrashReporterSupport)[1822] <Notice>: Thread 4:
0   libsystem_pthread.dylib       	0x0000000182086c2c 0x182086000 + 3116
Oct 19 13:28:19 Kammelnas-iPhone ReportCrash(CrashReporterSupport)[1822] <Notice>: Thread 5:
0   libsystem_pthread.dylib       	0x0000000182086c2c 0x182086000 + 3116
Oct 19 13:28:19 Kammelnas-iPhone ReportCrash(CrashReporterSupport)[1822] <Notice>: Thread 6 name:  com.apple.uikit.eventfetch-thread
Thread 6:
0   libsystem_kernel.dylib        	0x0000000181f54bc4 0x181f54000 + 3012
1   libsystem_kernel.dylib        	0x0000000181f54a3c 0x181f54000 + 2620
2   CoreFoundation                	0x0000000182403ce4 0x18231a000 + 957668
3   CoreFoundation                	0x00000001824018b0 0x18231a000 + 948400
4   CoreFoundation                	0x00000001823222d8 0x18231a000 + 33496
5   Foundation                    	0x0000000182d4a6e4 0x182d3e000 + 50916
6   Foundation                    	0x0000000182d69afc 0x182d3e000 + 178940
7   UIKit                         	0x000000018c41b02c 0x18b85c000 + 12316716
8   Foundation                    	0x0000000182e4b860 0x182d3e000 + 1103968
9   libsystem_pthread.dylib       	0x000000018208832c 0x182086000 + 9004
10  libsystem_pthread.dylib       	0x00000001820881f8 0x182086000 + 8696
11  libsystem_pthread.dylib       	0x0000000182086c38 0x182086000 + 3128
Oct 19 13:28:19 Kammelnas-iPhone ReportCrash(CrashReporterSupport)[1822] <Notice>: Thread 7 name:  GC Finalizer
Thread 7:
0   libsystem_kernel.dylib        	0x0000000181f75150 0x181f54000 + 135504
1   libsystem_pthread.dylib       	0x000000018208ad40 0x182086000 + 19776
2   kammelna                      	0x00000001015a3ac0 0x100cb0000 + 9386688
3   kammelna                      	0x0000000101589d84 0x100cb0000 + 9280900
4   kammelna                      	0x00000001015a082c 0x100cb0000 + 9373740
5   kammelna                      	0x00000001015a4200 0x100cb0000 + 9388544
6   libsystem_pthread.dylib       	0x000000018208832c 0x182086000 + 9004
7   libsystem_pthread.dylib       	0x00000001820881f8 0x182086000 + 8696
8   libsystem_pthread.dylib       	0x0000000182086c38 0x182086000 + 3128
Oct 19 13:28:19 Kammelnas-iPhone ReportCrash(CrashReporterSupport)[1822] <Notice>: Thread 8 name:  BatchDeleteObjects
Thread 8:
0   libsystem_kernel.dylib        	0x0000000181f54c00 0x181f54000 + 3072
1   libdispatch.dylib             	0x0000000181de33d4 0x181de0000 + 13268
2   libdispatch.dylib             	0x0000000181de3d84 0x181de0000 + 15748
3   kammelna                      	0x00000001012b266c 0x100cb0000 + 6301292
4   kammelna                      	0x00000001011f7b20 0x100cb0000 + 5536544
5   kammelna                      	0x00000001012b1bbc 0x100cb0000 + 6298556
6   libsystem_pthread.dylib       	0x000000018208832c 0x182086000 + 9004
7   libsystem_pthread.dylib       	0x00000001820881f8 0x182086000 + 8696
8   libsystem_pthread.dylib       	0x0000000182086c38 0x182086000 + 3128
Oct 19 13:28:19 Kammelnas-iPhone ReportCrash(CrashReporterSupport)[1822] <Notice>: Thread 9 name:  AsyncReadManager
Thread 9:
0   libsystem_kernel.dylib        	0x0000000181f54c00 0x181f54000 + 3072
1   libdispatch.dylib             	0x0000000181de33d4 0x181de0000 + 13268
2   libdispatch.dylib             	0x0000000181de3d84 0x181de0000 + 15748
3   kammelna                      	0x000000010110a804 0x100cb0000 + 4564996
4   kammelna                      	0x000000010110a5bc 0x100cb0000 + 4564412
5   kammelna                      	0x00000001012b1bbc 0x100cb0000 + 6298556
6   libsystem_pthread.dylib       	0x000000018208832c 0x182086000 + 9004
7   libsystem_pthread.dylib       	0x00000001820881f8 0x182086000 + 8696
8   libsystem_pthread.dylib       	0x0000000182086c38 0x182086000 + 3128
Oct 19 13:28:19 Kammelnas-iPhone ReportCrash(CrashReporterSupport)[1822] <Notice>: Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x00000001c40f25b7
    x4: 0x0000000181965afd   x5: 0x000000016f14d300   x6: 0x000000000000006e   x7: 0xffffffffffffffec
    x8: 0x0000000008000000   x9: 0x0000000004000000  x10: 0x000000018208d63c  x11: 0x0000000000000003
   x12: 0xffffffffffffffff  x13: 0x0000000000000001  x14: 0x0000000181efb557  x15: 0x0000000000000010
   x16: 0x0000000000000148  x17: 0x00000000ffffffff  x18: 0x0000000000000000  x19: 0x0000000000000006
   x20: 0x00000001b2e1bb80  x21: 0x000000016f14d300  x22: 0x0000000000000303  x23: 0x00000001b2e1bc60
   x24: 0x00000001b2e1bc60  x25: 0x0000000000000014  x26: 0x00000001c0461f00  x27: 0x0000000000000000
   x28: 0x0000000002ffffff   fp: 0x000000016f14d260   lr: 0x0000000182089354
    sp: 0x000000016f14d230   pc: 0x0000000181f75348 cpsr: 0x00000000
Oct 19 13:28:19 Kammelnas-iPhone callservicesd[127] <Notice>: Updated isRunning for <private> because new application state is 4
Oct 19 13:28:19 Kammelnas-iPhone homed(HomeKitDaemon)[149] <Notice>: Received app state changed with info {
    BKSApplicationStateAppIsFrontmost = 0;
    BKSApplicationStateExtensionKey = 0;
    SBApplicationStateDisplayIDKey = "net.whatsapp.WhatsApp";
    SBApplicationStateKey = 4;
    SBApplicationStateProcessIDKey = 1779;
    SBApplicationStateRunningReasonsKey =     (
                {
            SBApplicationStateRunningReasonAssertionIdentifierKey = "FBSceneSnapshotAction:net.whatsapp.WhatsApp";
            SBApplicationStateRunningReasonAssertionReasonKey = 4;
        },
                {
            SBApplicationStateRunningReasonAssertionIdentifierKey = Suspending;
            SBApplicationStateRunningReasonAssertionReasonKey = 10001;
        },
                {
            SBApplicationStateRunningReasonAssertionIdentifierKey = "Called by UIKit, from <redacted>";
            SBApplicationStateRunningReasonAssertionReasonKey = 4;
        },
                {
            SBApplicationStateRunningReasonAssertionIdentifierKey = "Called by UIKit, from <redacted>";
            SBApplicationStateRunningReasonAssertionReasonKey = 4;
        },
                {
            SBApplicationStateRunningReasonAssertionIdentifierKey = "Called by UIKit, from <redacted>";
            SBApplicationStateRunningReasonAssertionReasonKey = 4;
        }
    );
    SBMostElevatedStateForProcessID = 4;
}

@mahdiRemal ,
delete your branch key etc. and send me please your "empty" project

@mahdiRemal , @shirkan
let's try this way:

Open BranchPostProcessBuild.cs
goto row 117
comment rows
else if (line.Contains("CLANG_ENABLE_MODULES") ) {
fCurrentXcodeProjFile.Write("\t\t\t\tCLANG_ENABLE_MODULES = YES;\n");
}

There you go @antonargunov:
https://drive.google.com/drive/folders/0ByYNJCzcr2yZUUozdFhZSlFJS1E?usp=sharing
In this shared folder there is the .zip for the compiled Xcode project "kinda useless but maybe helpful in debugging", and a .zip file for the "not too empty" Unity project with Branch Unity Package only.
I hope they help...

@antonargunov I'll give it a try but I strongly doubt it will change something. I see that PBXProject.cs and another SDK post processor script is setting CLANG_ENABLE_MODULES to YES...

@mahdiRemal , thank you, I will try
@shirkan , as I understood, you use Unity cloud for building, UCB had an issue with Soomla plugin (you can try to find info); that issue was because Soomla used custom compile flag in xcode project. Try please changed postprocess script with UCB.

@antonargunov, regarding your latest suggestion to:
comment rows
else if (line.Contains("CLANG_ENABLE_MODULES") ) {
fCurrentXcodeProjFile.Write("\t\t\t\tCLANG_ENABLE_MODULES = YES;\n");
}

in BranchPostProcessBuild.cs
I've tried that and it seems to have no effect on the issue, such that the same behavior before commenting the lines is exhibited.
Branch Links crash the app when they are used first to open it, and they resume the app correctly when the app is in the background.

@mahdiRemal , I sent a request to access to your zip file.

@antonargunov,  done, sorry for the inconvenience!

@antonargunov Just did, same result. Also, I see that the bug Soomla (which no longer exists for more than a year I think) was fixed in UCB. Anyways, it happens also with local build so I guess this is not the problem here.

@mahdiRemal , @shirkan
I have no this issue in test projects from @mahdiRemal .
Something strange happens.
I will ask you to try our ios native testbed:
https://github.com/BranchMetrics/ios-branch-deep-linking

@antonargunov Please supply exact steps what to do

@shirkan ,

download Branch IOS TestBed from github https://github.com/BranchMetrics/ios-branch-deep-linking
open Branch-TestBed.xcworkspace
set your params for deep linking in Branch-TestBed-Info.plist
build and launch

I want to check if native testbed has this issue

@antonargunov, I've downloaded Branch IOS TestBed, provided my game app key in the info.plist, and applinks: in the associated domains capability, configured the provisioning profiles to mine, and it worked perfectly...
The issue is no longer there, and I was able to open the app from branch links or resume the app from the background with no crashes. Also old links I created for the game was correctly launching the test bed.
So it seems that IOS TestBed is working fine "As Expected".

@mahdiRemal , thanks

@mahdiRemal , @shirkan
try please this version of plugin
https://www.dropbox.com/s/sl5ocp404exydxi/BranchUnityWrapper.unitypackage?dl=0

Hi @antonargunov, I've tried the early version "0.3.25" BranchUnityPackage you shared through Dropbox, and Sadly, the issue is still there, with no difference.
Here are some more crash analytics we record of our app, some of them may be related to this issue:
Native Crash - __pthread_kill (Unknown File)
Thread 0 (crashed)
0   libsystem_kernel.dylib              __pthread_kill
1   libsystem_c.dylib                   abort
2   OurApp                            <symbols missing for uuid: 4498c6d01882394fa5c1299da538bb5d>
3   OurApp                            <symbols missing for uuid: 4498c6d01882394fa5c1299da538bb5d>
4   CoreFoundation                      __handleUncaughtException
5   libobjc.A.dylib                     _objc_terminate()
6   libc++abi.dylib                     std::__terminate(void (*)())
7   libc++abi.dylib                     std::terminate()
8   libdispatch.dylib                   _dispatch_client_callout
9   libdispatch.dylib                   _dispatch_block_invoke_direct$VARIANT$mp
10  FrontBoardServices                  __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__
11  FrontBoardServices                  -[FBSSerialQueue _performNext]
12  FrontBoardServices                  -[FBSSerialQueue _performNextFromRunLoopSource]
13  CoreFoundation                      __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
14  CoreFoundation                      __CFRunLoopDoSource0
15  CoreFoundation                      __CFRunLoopDoSources0
16  CoreFoundation                      __CFRunLoopRun
17  CoreFoundation                      CFRunLoopRunSpecific
18  GraphicsServices                    GSEventRunModal
19  UIKit                               UIApplicationMain
20  OurApp                            <symbols missing for uuid: 4498c6d01882394fa5c1299da538bb5d>
21  libdyld.dylib                       start

Native Crash - <symbols missing for uuid: 4498c6d01882394fa5c1299da538bb5d> (Unknown File)
Thread 0 (crashed)
0   OurApp                            <symbols missing for uuid: 4498c6d01882394fa5c1299da538bb5d>
1   OurApp                            <symbols missing for uuid: 4498c6d01882394fa5c1299da538bb5d>
2   OurApp                            <symbols missing for uuid: 4498c6d01882394fa5c1299da538bb5d>
3   OurApp                            <symbols missing for uuid: 4498c6d01882394fa5c1299da538bb5d>
4   OurApp                            <symbols missing for uuid: 4498c6d01882394fa5c1299da538bb5d>
5   OurApp                            <symbols missing for uuid: 4498c6d01882394fa5c1299da538bb5d>
6   UIKit                               <system symbols missing>
7   UIKit                               <system symbols missing>
8   libdispatch.dylib                   <system symbols missing>
9   libdispatch.dylib                   <system symbols missing>
10  libdispatch.dylib                   <system symbols missing>
11  libdispatch.dylib                   <system symbols missing>
12  libdispatch.dylib                   <system symbols missing>
13  CoreFoundation                      __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
14  CoreFoundation                      __CFRunLoopRun
15  CoreFoundation                      CFRunLoopRunSpecific
16  GraphicsServices                    GSEventRunModal
17  UIKit                               <system symbols missing>
18  OurApp                            <symbols missing for uuid: 4498c6d01882394fa5c1299da538bb5d>
19  libdyld.dylib                       <system symbols missing>

Native Crash - CFDictionaryGetValue (Unknown File)
Thread 0 (crashed)
0   CoreFoundation                      CFDictionaryGetValue
1   Foundation                          _NSSetBoolValueAndNotify
2   AVFoundation                        -[AVPlayerItem _updateVideoSuppressionOnFigPlaybackItem:basedOnOutputs:]
3   AVFoundation                        __58-[AVPlayerItem(AVPlayerItemOutputs) _evaluateVideoOutputs]_block_invoke
4   libdispatch.dylib                   _dispatch_call_block_and_release
5   libdispatch.dylib                   _dispatch_client_callout
6   libdispatch.dylib                   _dispatch_queue_serial_drain$VARIANT$mp
7   libdispatch.dylib                   _dispatch_queue_invoke$VARIANT$mp
8   libdispatch.dylib                   _dispatch_main_queue_callback_4CF$VARIANT$mp
9   CoreFoundation                      __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
10  CoreFoundation                      __CFRunLoopRun
11  CoreFoundation                      CFRunLoopRunSpecific
12  GraphicsServices                    GSEventRunModal
13  UIKit                               UIApplicationMain
14  OurApp                            <symbols missing for uuid: 4498c6d01882394fa5c1299da538bb5d>
15  libdyld.dylib                       start

Notice that UIKit was one of the packages that were changed with the latest “@/# import” bug…
could that be related somehow?

@mahdiRemal try please branch plugin in empty project

@antonargunov - I experience the same issue with SDK v0.3.25 as well.

@antonargunov, I've used the SDK in a new empty unity project, and the issue persists.
While trying debugging our App, I think I've found the issue in one of the logs, or at least something really close to it...
Oct 25 10:48:07 My-iPhone OurApp[2462] <Notice>: Uncaught exception: NSInternalInconsistencyException: Invalid Branch key format. Passed key is ''.
(
	0   CoreFoundation                      0x000000018245bd50 <redacted> + 148
	1   libobjc.A.dylib                     0x0000000181970528 objc_exception_throw + 56
	2   CoreFoundation                      0x000000018245bc80 <redacted> + 0
	3   OurApp                            0x000000010089f73c +[Branch setBranchKey:] + 536
	4   OurApp                            0x000000010089e968 +[Branch getInstance:] + 28
	5   OurApp                            0x0000000100898268 -[BranchUnityWrapper continueUserActivity:] + 56
	6   OurApp                            0x0000000100891d48 -[BranchAppController application:continueUserActivity:restorationHandler:] + 76
	7   UIKit                               0x000000018bad1260 <redacted> + 168
	8   UIKit                               0x000000018be34814 <redacted> + 76
	9   UIKit                               0x000000018be3558c <redacted> + 72
	10  UIKit
Oct 25 10:48:07 My-iPhone OurApp(CoreFoundation)[2462] <Notice>: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid Branch key format. Passed key is ''.'
*** First throw call stack:

As it seems the problem is bound to specific branch keys, this may explain why you couldn't reproduce it...
Also, it's good to note that our Branch key works fine in  Unity Android, and in Native IOS...
Hope this log can make some progress.

@mahdiRemal

Also, it's good to note that our Branch key works fine in Unity Android, and in Native IOS...
And of course it works fine in Unity IOS if the app was running in background.

+1, exactly what I'm experiencing.
@antonargunov - is it possible this issue is related to some server-side configuration at your end? The crash is happening quite fast when trying to start the app, so I highly doubt it, but still, it might worth checking, isn't it?

@mahdiRemal
Open please xcode project:

do you have "branch_key" value in plist?
do you have "_branchKey" value in BranchiOSWrapper.mm?

I've checked my info.plist, and it seem to include the branch_key correctly:

I've also checked the _branchKey value and it looks like this:

probably that wasn't helpful.
I also noticed that I had this comment from Xcode, in BranchiOSWrapper.mm :

I'm not sure how I can debug these values at runtime, if you'd like me to do so, can you give me a brief description, if that helps...

@mahdiRemal

Open Unity3d project
Make some changes in Branch prefab (for example: add symbol and then delete symbol)
You will see to buttons "Update IOS Wrapper" and "Update Android Manifest"
Tap both

"Update IOS Wrapper " will add branch key into _branchKey variable in BranchiOSWrapper.mm
"Update Android Manifest" will add changes into manifest or will create new (if you don't have manifest at all)

All will work nice.
Note: or you can add value into _branchKey manually

@antonargunov Excellent, works great for me. Please note, whenever Branch SDK is updated, these settings are overridden (also BranchData.asset). You should clearly state it in your docs, or even better, think about a way to fix it. This is an ugly pitfall for the users.
Thanks for your dedicated support.
Cheers.

Yep, it finally worked, The solution is rather very simple, I feel ashamed that I fell into it, even when I recreated a new branch unity project.
What made the issue worse was its symptoms "works on background, but not fresh launches".
+1 important note from @shirkan

Please note, whenever Branch SDK is updated, these settings are overridden (also BranchData.asset). You should clearly state it in your docs, or even better, think about a way to fix it. This is an ugly pitfall for the users.

Thanks a lot for your efforts with us @antonargunov, also thanks for your time and helpful @shirkan.

The issue is resolved.
So what we learned from this issue is that with every Branch update you do, don't forget to press on (Update IOS Wrapper). hopefully that get's automated soon.


pull request for e2e test at 01/09/2017 17:26:11

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add your amazing Web Development projects !!

Raise genuine PRs with your project and make sure to update the project_doc  available in the project folder with the name of your project and its description.

 It is built with simple HTML, CSS and Vanilla JS. Also, I can add few more features to existing model of mine.

I have added my Web Development project (pull request - #81 )
If you find this suitable please merge my pull request.

I have added my Web Development project
If you find this suitable please merge my pull request.


Add clarification for setting frequency defaults

Resolves: oneapi-src/level-zero-spec#242
Signed-off-by: Will Damon<EMAIL_ADDRESS>

Reviewed live with @sanilkumar0, everything checks out.


Client should warn about insufficient stake when registering a baker

Description
Client should warn when registering as baker with insufficient stake. Right now, the transaction fails eventually without warning. In contrast, when updating stake, it talks a lot about the correct amount etc.

Steps to Reproduce

register as baker with insufficient stake

Expected Result
Client informs before submitting to chain.
Actual Result
Client does not warn before submitting to chain.
Versions

CLI 1.1.1-0

Good catch. I removed the "Windows" label since this is a cross-platform deficiency.


pyodbc is silently swallowing permissions errors

Environment

Python: 2.7 64 bit
pyodbc: v4.0.24
OS: Windows 10 and Window 2008 R2
DB: SQL 2014
driver: ODBC Driver 17 for SQL Server

Issue
When calling a stored procedure using the following syntax cur.execute( "exec [procname] ?", [paramvalue] ), a permissions error is getting silently swallowed and the underlying transaction is being rolled back with no errors. Python is just continuing as if no errors occurred. When executing the same stored procedure in SQL Server management studio, the following error is returned:
Msg 1088, Level 16, State 12, Procedure [ProcName], Line 149 [Batch Start Line 1]
Cannot find the object "[ObjectName]" because it does not exist or you do not have permissions.

Likely duplicate of #69

Yes, it is a duplicate. I went through #69 and the steps to resolve in there worked.


Battery module doesn't work with format-icons object

Using the following configuration for the battery module, nothing is displayed during either charging or discharging. I had a good look through ALabel.cpp and I'm pretty sure this config should work just fine, but nothing shows up. If I change "default" to "discharging", then the capacity percentage at least shows while charging or discharging, but no icons are shown. If I replace format-icons with a plain array of icons, then everything works fine, but I'd like to have a different array depending on the battery status (charging/discharging).
"battery": {
        "bat": "BAT0",
        "adapter": "AC",
        "states": {
            // "good": 95,
            "warning": 25,
            "critical": 15
        },
        "format": "{icon} {capacity}%",
        "format-icons": {
            "default": ["󰂎", "󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹"],
            "charging": ["󰢟", "󰢜", "󰂆", "󰂇", "󰂈", "󰢝", "󰂉", "󰢞", "󰂊", "󰂋", "󰂅"]
        }
    }

maybe I am wrong but  changig fmt::arg("icon", getIcon(capacity, state)) to fmt::arg("icon", getIcon(capacity, status)) on line 183 in src/modules/battery.cpp should work. Now the question is: is the currenly implemented behavior the desired one or not..only the dev can say.

Weird this should be fixed a long time ago,
https://github.com/Alexays/Waybar/blob/14a6cec6d1dbcd6e9a5cd64d8b0ca69c17a7b1e1/src/modules/battery.cpp#L204
And the line you referencing @heiserhorn doesnt exsit anymore :/

yes @Alexays I mistakenly referenced a previous version.
What should be the syntax then to have two different sets of icons for example for charging vs default?

The strange thing is that I believe the relevant code is the same for pulseaudio and battery, yet the former works while the latter does not.


web_sys: CanvasRenderingContext2d.set_transform_with_dom_matrix()

Motivation
I need to set a transform in a CanvasRenderingContext2d using a DomMatrix as I'm loading one from ctx.get_transform()
Proposed Solution
Add a set_transform function that takes in a DomMatrix.
Additional Context
MDN: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/setTransform

Working on a project using https://docs.rs/glm/0.2.3/glm/index.html
A Rust port of the GLM https://github.com/g-truc/glm. Should be a more powerful api than DOMMatrix and benefiting from wasm with low performance overhead. Maybe the largest benefit of Rust glm is that is integrated into the Rust sw stack, e.g. with clone, scalar multiplication and so forth.

Well that doesn't matter does it? The entire reason I need it is just for this code:
let transform = ctx.get_transform();
ctx.transform(blah blah blah);
ctx.begin_path(blah)
ctx.fill();
ctx.set_transform(transform);

I don't actually care about what the transform is or do any manipulations on it.

Ok, have just used DOMMatrix for manipulations of transforms and for that glm seemed more powerful.

I don't see any reason to actually use DOMMatrix for transform manipulation to be honest, any actual Rust library is going to be significantly more convenient and powerful.

Sorry was mistaken about the lib above. Should be https://docs.rs/cgmath/0.18.0/cgmath/ instead of glm

At this point maybe the MDN documentation could seem a little dull. Instead looking at https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-settransform
Actually listed a simple one-to-one mapping between DOMMatrix and [a, b, c, d, e , f] values from CanvasRenderingContext2d.set_transform. So maybe a low-hanging fruit to use this mapping from Rust to do a set_transform(DOMMatrix).


add additional R workflows  and r fxns to set them up

[x] reusable packagedown workflow (based on https://github.com/ss3sim/ss3sim/blob/main/.github/workflows/pkgdown.yaml)
[ ] building bookdown workflow (needed for SSMSE)
[x] running document() workflow (would be used by all our R pkgs

We also want to create a basic R function like usethis does, so that users can easily set up to use the reusable workflow in their own R package that already exists.

@kellijohnson-NOAA , do you know of a repo that uses gh actions to build bookdown and deploy to gh pages? I'm having trouble getting the r-lib example one working.

I have one working in SSMSE now: https://github.com/nmfs-fish-tools/SSMSE/blob/1d0dd45bc550f536564fb9e04532b1d5d8110656/.github/workflows/update-bookdown.yml
Will need to make more general (e.g., location of rmd files, where to render and deploy to ) for this repo

This GitHub search came up with 505 examples. Where, tidyverse has an example and bioconductor has another example.

Closing this issue and opening a new one for improving the bookdown workflow.


Change page size assertion to match newer Chrome files

This patch changes the page size assertion for our size: :a4 test, as more recent Chrome/Skia versions generate slightly wider pages. It's still detected as A4 by pdfinfo though, and I don't think anyone will notice, so this should be fine.
To exactly pinpoint which version of Chrome brought the change, I'd need to bisect Chrome versions, but TBH I don't think we gain much from the information.
Example
Both of these files were generated by the same command and analyzed using the same pdfinfo machine (on my host):
[content: "
Hello
", size: :a4]
|> ChromicPDF.Template.source_and_options()
|> ChromicPDF.print_to_pdf(output: "file.pdf")

Chrome
File
pdfinfo
Screenshot

v90
chrome90.pdf

v108
chrome108.pdf

Also noteworthy that the file size is significantly lower in the v108-generated one, though that could be caused by a different default font being chosen on my machine vs. the docker container where I generated the v90 one. Apparently the font on my host is not embedded into the PDF? Could also be a bug that more recent Chrome's don't embed the fonts anymore oO
🤷

Could also be a bug that more recent Chrome's don't embed the fonts anymore oO

@andreasknoepfle verified in one of our projects that recently generated files match the file size of older files, and evince (pdf viewer) confirms that all fonts are embedded, so we should be good


Update RuboCop to v0.90

Hi @deivid-rodriguez,
Thanks for your awesome work! ❤
This PR updates RuboCop to v0.90.0 and fixes the obsolete configuration in .rubocop.yml.
It also adds rubocop-packaging and activates the cops provided by the Packaging extension.
Signed-off-by: Utkarsh Gupta<EMAIL_ADDRESS>

Hey @deivid-rodriguez,
The failing test on windows/test (head) is because it takes ruby3.0 due to which simplecov_html is not compatible.
Not sure how to go about this here?
Should we mark the "head" tests as expected to fail or something? I am not sure. Could you take a look?

Hi @utkarsh2102, sorry for the delay! I'm going to try loop back to byebug the next week!


Bringing Geppetto to life.

I understand that Geppetto is based off of backbone, but I think it is a lot more than that.  I am not really a "developer", but I am learning to be. Up until now I really just pushed things around until I got what I needed out of them. Through the process of attempting to digest the ideas behind this framework I started to understand how "all-in-one" frameworks have been crippling my ability to create things and truly understand them.  Ever since @creynders used the term the "triumvirate" to explain Geppetto things have started to make so much sense.  I really think there is truth behind the idea that programming is about distilling your logic into 3 core ideas per "plane" of thought.  MVC has held true since the 70s for a reason and really think it has a lot to do with the fact that it distilled your overall logic into 3 groups. The things that occupy the M, V and C likely have a large role, but it is evident the the C is very subjective.
What if Geppetto defines itself as "The Triumvirate Framework" and really aims to stick to that concept.  I mean it is right there already anyway.  I understand that it is built upon backbone, but it is a lot more than that in my mind.
To me it is this...
1. The Skeleton
The first layer is a Skeleton which starts you off with three core class types which are the basis of how you would break up anything being built for human interaction.  I feel backbone is spot on with the idea  that those class types are Models, Views and Collections. (To me "controllers" are a relatively crippling idea when your objective is likely to evolve as you learn)  Effectively this layer is the spring board of the creators vision.
2. The Library
The second layer is the Library of extensions of those classes that keep up with the state of UI that people are currently accustomed to building and interacting with. It is also a collection of functions that enable you to better implement things like templates and the current open source landscape of tools.  More or less the "common sense" layer which reduces the redundancies of how you may extend the skeleton layer to work for your objectives. (Ideally this layer could be distilled into three core ideas as well... Or maybe as the metaphorical "middle" there is a relative chaos to its nature)
3. The Context
The third layer is the Context which takes the role of stringing things together in a way that allows things to evolve.  This layer is that point at which you need to begin to trust its methodologies and let go of the urge to "see" everything in your mind at once.  Sort of the idea that a core "controller" is just not a realistic objective and will only hinder your project.  You really need to harness the ideas of Events, Commands and Dependency Injection and let things "come to life".

I am not a "technical mind" per-say, but when things are broken down into these terms I can really see its value.  In my view Geppetto should be less about Backbone and Marionette and more about distilling these fundamentals so that people attempting to leave behind "all-in-one" frameworks like Angular can really digest the nature of what it takes to build things for the future.  When you start to see how things stop bloating and actually get simpler over time it is quite the realization for people.
Geppetto is the Triumvirate Framework which uses the S.L.C. methodology ;)

@howardroark thanks for your thoughts. I agree on most points except maybe the SLC terms themselves ;)
I started working on v0.8 this weekend, which definitely pushes towards the triumvirate approach, keep an eye on the dedicated issue for more info.

Hah! I had to throw an acronym in there :P I am excited to see what comes down the pipe!
For me I just needed a narrative in my head for explaining to others why we should go a route like this vs something like ember or angular.  Not that there is anything wrong with them... they just don't offer the freedom that something like this can. Backbone and Marionette are amazing tools, but not quite enough.  Maybe the triumvirate breakdown was semi-accidental, but the point is that it really does make a lot of sense when you look at the "bigger picture".
I'm excited to see docs and usage examples grow :)


Maximizing Window Causes Reload of Search Pages

When you have the window below maximum scale, and then maximize the window, sometimes the search pages will reload. It's a bit odd, because it doesn't always happen.
At :07 you can see the reload. I then minimize and maximize again at :16 (which doesn't show very well in the video) and it doesn't reload.
(Using latest version Opera)
https://user-images.githubusercontent.com/97813519/229936590-f81cfcf2-9803-4cf0-9349-d7808694fbcc.mp4
There's another issue in here as well - if you notice in the video, when it has the "Looking for Combos" screen (see around the 0:10 mark), it says "No valid search parameters submitted", even though there are valid search parameters, and it brings up the page afterwards. This is also sporadic - I have noticed this just from doing a search from the main page, but I can't repeat it regularly, so I'm not sure what is causing it.

It's Opera


(INFO) scripts/macros

visitors:current-event

all
going
no_workshops
vips
agreed_workshops
empty_fields (not yet working correctly :)

company:relations

reps
-- reps
-- party reps
meetups

EXPORT visitors:meetups

ALL
P2C
LTD (aka workshops / masterclasses)
C2P

exhibitors:meetups_please_rsvp
ping exhibitors when P2C invitations found unresponded


Ability to set CPU, Memory and Disk through API

Fixes: #1504

Thanks for the PR! I ended up adding these myself because I wanted to keep custom_fields at the end of the serializer for consistency with other models, but I appreciate the contribution.


Automated cherry pick of #9426: fix(vpcagent): ovn: stable dns A record value

Cherry pick of #9426 on release/3.5.
#9426: fix(vpcagent): ovn: stable dns A record value

Codecov Report

Merging #9428 (a1055ed) into release/3.5 (6a15e02) will increase coverage by 11.92%.
The diff coverage is 9.52%.

@@               Coverage Diff                @@
##           release/3.5    #9428       +/-   ##
================================================
+ Coverage         5.98%   17.91%   +11.92%
================================================
  Files              796       85      -711
  Lines           125693     8921   -116772
================================================
- Hits              7522     1598     -5924
+ Misses          117504     7151   -110353
+ Partials           667      172      -495

Flag
Coverage Δ

aFlag
17.91% <9.52%> (+11.92%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/apigateway/handler/auth.go
0.00% <0.00%> (ø)

.../monitor/alerting/conditions/suggestrulereducer.go
0.00% <0.00%> (ø)

pkg/monitor/alerting/conditions/suggestquery.go
2.00% <2.00%> (ø)

pkg/util/seclib2/seclib.go
80.39% <55.55%> (-5.66%)
:arrow_down:

pkg/multicloud/ucloud/project.go

pkg/compute/models/zonequota.go

pkg/compute/models/zoneresource.go

pkg/cloudcommon/validators/validators_sshkey.go

pkg/compute/models/secgroupresource.go

pkg/monitor/models/unifiedmonitor.go

... and 622 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 d916028...a1055ed. Read the comment docs.


ROE-2019 - TL - Create sign out page

JIRA link
https://companieshouse.atlassian.net/browse/ROE-2019
Change description
Added new:
template
controller
routing and url
controller unit test for rendering the page
Changed:
sign out page post to redirect to new signed out page
sign out unit test to check for this page.
removed account sign out reference.
Work checklist

[x] Tests added where applicable
[x] UI changes meet accessibility criteria

Merge instructions
We are committed to keeping commit history clean, consistent and linear.  A BREAKING CHANGE can be part of commits of any type,
types other than fix: and feat: are allowed, for example build:, chore:, ci:, docs:, style:, refactor:, perf:, test:, and others,
footers other than BREAKING CHANGE: <description> may be provided.

This will not be implemented a review of the acceptance criteria is required.


Configure log level and encoding for addons

Uses the new --log-level and --log-encoder flags to set a default logging level for all controllers
Sets package logging (configurable with --v) to be two levels less than the component logging level
Default settings:--log-encoder=console
--log-level=0
--v=-1

Addresses:

https://github.com/stolostron/backlog/issues/19030

There was an extra : in the logs that I've removed (we can't merge this yet anyway because the publish job will fail: https://coreos.slack.com/archives/CSZLMKPS5/p1647516721869229)

/unhold


feat(swapper): update default slippage to .2%

Current dependencies on/for this PR:

main

PR #1207   👈

This comment was auto-generated by Graphite.


Cleaned up some bits at the end

Python 3.10 syntax goes brrrr
For future reference, the match statement is much faster and more readable than chained ifs and elifs, feel free to reach out if you have any questions.

Python 3.10 syntax goes brrrr
For future reference, the match statement is much faster and more readable than chained ifs and elifs, feel free to reach out if you have any questions.

Thanks :)

Python 3.10 syntax goes brrrr
For future reference, the match statement is much faster and more readable than chained ifs and elifs, feel free to reach out if you have any questions.

Thanks :)

bruh idk whats happened, maybe version issue with my machine