[Enhancement] Support configurable hll_sketch and optimize hll_sketch performance

Why I'm doing:
HLL_SKETCH is very useful for high precision ndv compute. The PR(https://github.com/StarRocks/starrocks/pull/20836) has supported hll_sketch aggregation, but there are some limitions:

HLLSketch's precision and hll_type cannot be configurable for different scences.
There is a performance throttle for high cardinality compute in merge:

+   88.79%     0.00%  pip_wg_executor  [.] starrocks::Thread::supervise_thread
+   88.79%     0.00%  pip_wg_executor  [.] starrocks::ThreadPool::dispatch_thread
+   88.79%     0.00%  pip_wg_executor  [.] starrocks::pipeline::GlobalDriverExecutor::_worker_thread
+   88.79%     0.00%  pip_wg_executor  [.] starrocks::pipeline::PipelineDriver::process                                                                                ▒
+   88.79%     0.00%  pip_wg_executor  [.] starrocks::pipeline::AggregateBlockingSinkOperator::push_chunk
-   88.79%     0.00%  pip_wg_executor  [.] starrocks::Aggregator::compute_batch_agg_states
     starrocks::Aggregator::compute_batch_agg_states                                                                                ▒
   - starrocks::NullableAggregateFunctionUnary<std::shared_ptr<starrocks::AggregateFunction>, starrocks::NullableAggregateFunctionState<starrocks::DataSketchesHll, false>, false, true, starrocks::AggNonNullPred<starrocks::DataSketchesHll> >::merge_batch                                                                                ▒
      - 88.77% starrocks::HllSketchAggregateFunction<(starrocks::LogicalType)17, starrocks::Slice>::merge                                                                                ▒
         + 88.76% starrocks::DataSketchesHll::merge                                                                                ▒
-   88.79%     0.00%  pip_wg_executor  [.] starrocks::NullableAggregateFunctionUnary<std::shared_ptr<starrocks::AggregateFunction>, starrocks::NullableAggregateFunctionState<starrocks::DataSketchesHll, false>, false, true, starrocks::AggNonNullPred<starrocks::DataSketchesHll> >::merge_batch                                                               ▒
   - starrocks::NullableAggregateFunctionUnary<std::shared_ptr<starrocks::AggregateFunction>, starrocks::NullableAggregateFunctionState<starrocks::DataSketchesHll, false>, false, true, starrocks::AggNonNullPred<starrocks::DataSketchesHll> >::merge_batch                                                                                ▒
      - 88.77% starrocks::HllSketchAggregateFunction<(starrocks::LogicalType)17, starrocks::Slice>::merge                                                                                ▒
         - 88.76% starrocks::DataSketchesHll::merge                                                                                ▒
            - 44.77% datasketches::hll_union_alloc<std::allocator<unsigned char> >::union_impl                                                                                ▒
               - datasketches::HllArray<std::allocator<unsigned char> >::copyAs                                                                                ▒
                    31.51% datasketches::Hll8Array<std::allocator<unsigned char> >::mergeHll                                                                                ▒
                    12.78% datasketches::HllArray<std::allocator<unsigned char> >::hipAndKxQIncrementalUpdate                                                                                ▒
            - 41.25% datasketches::HllSketchImplFactory<std::allocator<unsigned char> >::convertToHll6                                                                                ▒
                 10.63% datasketches::Hll6Array<std::allocator<unsigned char> >::internalCouponUpdate                                                                                ▒
                 9.18% datasketches::HllArray<std::allocator<unsigned char> >::hipAndKxQIncrementalUpdate                                                                                ▒
              1.77% datasketches::Hll6Array<std::allocator<unsigned char> >::internalCouponUpdate                                                                                ▒
              0.93% __memmove_evex_unaligned_erms                                                                                ▒
+   88.77%     0.00%  pip_wg_executor  [.] starrocks::HllSketchAggregateFunction<(starrocks::LogicalType)17, starrocks::Slice>::merge                                                                                ▒
+   88.77%     0.00%  pip_wg_executor  [.] starrocks::DataSketchesHll::merge                                                                                ◆
+   41.56%    20.98%  pip_wg_executor  [.] datasketches::HllSketchImplFactory<std::allocator<unsigned char> >::convertToHll6                                                                                ▒
+   21.96%    20.54%  pip_wg_executor  [.] datasketches::HllArray<std::allocator<unsigned char> >::hipAndKxQIncrementalUpdate                                                                                ▒
+   12.71%    12.39%  pip_wg_executor  [.] datasketches::Hll6Array<std::allocator<unsigned char> >::internalCouponUpdate

merge function is heavy since it will copy hllsketch into hll_union each call:
void DataSketchesHll::merge(const DataSketchesHll& other) {
    datasketches::hll_union u(MAX_HLL_LOG_K);
    u.update(_sketch);
    u.update(other._sketch);
    _sketch = u.get_result(HLL_TGT_TYPE);
}

What I'm doing:

Add an alias name ds_hll_count_distinct to be better syntax meanings(original function name is also kept either)
Support configurable hll_sketch with different precision and hll_type:

Optimize merge performance by using hll_union as state rather than hllsketch to avoid copying in merge  call.

aggregate mode
Tables
After(ms)
Before(ms)

force_streaming
t1
7377
8930

force_streaming
t2
7660
9526

force_streaming
t3
13425
timeout(5min)

force_streaming
t4
7830
16568

auto
t1
4821
4626

auto
t2
7880
8834

auto
t3
1366
1546

auto
t4
784
797

Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.3
[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

what's the meaning of ds in ds_hll_count_distinct ?

what's the meaning of ds in ds_hll_count_distinct ?

It means data sketch, and this pr only introduces hll to compute count distinct. we can introduce more data sketch functions later.

https://datasketches.apache.org/docs/Architecture/MajorSketchFamilies.html


CardCvcElement onComplete fires after three digits for AMEX card

I'm using React Stripe.js on a payment page as below
import {
  useStripe,
  useElements,
  CardNumberElement,
  CardExpiryElement,
  CardCvcElement,
  ElementsConsumer,
} from "@stripe/react-stripe-js"

and include a card CVC element as below
<CardCvcElement
  id="cvc"
  onChange={this.handleStripeFieldChange}
  onReady={this.handleStripeFieldReady}
  options={STRIPE_ELEMENT_OPTIONS}
/>

works fine and I use the onComplete event to trigger a focus on the next field, however:
My understanding is that many AMEX cards can have a four-digit CVC
but when I use AMEX test card numbers from this page:
https://stripe.com/docs/testing
the onComplete is always firing after three digits
I was hoping that this library could detect an AMEX
and not trigger the onComplete in that case
or only trigger it after four digits.
I don't have a reference to the actual CC number
(Stripe creates creates input elements in iframes for obv security reasons)
so I can't add a check in my code...
Do I have any alternative , other than just not having an autofocus onto the next field here,
which is confusing for user as the onComplete events for previous fields CCard and CCExpiry work fine?

Hi @appility: thanks for this report and sorry that this is causing trouble for your desired integration.
As you've discovered, the world of telling if a card is complete or not is a bit complicated. In many cases, we can't tell if a card is really "done" without actually trying to charge it. There are some AmEx cards with 3 digit CVCs and many other odd cases where we just can't know in advance.
As a result, we document the "complete" event by saying it is really more like "well-formed and possibly complete" and that you shouldn't take UI actions other than styling in response to it. We should probably rename it to make that clearer.

@asolove-stripe Thanks for the guidance and quick response


Monkeypatch Win32::Registry methods delete_key, delete_value

Re-creation of #3870 for @mcquin because I couldn't force AppVeyor to re-run.

Adds monkeypatches for Win32::Registry#delete_key and Win32::Registry#delete_value.
Rewrites Chef::Win32::Registry#delete_key to use Win32::Registry#delete_key.

(Note: Once this is merged, I will move the Win32::Registry#write monkeypatch into lib/chef/monkey_patches/win32/registry.rb for consistency. Doing so here is outside the scope of this PR.)

not sure why it says appveyor is pending, it completed successfully

@adamedx i've added you as an admin to appveyor

Well, AppVeyor still says its running (it's been hours), but the output shows that it passed. So this should be safe to merge @mcquin.

I need one more review and +1 from @chef/client-windows before I can merge.

:+1: :shipit:

:+1:

:+1:


Clarify the significance of order multiple table entries in 'const en…

…tries'
With this PR: https://github.com/p4lang/p4-spec/pull/737 the PSA
architecture now defines the significant of the order of multiple
entries in tables with a 'const entries' table property for all kinds
of tables, in a way that is consistent with the changes proposed here.
I will soon create a similar PR for the v1model architecture for BMv2
simple_switch that makes the same kinds of statements for it.

What if you have exact matching with the same key showing up multiple times?

Duplicate keys are not allowed in P4Runtime.  I guess I was assuming they should not be allowed in 'const entries', either.  I can add that explicitly in the text if you think it would be useful.

I think this is a bug fix and it should be merged in the current spec.

AI Andy: Change new text to this:
"If the runtime API requires a priority for the entries of a table, e.g. tables with at least one ternary search key field, then the entries are matched in program order, stopping at the first matching entry.  Architectures should define the significance of entry order (if any) for other kinds of tables."

I believe I was given the verbal go-ahead to merge this in after addressing the comment during the 2019-Apr-01 LDWG meeting.  If I am in error there, my apologies.  Let me know and I can create another PR to fix it.

👍


The problem of font render

Windows Terminal version
1.12.10983.0
Windows build number
10.0.22000.652
Other Software
No response
Steps to reproduce

Change font (select "Source Cascadia", download from :https://github.com/aleigood/Hybrid-Font/blob/main/Source Cascadia Medium.ttf)
Type: "file"

Expected Behavior
No response
Actual Behavior

if "i" is not after of "f", it's mormal:

Looks like your font has a fi ligature configured, which the Terminal is dutifully rendering as a single glyph (despite taking up two columns). You should probably file this upstream on the font itself.


Automatically creating a user

Is your feature request related to a problem? Please describe.
I don't want to make users create a username / password before using the chat, but I want to provide them a username and password to come back and continue their history. I also want data persistence.
Describe the solution you'd like
This is what I'm thinking:
    user = cl.user_session.get("user")
    print(f'user={user}')
    if not user:
        username, password = auto_create_user_and_password()
        user = cl.User(identifier=username, metadata={"role": "user", "provider": "credentials"})
        access_token = create_jwt(user)
        user = await authenticate_user(access_token)
        data_layer = cl_data.get_data_layer()
        await data_layer.create_user(user)

This isn't currently working. I'm seeing:
2024-05-23 00:12:09 - Error while flushing create_element: No authenticated user in context
2024-05-23 00:12:09 - Error while flushing create_step: No authenticated user in context

From the chainlit code, I'm not sure what else the login form does when hitting /login that I'm not doing here. See https://github.com/Chainlit/chainlit/blob/f158482046e632a66d42abe49dfa347402b6f04a/backend/chainlit/server.py#L310
I'd love some advice!

I get the feeling that it may be due to the front-end not having a token to send on subsequent user messages, etc. I see this in the front-end login form submission:
setAccessToken(json.access_token); : https://github.com/Chainlit/chainlit/blob/f158482046e632a66d42abe49dfa347402b6f04a/frontend/src/pages/Login.tsx#L43

So ... maybe I just need to do this in my custom_js : return localStorage.setItem(tokenKey, token);
I'm totally fine just hacking this - if someone can verify that I'm on the right track I'd be grateful.


Add TradeStation & Alpaca Brokerage Support

Description
Add TradeStation & Alpaca Brokerage Support
Closes https://github.com/QuantConnect/lean-cli/issues/462
Related PR

https://github.com/QuantConnect/Lean/pull/8031
https://github.com/QuantConnect/Lean.Brokerages.TradeStation/pull/1

Pin setuptool due to issues in current version, see https://pypi.org/project/setuptools/71.0.1/


"Possible ban" but just created the Account..

I created a new google mail account
I created new API Key
I created new PTC Account with this GMail
Reinstalled PoGoMap and logged in
"Waiting.." .... "Possible ban" -.-

server up: null
main.html:147 Error getting location, trying second provider PositionError
main.html:169 2016-08-26 10:22:34,138 [      MainThread][     runserver][    INFO] Parsed location is: 34.0432/-118.2675/72.4387 (lat/lng/alt)
main.html:169 2016-08-26 10:22:34,138 [      MainThread][        models][    INFO] Connecting to local SQLite database
main.html:169 2016-08-26 10:22:34,138 [      db-cleaner][        models][    INFO] Regular database cleaning complete
main.html:169 2016-08-26 10:22:34,138 [ search-overseer][        search][    INFO] Search overseer starting
main.html:169 2016-08-26 10:22:34,138 [ search-overseer][        search][    INFO] Starting search worker threads
main.html:169 2016-08-26 10:22:34,138 [ search-overseer][        search][    INFO] New location caught, moving search grid
main.html:169 2016-08-26 10:22:34,186 [ search-worker-0][        search][    INFO] Searching at 34.043211,-118.267506
main.html:169 2016-08-26 10:22:34,186 [ search-worker-0][      auth_ptc][    INFO] PTC User Login for: Freekill93
main.html:174 Python server started!
main.html:174 Got open express port: 8001
main.html:169 2016-08-26 10:22:34,789 [ search-worker-0][      auth_ptc][    INFO] PTC User Login successful.
2016-08-26 10:22:34,789 [ search-worker-0][      auth_ptc][    INFO] Request PTC Access Token...
main.html:174 Express server started!
main.html:159 server up: http://localhost:8001
main.html:169 2016-08-26 10:22:34,957 [ search-worker-0][      auth_ptc][    INFO] PTC Access Token successfully retrieved.
main.html:149 Found location [53.5685,8.5968] by ipinfo.io
main.html:169 2016-08-26 10:22:45,444 [ search-worker-0][        search][   ERROR] Map parse failed at 34.043211,-118.267506, abandoning location. Freekill93 may be banned.
Traceback (most recent call last):
File "C:\Users\Moonlight\AppData\Local\pokemon\app-0.3.2\resources\app\map\pogom\search.py", line 510, in search_worker_thread
findCount = parse_map(args, response_dict, step_location, dbq, whq)
File "C:\Users\Moonlight\AppData\Local\pokemon\app-0.3.2\resources\app\map\pogom\models.py", line 387, in parse_map
cells = map_dict['responses']['GET_MAP_OBJECTS']['map_cells']
KeyError: 'map_cells'
main.html:169 2016-08-26 10:22:55,457 [ search-worker-0][        search][    INFO] Searching at 34.044157,-118.266849
main.html:169 2016-08-26 10:22:55,676 [ search-worker-0][        search][   ERROR] Map parse failed at 34.044157,-118.266849, abandoning location. Freekill93 may be banned.

You need to log in Pokemon with your new created PTC account and catch one of the first tutorial pokemon - then log in poke map again and it should work

Remember to activate your PTC account through the activation email


chore(repo): Retry handshake in case of handshake cookie collision

Description
We want the __clerk_handshake cookie to always be set on the ETLD+1 domain in order to support multiple apps running on the same domain, even if the apps are running on different same-level subdomains, for example, sub1.a.example.com and sub2.a.example.com
Of course, with multiple apps running, we risk collisions if more than one app needs to handshake at the same time (e.g., reopen a browser window with multiple tabs open).
We can deal with collisions in 3 different ways:

Set the handshake cookie on the domain the app is running on. This however, will break for the scenario where two apps using the same PK/SK run on same-level subdomains. Imagine two apps, a.example.com and b.example.com, with the latter being an 'alias' of the former. Visiting b.example.com with an expired session token will result in a handshake redirect to a.example.com, the handshake cookie will be set on a.example.com, and the handshake will never finish because b.example.com won't be able to read it. Also, if a.example.com tries to set a cookie on b.example.com, the browser will reject it as the two do not domain-match.
Suffix the cookies. The handshake cookie is rather big so we risk hitting header size limits with multiple suffixed handshake tokens on the etld+1
Let it collide, but handle the collisions gracefully

This PR implements solution 3. We let the handshake cookies collide. In the extremely rare case of a collision, the app that accidentally reads a handshake cookie of a different instance will simply ignore it (signature verification will fail) and retry the handshake again if needed.
This PR also adds an infinite redirect loop protection mechanism to protect against the case where a customer accidentally added a PK/SK pair that does not match.

Checklist

[ ] npm test runs as expected.
[ ] npm run build runs as expected.
[ ] (If applicable) JSDoc comments have been added or updated for any package exports
[ ] (If applicable) Documentation has been updated

Type of change

[ ] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

!snapshot multiapp


Not PHP 7 compatible

Symphony Warning: Declaration of Extension_page_lhandles::update($previous_version) should be compatible with Extension::update($previousVersion = false)

Fix from @animaux
change
public function update($previous_version){
to
public function update($previous_version = false){

Thanks. No need to credit me :) the error message does all the guidance.

Another error appears:
Symphony Warning: Declaration of MultilingualNavigationDatasource::__buildPageXML($page, $page_types, $qf) should be compatible with NavigationDatasource::__buildPageXML($page, $page_types)
An error occurred in /Users/xxx/Sites/framework/extensions/page_lhandles/lib/class.datasource.MultilingualNavigation.php around line 8


Multiple Template Support [IG]

USDM would become more flexible if it could support multiple templates for a single study version. It might be that some documents are extracts of the protocol and not the full document
=> See feature ticket #354

The recursive nature of this class with its attribute children provides the user

The recursive nature of this class, using the "children" attribute, provides the user?
I tend to put attribute name in quotes so it is obvious which is the actual attribute name. Most of time it is obvious but it just makes sure it is clear. Being lower case they tend to get lost in the text.


feat: minor reorder SQL Lab Tab controls

SUMMARY
A few airbnb users reported that they accidentally clicked status icon, and they lost the active query.
This PR is to re-order the controls in each SQL Lab tab to prevent such accidents.

re-order dropdown menu and tab title
separate the status icon and close button
always show close button at the right-side

Thanks for @kenchendesign brought up design!
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:

After:

TEST PLAN
Integration test and manual test.
ADDITIONAL INFORMATION

[ ] Has associated issue:
[X] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #10257 into master will decrease coverage by 0.00%.
The diff coverage is 80.00%.

@@            Coverage Diff             @@
##           master   #10257      +/-   ##
==========================================
- Coverage   65.41%   65.41%   -0.01%
==========================================
  Files         598      598
  Lines       32014    32003      -11
  Branches     3237     3236       -1
==========================================
- Hits        20943    20935       -8
+ Misses      10890    10887       -3
  Partials      181      181

Flag
Coverage Δ

#javascript
59.28% <80.00%> (-0.02%)
:arrow_down:

#python
69.68% <ø> (ø)

Impacted Files
Coverage Δ

...rontend/src/SqlLab/components/TabbedSqlEditors.jsx
74.02% <50.00%> (ø)

...t-frontend/src/SqlLab/components/TabStatusIcon.jsx
100.00% <100.00%> (+14.28%)
:arrow_up:

...set-frontend/src/views/datasetList/DatasetList.tsx
69.04% <0.00%> (+0.79%)
:arrow_up:

Continue to review full report at Codecov.

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

Maybe separate to this, can we add a close icon for table preview tabs as well?

it's totally separated component and functions.
you can close preview from control panel:

I'm in total agreement that the status dot acting as a close button is a dangerous pattern.
If closing the tab is a risk, would it be reasonable to remove the X button from the new design as well, and require that users click the ⠇menu and select "close tab" to close the tab?
If that's reasonable, I think the menu (whether a ⠇or a ˅ ) would be better back on the right side of the tab. I'm a bit ambivalent about whether the status dot should be to the left or right of the title.
In other words would it make sense to just remove the "X" close button from the status dot and call it a day?

Yeah, I know that close button exists. Just a suggestion. Haven't used SQL Lab for a while and was surprised yesterday that it's not obvious how to close the preview tab.

In other words would it make sense to just remove the "X" close button from the status dot and call it a day?

+1 to this, was just typing the same thing.

Generally it's probably best to align with the way browser tabs behave as the most commonly used tabs out there.
Visually the x is a bit bold and large. Maybe we can mute it a little (?) - sorry to ask for CSS adjustments on a PR... Could also only show the x for the active tab to make things more busy (?)
Stepping back, I think the goal longer term is still to get rid of in-app tabs and push users to use browser tabs instead.

I like to keep x as short-cut in the sql lab tab...especially when you want to close many tabs. click drop-down then click close need a lot more...work :)

+1 on making the x slightly thinner, I don't think they should be lighter-colored though.
+1 on making all tabs visually consistent with an x on the right end.

Sorry i clicked merge button accidentally. How can it get merged without code review approval?

So let's discuss how to improve it and I will make another PR for additional comments. Thanks!


synchronize-work-orders

These scentences must be wrong and should be corrected:

The used Field Service Products (Finance and Operations to Field Service) template is based on the Products (Finance and Operations to Sales) – Direct template from Prospect to Cash. For more information, see Products (Finance and Operations to Sales) – Direct.
This topic only describes the differences between the Field Service Products (Finance and Operations to Field Service) and Field Service Products (Finance and Operations to Field Service) templates.

Also the title of the hyperlink on the left side leading to this article is wrong and doesn't correspond to the headline of the article.

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

ID: 60b89419-36ad-d7ec-2525-a82fc4da598e
Version Independent ID: 01fa1590-3010-6154-34e7-9ea3859ed555
Content: Synchronize work orders with project from Field Service to Finance and Operations - Finance & Operations | Dynamics 365 | #MSDyn365FO
Content Source: articles/supply-chain/sales-marketing/synchronize-work-orders.md
Service: dynamics-ax-applications
GitHub Login: @ChristianRytt
Microsoft Alias: crytt

Created PR #1017 for this topic to fix the issue listed below.
Didn’t find any issues with mentioned hyperlink:
[A screenshot of a cell phone  Description automatically generated]
Thanks,
/Christian
From: moko33<EMAIL_ADDRESS>Sent: 12. marts 2019 12:26
To: MicrosoftDocs/dynamics-365-unified-operations-public<EMAIL_ADDRESS>Cc: Christian Rytt<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: [MicrosoftDocs/dynamics-365-unified-operations-public] synchronize-work-orders (#1016)
These scentences must be wrong and should be corrected:
The used Field Service Products (Finance and Operations to Field Service) template is based on the Products (Finance and Operations to Sales) – Direct template from Prospect to Cash. For more information, see Products (Finance and Operations to Sales) – Direct.
This topic only describes the differences between the Field Service Products (Finance and Operations to Field Service) and Field Service Products (Finance and Operations to Field Service) templates.
Also the title of the hyperlink on the left side leading to this article is wrong and doesn't correspond to the headline of the article.

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

ID: 60b89419-36ad-d7ec-2525-a82fc4da598e
Version Independent ID: 01fa1590-3010-6154-34e7-9ea3859ed555
Content: Synchronize work orders with project from Field Service to Finance and Operations - Finance & Operations | Dynamics 365 | #MSDyn365FOhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdynamics365%2Funified-operations%2Fsupply-chain%2Fsales-marketing%2Fsynchronize-work-orders&data=02|01|crytt%40microsoft.com|67a0ad30361643f2716d08d6a6dd8973|72f988bf86f141af91ab2d7cd011db47|1|0|636879867762244847&sdata=9SG4KTuX%2FJlAAvablq0SOQlff86AdbddREtzW5H99nk%3D&reserved=0
Content Source: articles/supply-chain/sales-marketing/synchronize-work-orders.mdhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FDynamics-365-Unified-Operations-Public%2Fblob%2Flive%2Farticles%2Fsupply-chain%2Fsales-marketing%2Fsynchronize-work-orders.md&data=02|01|crytt%40microsoft.com|67a0ad30361643f2716d08d6a6dd8973|72f988bf86f141af91ab2d7cd011db47|1|0|636879867762254841&sdata=IuHEiLWt0itOvB6tAhetFCkmotN1iLgPxXyfkLAWZBI%3D&reserved=0
Service: dynamics-ax-applications
GitHub Login: @ChristianRytthttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FChristianRytt&data=02|01|crytt%40microsoft.com|67a0ad30361643f2716d08d6a6dd8973|72f988bf86f141af91ab2d7cd011db47|1|0|636879867762254841&sdata=zzES1xAaM6idk51brd2r%2BiMiyB%2F7Gid6VARFiiSnWog%3D&reserved=0
Microsoft Alias: crytt

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fdynamics-365-unified-operations-public%2Fissues%2F1016&data=02|01|crytt%40microsoft.com|67a0ad30361643f2716d08d6a6dd8973|72f988bf86f141af91ab2d7cd011db47|1|0|636879867762264833&sdata=EY2zwT%2F9ADXG%2F55za70AqPvreLDC7JDW9fRXSXslb1M%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAas_umeZ57VqL-XjsAFvU91zhmUGEO2wks5vV47VgaJpZM4bqqmJ&data=02|01|crytt%40microsoft.com|67a0ad30361643f2716d08d6a6dd8973|72f988bf86f141af91ab2d7cd011db47|1|0|636879867762264833&sdata=aFpDOZIFlfq0z8wLZIcKmifboG7CKtEO%2FqkHOXrwl48%3D&reserved=0.

The hyperlink is named:
"Synchronize work orders from Finance and Operations to Field Service"
however it should be named
"Synchronize work orders with project from Field Service to Finance and Operations"

Got it - it's another page you are talking about for the link issue.
It's not "Synchronize products with inventory unit from Finance and Operations to Field Service" but "Synchronize work orders with project from Field Service to Finance and Operations".
I see the issue, will ask for this to be updated.

@moko33, thanks for the feedback. An updated version of this topic will be published later today.


[WIP] v 1.1.5 Update

Beginning the 1.1.5 update, which features a full pass over all controls to ensure they're visually ok compared to the new WinUI Fluent v2 styles & matching Windows 11. Just to manage expectations here, this will likely be a long running PR with no ETA at this time. Right now this is mostly serving as my checklist
New features:

Addition of High Contrast theme styles for all controls
Adds remaining core Avalonia control templates for compatibility with new styles (CaptionButtons, Carousel, ContextMenu, EmbeddableControlRoot, Label, ManagedFileChooser, NotificationCard/WindowNotificationManager, NumericUpDown, TabStrip/TabStripItem, TitleBar)
Add support to FluentAvaloniaTheme to for new Windows 11 Segoe UI Variable font
Replace FluentUI Icons font with WinSymbols3 by robloo for compatibility with WinUI Segoe Fluent

Deprecations/Removals

Removal of Fluent v1 theme from FluentAvalonia

[Other updates added as they're completed]

Will this include use of the newly added CornerRadius to controls? It's useful to update code like this.
https://github.com/amwx/FluentAvalonia/blob/fcfc26f20fc2826c68102e67e0149d052591ce3f/FluentAvalonia/Styling/Controls/ButtonStyle.axaml#L48
Separately, let me know if you need help with, or run across issues, updating to the WinSymbols3 font.
For example, I can write a quick script to generate https://github.com/amwx/FluentAvalonia/blob/master/FluentAvalonia/UI/Controls/IconElement/Symbol.cs using latest glyph mappings.
I'm not sure if this method is needed at all after this?https://github.com/amwx/FluentAvalonia/blob/fcfc26f20fc2826c68102e67e0149d052591ce3f/FluentAvalonia/UI/Controls/IconElement/SymbolIcon.cs#L108

Not surprising since I did build the enum off of FluentUI.

Oh, I thought you were keeping the WinUI Segoe Fluent Unicode points to match upstream. I didn't realize you were building your own symbols different from upstream WinUI.

I meant the when I created the Symbol enum originally. What I actually did was start with the UWP Symbol enum, tried to match what I could of the MDL2 symbols with FluentUI, and then added a bunch of additional icons in there - but it originally was built to fit FluentUI since at the time Segoe Fluent wasn't a thing (or still early) and it and MDL2 have restrictive licenses.

Some follow-up questions:
1. Is it really a good idea not to match these at all with WinUI upstream? It seems the correct methodology would actually be to use the Segoe Fluent Unicode points, then assign new Unicode points for your new symbols taken from the FluentUI font outside the range used by Segoe Fluent. That means your new symbols would start well above 0xf8b3.

Sorry if I made it sound more confusing than it should be, but that's the intent here - to follow your idea of matching Segoe Fluent where possible. I've already mapped what I could to the Segoe Fluent code points. In the two files I linked above, the values are remapped, and I tested it with WinSymbols3 font and it works. Those enum values that are set to zero are the ones that are missing matching code points, and then in comments I put what I'm currently mapping to.

2. With your go-ahead I'll build you a custom font separate from WinSymbols3 that will include new Unicode points. However, I really would keep the existing Segoe Fluent Unicode points in that new font as well for compatiblity.

3. With your go ahead I'll fully rebuild the symbols enum to match the new font I propose along with update Unicode points that don't conflict with upstream Windows. I will start in the range U+F0000..U+FFFFD (Supplementary Private Use Area-A).

4. The mapping file for your new font will be a .json file. I'll create that in my repository but feel free to copy that here as well.

That would be great! Keep the code points that match the same for compatibility and everything else can be put where ever its not in the way. I don't know how much work this is (and I hope its not too much), but your help on this is greatly appreciated!

@amwx Ok, I know how to complete this without too much work -- we are thinking the same now! I'll try to set aside a few hours today/tomorrow to finish it for you.
I will do the following:

Create a new mapping file for new symbols that don't exist in upstream WinUI FluentAvaloniaSupplemental.json. These will start in the supplemental private use area-A mentioned above and there should be no overlap with Segoe Fluent Unicode points. This mapping will will ONLY include the symbols that don't exist in Segoe Fluent. Warning: This will be a breaking change from your current Unicode points: I'll be pushing them much higher in the table so they don't overlap with either FluentUI System or Segoe Fluent.
Build you a new font using the Segoe Fluent base + merging in your new symbols taken from FluentUI. I'll complete the merge mappings functionality in the SymbolIconManager so I can build a single font from two different mapping files: SegoeFluent.json and a new FluentAvaloniaSupplemental.json.
I will also merge the enum into a single one for you using the WinUI naming convention 'Fill' instead of 'Filled' suffix. It will include the new Unicode points. I'll try to think of a good way to automate this.

I completed the very first build of the mapping file. This generated the JSON file attached below that looks like the given image inside the Symbol Icon Manager. There are errors and I can't build a font from this so there is a fair bit of debugging left I expect. I should have a font by tomorrow though.
This enum is going to be huge -- 505 entries is what it comes out to right now. There are almost 200 in the Windows Symbol enum itself. Then you have added several and included both filled/regular variants. This also doesn't include all the other icons that will be merged in from the standard SegoeFluent font. When complete:

FluentAvalonia.ttf will include all Unicode points available from the WinSymbols3 (Segoe Fluent Icons)
FluentAvalonia.ttf will include all Unicode points from the Symbol enum that correspond with the very old Segoe UI Symbol font from Windows 8 (this enum is the only place they are still used).
FluentAvalonia.ttf will include all of the new regular/filled icons you've added from the Fluent UI System
I will also generate a new Symbols enum for you from this mapping file.

After the initial mapping file is complete, edits should be made within the JSON file directly or through the UI in the Symbol Icon Manager. There is a very complicated build process to generate the initial mapping file but it isn't needed going forward.

FluentAvalonia.zip

I've only taken a quick look, but overall it looks like it's working really well. One observation: Were there some new symbols added to the enum, some of them I don't remember being present? That's fine if so, I just want to make sure I'm not going crazy.
There also seems to be some symbols missing, but I'll take a closer look at that later.
In related news, as it stands, the new font file will cut ~2MB off the package/solution size, so that's awesome

Were there some new symbols added to the enum, some of them I don't remember being present?

Yes, I wanted the enum to be 100% compatible with upstream so it includes ALL values from the WinUI Symbol enum. Then I also added in all of your new ones as well. 505 in total.
The font itself includes everything in the enum plus everything in SegoeFluent that exists in the current mapping file. This means the FluentAvalonia font is also compatible with SegoeFluent while including your new symbols as well (in much higher Unicode points so there is no overlap).
The initial build process was more complicated than I would have liked but you can read through it starting here: https://github.com/robloo/SymbolIconManager/blob/acceda83c61b2eb3d26624319ac47678c7e4ebba/Source/Models/Specialized/FluentAvalonia.cs#L33

There also seems to be some symbols missing, but I'll take a closer look at that later.

The enum includes all symbols in WinUI and not all of them have an equivalent in the new font. I just don't know a good mapping for them. This can be improved by updating the SegoeFluent.json mapping file and then rebuilding all fonts. I decided it's better for the enum to have an entry even if the glyph doesn't exist (so copy/pasted code compiles).
In addition, I noticed the conversion to size 20 FluentUISystem SVGs doesn't seem to be working everywhere so I definitely will give the font another look. Just let me know what else you might find and I'll rebuild it next week.

In related news, as it stands, the new font file will cut ~2MB off the package/solution size, so that's awesome

Perfect! Another bonus of the Symbol Icon Manager is can build custom fonts specifically for an app. This is for the same reason: to cut down on app package size. This is especially helpful for some larger apps.

The font itself includes everything in the enum plus everything in SegoeFluent that exists in the current mapping file. This means the FluentAvalonia font is also compatible with SegoeFluent while including your new symbols as well (in much higher Unicode points so there is no overlap).
The enum includes all symbols in WinUI and not all of them have an equivalent in the new font. I just don't know a good mapping for them. This can be improved by updating the SegoeFluent.json mapping file and then rebuilding all fonts. I decided it's better for the enum to have an entry even if the glyph doesn't exist (so copy/pasted code compiles).

Perfect. What I'll probably do is just mark the missing WinUI symbols with an [Obsolete] attribute so they keep their position, but it's known don't use them. Then they can be added back in the future if something becomes available.
I've given everything a closer look, and there's only a few missing that should be there:
These show a mapping, but are showing the 'invalid glyph' character.
CloudBackup/CloudBackupFilled
CloudDownload/CloudDownloadFilled
CloudOffline/CloudOfflineFilled
CloudSyncComplete/CloudSyncCompleteFilled
DockLeftFilled
DockRightFilled
Restore/RestoreFilled
WifiProtected/WifiProtectedFilled
These should be showing something, but don't have a mapping present. These have a code point for the 'Destination' but is undefined for the source.
DockLeft (0xFBF8 in FluentUI)
DockRight (0xFBFD in FluentUI)
DockBottom (0xFF78 in FluentUI)
FontColor (0xF7BF in FluentUI)
MailReply (0xF177 in FluentUI)
PreviewLink (0xF625 in FluentUI)
Scan (0xF68B in FluentUI)
How difficult is it to build the font itself now that the mapping file is generated? Good to know for future use, and if it's not hard I could probably fix the second set above myself.

Yea, what you found with the first set matches with the log file. The build script wasn't able to locate a few SVG files. I'm not sure why but I'll take a look.
The second set is probably because those mappings are missing in SegoeFluent.json (the mapping to build that font). Those mappings are master and will overwrite anything in the custom FluentAvalonia mappings file. I shouldn't be overwriting a good source with a missing one though so that's a bug in merge functionality I'll fix. I'll also update SegoeFluent font itself.
I'll rebuild the font again from initial after fixing this. Don't worry about updating the json mapping file. Afterwards, I'll document how to font, its quite easy on Windows. I'll also probably make a button for known fonts to make it even easier.

@amwx
Can you please re-review the below list in upstream FluentUISystem repo: https://github.com/microsoft/fluentui-system-icons. It appears they have removed them entirely from the font (they do not exist in the upstream .ttf files and I can't locate the SVG files either). SVG files are critical in order to build a font. They also don't exist anymore in https://github.com/microsoft/fluentui-system-icons/blob/master/icons.md. The only place they are still referenced in FluentSystemIcons-Filled.json and FluentSystemIcons-Regular.json which is why they still are detected and processed by the Symbol Icon Manager.
Perhaps they changed the name and didn't properly update the repository: cloud_backup could now be cloud_archive for example (I can't compare images to tell though). I'm not sure what to do here.

It might be easiest to remove them from FluentAvalonia and your enum
We can try to find equivalent replacements (assuming they were just incorrectly renamed)
We can go back in the FluentUISystem repository history and save a copy of the SVGs before they were removed. Then rebuild the font instead using custom images. (For example the source would be IconSet=Undefined, Name="ic_fluent_cloud_backup_48_regular" UnicodePoint=0)

Your list
CloudBackup/CloudBackupFilled
CloudDownload/CloudDownloadFilled
CloudOffline/CloudOfflineFilled
CloudSyncComplete/CloudSyncCompleteFilled
DockLeftFilled
DockRightFilled
Restore/RestoreFilled
WifiProtected/WifiProtectedFilled
Build Log
Error: Missing SVG source URL, mapping skipped src=0xF2E8, dst=0xF8039 (ic_fluent_cloud_backup_48_regular)
Error: Missing SVG source URL, mapping skipped src=0xF2E8, dst=0xF803A (ic_fluent_cloud_backup_48_filled)
Error: Missing SVG source URL, mapping skipped src=0xFE5B, dst=0xF803C (ic_fluent_cloud_download_20_filled)
Error: Missing SVG source URL, mapping skipped src=0xF2EC, dst=0xF8040 (ic_fluent_cloud_offline_24_regular)
Error: Missing SVG source URL, mapping skipped src=0xF2EC, dst=0xF8041 (ic_fluent_cloud_offline_24_filled)
Error: Missing SVG source URL, mapping skipped src=0xF2EE, dst=0xF8043 (ic_fluent_cloud_sync_complete_48_regular)
Error: Missing SVG source URL, mapping skipped src=0xF2EE, dst=0xF8044 (ic_fluent_cloud_sync_complete_48_filled)
Error: Missing SVG source URL, mapping skipped src=0xFC03, dst=0xF8060 (ic_fluent_dock_panel_left_48_filled)
Error: Missing SVG source URL, mapping skipped src=0xFC08, dst=0xF8061 (ic_fluent_dock_panel_right_48_filled)
Error: Missing SVG source URL, mapping skipped src=0xF670, dst=0xF80B9 (ic_fluent_restore_16_regular)
Error: Missing SVG source URL, mapping skipped src=0xF67A, dst=0xF80BA (ic_fluent_restore_16_filled)
Error: Missing SVG source URL, mapping skipped src=0xF8B4, dst=0xF812A (ic_fluent_wifi_protected_24_regular)
Error: Missing SVG source URL, mapping skipped src=0xF8CC, dst=0xF812B (ic_fluent_wifi_protected_24_filled)

Ah, I found the commit that seems to have changed all these. The good news is that they likely were just renamed.
https://github.com/microsoft/fluentui-system-icons/pull/331

In terms of fixing the above problems, I think we're good. The only thing that was mis-matched was 'Target' which is mapping to RadioButtonFilled from FluentUI instead of '_target_20'
However, I think I just found a slightly larger problem (unless you've already done this). I don't think WinUI ever uses a SymbolIcon in any of its controls, preferring to map directly to the glyph. So other glyphs not in the Symbol enum are now missing. Biggest example is the little carets used in the ScrollBars and the CalendarView. I'm now wondering if we need to match Segoe Fluent font to accommodate this. They wouldn't need to be in the enum (that's got enough as it is), but will at least need to be in the font file for full compatibility.

The only thing that was mis-matched was 'Target' which is mapping to RadioButtonFilled from FluentUI instead of '_target_20'

Thanks, I'll be sure to fix that. It's likely an issue with the SegoeFluent mappings.

I don't think WinUI ever uses a SymbolIcon in any of its controls, preferring to map directly to the glyph.

Yes, correct. However, WinUI also defines the resource to use for this {ThemeResource SymbolThemeFontFamily}. This means you should only need to define a new font here and it should be updated everywhere. This is what the Uno Platform does and it works quite well. We even made sure upstream is fixed to never hard-code Segoe MDL2 Assets https://github.com/microsoft/microsoft-ui-xaml/issues/3745.
That said, Microsoft is using some old codepoints that they shouldn't: https://github.com/microsoft/microsoft-ui-xaml/issues/5887. So a few glyphs won't appear even with the new font. I should probably support these old codepoints in the SegoeFluent replacement font (WinSymbols3) but don't because they really should have been obsoleted by now.
I would suggest for Fluent Avalonia you update to the latest codepoints. I have all the mappings from the old, original Segoe UI Symbol codepoints to the new ones in SegoeMDL2Assets/SegoeFluent here: https://github.com/robloo/SymbolIconManager/blob/main/Source/Data/Mappings/SegoeUISymbolToSegoeMDL2Assets.json. It would just be a find-replace and things should work.
If all of this still doesn't get things to work, I never defined a name in the font file so maybe that won't allow you to select the font properly in XAML. You'll need to do something like: "/Assets/Fonts/SourceSansPro-Italic.ttf#Source Sans Pro" I expect.

I'm now wondering if we need to match Segoe Fluent font to accommodate this. They wouldn't need to be in the enum (that's got enough as it is), but will at least need to be in the font file for full compatibility.

I'm already doing this mentioned above. "The font itself includes everything in the enum plus everything in SegoeFluent that exists in the current mapping file. This means the FluentAvalonia font is also compatible with SegoeFluent while including your new symbols as well (in much higher Unicode points so there is no overlap)."

@robloo  Thanks. I got myself confused between still having the old code points but changing the font. I already have SymbolThemeFontFamily declared, now I just have to go back through and change all the code points from FluentUI to the new font which matches WinUI, and switching the fonts should be complete! Huge thanks for all your help.

Let's hope this does it!
FluentAvalonia_v3.zip
There are lots of fixes and synchronizations with upstream SegoeFluent.
Where a name matches with SegoeFluent, SegoeFluent's Unicode point is now used instead of a new, custom one in some cases.

Note that these changes mean everything is updated including the enum as there were Unicode point changes.
I'm pretty happy where things are with the build process even if it's a lot more complicated than I would like. It is also fully automated now. Feel free to browse through the code if you get a chance in the future and you should be able to make updates yourself as needed without too much effort.

Mapping file build/rebuild process
FluentAvalonia.ttf build. There is now only 1 button to click and out comes your font!


Fix Veracruz CI

Sequel of https://github.com/veracruz-project/wasmtime/pull/1
Fixing the version of wat in wasmtime doesn't solve the issue.
This PR fixes the version of wast to <1.0.38 in the freestanding execution engine.

AWS CodeBuild CI Report

CodeBuild project: Veracruz
Commit ID: 3a055c8fc754ddc8ebfe9846e94add2c432fa1e9
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Update Dependancies & switched to emotion 10

Hi, I'm new to using git but I noticed alot of the dependancies have been deprecated or out of date. I have switched out deprecated dependancies with new one or have updated old dependacies.
Changes to Dependencies

gatsby-source-prismic has been updated from V2 to V3
src/schema/case-study.json has been added to work with gatsby-source-prismic V3
react-emotion has been replaced with @emotion/styled or @emotion/core
grid-styled has been replaced with @rebass/grid

gatsby-source-primsic must enable downloading of images


hierarchies-react: iTwinUI tree renderer horizontal scroll problems

Node backgrounds (when selected or hovered) don't extend completely to the right.
Node action buttons are outside the node boundaries

Could not fix this on our side. Filled issue in itwinui-react repo: https://github.com/iTwin/iTwinUI/issues/2330


PowerToys bug report

Microsoft PowerToys version
v0.53.1
Running as admin

[ ] Yes

Area(s) with issue?
General
Steps to reproduce
Every time when I login to my Windows account and the PowerToys run at startup by itself.
The following bug report was appearing every time.
Version: <IP_ADDRESS>
OS Version: Microsoft Windows NT 10.0.19042.0
IntPtr Length: 8
x64: True
Date: 1/10/22 7:44:01 AM
Exception:
System.IO.FileNotFoundException: Could not find file 'C:\Program Files\PowerToys\modules\launcher\Images\app.dark.png'.
File name: 'C:\Program Files\PowerToys\modules\launcher\Images\app.dark.png'
at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle)
at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()
at System.Windows.Media.Imaging.BitmapImage.EndInit()
at System.Windows.Media.Imaging.BitmapImage..ctor(Uri uriSource, RequestCachePolicy uriCachePolicy)
at Wox.Infrastructure.Image.ImageLoader.Initialize(Theme theme)
at PowerLauncher.App.<>c__DisplayClass14_0.b__0()
at Wox.Infrastructure.Stopwatch.Normal(String message, Action action)
at PowerLauncher.App.OnStartup(Object sender, StartupEventArgs e)
at System.Windows.Application.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
✔ Expected Behavior
No bug report appearing. Everything of PowerToys should run flawlessly behind the scene.
❌ Actual Behavior
A bug report window appears every time I login to Windows.
Other Software
nothing.

Would you mind:
1 - Uninstall PowerToys.
2 - See if the PowerToys install directory (default: C:\Program Files\PowerToys) is still there. If it is, delete it manually.
3 - Install PowerToys.
Please let us know if this works for you.

Just updated, I was forced to do restart, same result. The image is not there.

Uninstalled, install dir was removed, installed. The image is there, so the issue had to happen during update.

Would you mind: 1 - Uninstall PowerToys. 2 - See if the PowerToys install directory (default: C:\Program Files\PowerToys) is still there. If it is, delete it manually. 3 - Install PowerToys.
Please let us know if this works for you.

Uninstall and reinstall it does helps to resolve the issue. Now PowerToyrs v0.53.1 works flawlessly. Thanks for your help!!

/dup #9742


Define datum type and instances

We need to add datum-querying capabilities to QueryM to reach our stage 3 goal. Part of this is defining a Data (or Datum) type that we can decode from JSON and serialize across the FFI boundary
Here is the definition of Plutus' Data:
data Data =
      Constr Integer [Data]
    | Map [(Data, Data)]
    | List [Data]
    | I Integer
    | B BS.ByteString
    deriving stock (Show, Eq, Ord, Generic)

When we implement datum-querying through ogmios-datum-cache's websocket interface, we will need to decode the Data from JSON. Here is an example response showing how the type is encoded in the jsonwsp response
In order to actually use the datums in transactions, we also need to serialize them to the CSL representations. Here is how they are defined in CSL

I can deal with serialization after I get through what's on my plate currently. If anyone wants to work on ogmios part, let's first merge just the datatype, so that there's less merge noise.
@ngua by serialization you mean de-serialization as well, right?

Closed by #116 and in favor of more specific issues


Merklemine Lambda Enhancement

What's the problem? (required)
Currently the Merklemine lambda function has a get_random_account function that generates a list of random accounts.  However, the random accounts can be accounts that have already been mined.
What's the current behavior? (required)
The random accounts can be accounts that have already been mined.
Describe a possible solution you've considered (optional)
We should add a new column in the database called "mined", which indicates whether the address has already been mined.
The get_random_account function should generate a list of random accounts that have not been mined.  For each one, check for whether it has already been mined (with the Merklemine smart contract onchain), and update the database record if it has been mined so we don't have to check it again.  It should continue to look for new random accounts until we have enough accounts specified in the query.
We want the result to be a list of random accounts that have not been mined.
Additional context (optional)
It looks like the get_random_account call uses the IPFS data set instead of the dynamoDB data set.  I think we should use the dynamoDB data so we can update it.  Follow the example in get_account.  The database is dynamoDB, and the function uses AWS lambda.

Hey @ericxtang, After scouring the internet and AWS documentation I have come across some limitations with DynamoDB that makes it unsuitable for this operation. The issues are as follows:

I cannot select from the database and filter an attribute for null value. Eg. Let's say I wanted to run a query like SELECT * FROM MerkleMine WHERE mined = NULL or mined = False. I find this particularly impossible to do.
Selecting an item if you don't already know the id poses a problem.

I think another NoSql such as MongoDb might be more suitable for this.

I do not have experience with dynamo, but it would be a real bummer if you can't query on bool == false.
Does this help?
https://stackoverflow.com/questions/40461910/aws-dynamodb-query-not-filtering-on-bool-value

Hey @dob, that post would not help. The problem each of these record possess is that you need to run a select query based on their hash/primary key. If that key is missing in your query then DynamoDB returns a key condition error. So in your query you would have to say something like SELECT * FROM MerkleMine WHERE id = :id and (mined = NUL or mined = False)
Here is the doc that says you must provide certain keys.

Got it. @ericxtang what do you think about a hosted mongo service like https://mlab.com/? Up-and-running in minutes, fit within the free tier if we want, and the connection credentials would be safe within the lambda function. It's a short-lived app during the length of the mining period, and all the data is recreatable from the original account file and blockchain, so it doesn't seem like something we need to over architect.

Hey @ericxtang and @dob if you are gonna go with Mongo Labs, then please create a database for dev purposes. It doesn't need to contain as many records as the production DB. Just enough for when I am developing MultiMerkleMine.

@ericxtang and @dob, any decision on what we will be doing about this yet?

I have a cloud-hosted mongo service running for the metrics system.  Randy
I can send you the info later today.
Eric
On Tue, Jul 17, 2018 at 8:41 PM Randy Burrell<EMAIL_ADDRESS>wrote:

@ericxtang https://github.com/ericxtang and @dob
https://github.com/dob, any decision on what we will be doing about
this yet?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/livepeer/livepeerjs/issues/148#issuecomment-405686031,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAVGj0g0TFE8CG4b_3pKQHohbfHDN-_Wks5uHi_rgaJpZM4VJHQ3
.

--
#mobile

Ok great. Looking forward to it.


Pylint errors and warnings

Here are the (remaining) errors and warnings, which need to be solved the pass the CI.
Since they require a broader knowledge of the code, IMHO it would be best if you could look into it @da-h.

Module miniflask.event

[ ] src/miniflask/event.py:4:0: R0903: Too few public methods (0/2) (too-few-public-methods)
[ ] src/miniflask/event.py:8:0: R0903: Too few public methods (0/2) (too-few-public-methods)
[x] src/miniflask/event.py:21:4: W0231: __init__ method from base class dict' is not called (super-init-not-called)
[x] src/miniflask/event.py:63:41: W0621: Redefining name 'event' from outer scope (line 20) (redefined-outer-name)

Module miniflask.state

[x] src/miniflask/state.py:11:23: W0621: Redefining name 'state' from outer scope (line 37) (redefined-outer-name)
[x] src/miniflask/state.py:11:4: W0231: __init__ method from base class 'dict' is not called (super-init-not-called)
[x] src/miniflask/state.py:26:23: W0622: Redefining built-in 'type' (redefined-builtin)
[x] src/miniflask/state.py:38:36: W0621: Redefining name 'state' from outer scope (line 37) (redefined-outer-name)
[x] src/miniflask/state.py:38:4: W0231: __init__ method from base class 'dict' is not called (super-init-not-called)
[x] src/miniflask/state.py:194:4: W0235: Useless super delegation in method '__getattribute__' (useless-super-delegation)
[x] src/miniflask/state.py:220:23: W0621: Redefining name 'state' from outer scope (line 37) (redefined-outer-name)
[x] src/miniflask/state.py:225:12: W0621: Redefining name 'attr' from outer scope (line 4) (redefined-outer-name)

Module miniflask.miniflask

[x] src/miniflask/miniflask.py:440:13: W0143: Comparing against a callable, did you omit the parenthesis? (comparison-with-callable)
[x] src/miniflask/miniflask.py:452:11: W0143: Comparing against a callable, did you omit the parenthesis? (comparison-with-callable)
[x] src/miniflask/miniflask.py:503:87: W0640: Cell variable evt defined in loop (cell-var-from-loop)
[x] src/miniflask/miniflask.py:519:87: W0640: Cell variable glob defined in loop (cell-var-from-loop)
[x] src/miniflask/miniflask.py:594:8: C0200: Consider using enumerate instead of iterating with range and len (consider-using-enumerate)
[x] src/miniflask/miniflask.py:717:15: W0703: Catching too general exception Exception (broad-except)
[x] src/miniflask/miniflask.py:735:4: W0231: __init__ method from base class 'miniflask' is not called (super-init-not-called)
[x] src/miniflask/miniflask.py:758:26: W0621: Redefining name 'attr' from outer scope (line 11) (redefined-outer-name)

Module miniflask.modules.events

[x] src/miniflask/modules/events/__init__.py:57:0: R1721: Unnecessary use of a comprehension (unnecessary-comprehension)

Thanks. I will probably check it tomorrow morning.

Some Notes:

event.py:4 could be replaced by a single-value enum (the class is only used as a dummy-object)
event.py:8 the class is basically a struct, so this one is valid. Do you know of some better way to specify this?

event_obj can use a namedtuple

Added the last changes in #39, it would be nice if you can review and test the changes. Thanks!


Training slow for 10.4

hey,
are there some params changed for  training. During each epoch the one counter is increased (I don't know what this param is), see:
4561/4561 [==============================] - 4s 871us/step - loss: 2.0603 - acc: 0.3271
Epoch 2/300
4561/4561 [==============================] - 2s 495us/step - loss: 1.3117 - acc: 0.6060
Epoch 3/300
4561/4561 [==============================] - 2s 453us/step - loss: 0.7052 - acc: 0.8373

What is this numer 4561. This number was before update just about 200. How can I change it?

I mean this number 4561/4561 before this was justg about 200 and I changed nothing. I have no 4561 actions? Can you explain this more. How can I decrease it. This trakes much longer than before.

they're a number of unique story paths found pretty much. If you want it to be faster, try using --augmentation 0

@akelad Hmm, I already set it to 0! That is the strange thing?! It is same story file like before update and augmenation is 0.

What version were you using before? With 0.10.x we did a big refactor of core which improved story generation, that's probably why. 2s per epoch doesn't seem like an unreasonably long training time regardless

Yes, before 0.9.0 and now 10.4. Yes I saw the changelog. And this is now significantly slow. So, training seems now in general more slowly because of those changes as I used same data.  Does this arises from  changes under the hood which you cannot influence?

The strange thing is now that when using online learning for version 10.4 it is fast as before though using same data! Also same amount of unique actions were found!
For online training:
2018-09-05 13:00:38 INFO     rasa_core.featurizers  - Creating states and action examples from collected trackers (by MaxHistoryTrackerFeaturizer)...
Processed trackers: 100%|██████████████████████████████████████████| 1899/1899 [00:27<00:00, 69.35it/s, # actions=2270]
2018-09-05 13:01:06 INFO     rasa_core.featurizers  - Created 2270 action examples.
Processed actions: 2270it [00:00, 2884.61it/s, # examples=2236]
2018-09-05 13:01:07 INFO     rasa_core.policies.memoization  - Memorized 2236 unique action examples.
2018-09-05 13:01:07 INFO     rasa_core.featurizers  - Creating states and action examples from collected trackers (by MaxHistoryTrackerFeaturizer)...
Processed trackers: 100%|██████████████████████████████████████████| 1899/1899 [00:26<00:00, 71.11it/s, # actions=4823]
2018-09-05 13:01:33 INFO     rasa_core.featurizers  - Created 4823 action examples.
_________________________________________________________________
Layer (type)                 Output Shape              Param #
=================================================================
masking_1 (Masking)          (None, 5, 163)            0
_________________________________________________________________
lstm_1 (LSTM)                (None, 32)                25088
_________________________________________________________________
dense_1 (Dense)              (None, 31)                1023
_________________________________________________________________
activation_1 (Activation)    (None, 31)                0
=================================================================
Total params: 26,111
Trainable params: 26,111
Non-trainable params: 0
_________________________________________________________________
2018-09-05 13:01:35 INFO     rasa_core.policies.keras_policy  - Fitting model with 300 total samples and a validation split of 0.0
Epoch 1/200
2018-09-05 13:01:37.486686: I T:\src\github\tensorflow\tensorflow\core\platform\cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
300/300 [==============================] - 2s 7ms/step - loss: 3.4014 - acc: 0.0833
Epoch 2/200
300/300 [==============================] - 0s 290us/step - loss: 3.2457 - acc: 0.3167
Epoch 3/200
300/300 [==============================] - 0s 277us/step - loss: 3.0960 - acc: 0.3300

If you look carefully at your logs, you can see that for online training only 300 total samples are used, while for normal training - 5822 total samples, which explains the difference in time.
As to under the hood changes - yes we changed the way trackers are created from training stories and the way they are featurized. These changes can lead to increase of training time because we got rid of random subsampling of stories.
Since this is a discussion question, I'll close this issue. Please post this kind of questions on our forum: https://forum.rasa.com.


Allow ok/err/okAsync/errAsync to accept zero arguments when returning void

When implementing a function returning a result, it's often that I need to construct an Ok<void> object. However, it's not so ergonomic to do this. ok must be passed an argument, even if you explicitly specify the void type. This leads to passing a "dummy" value:
return ok<void>(undefined);

Meanwhile, in Promise-land, it's perfectly acceptable to call Promise.resolve() with no arguments, which returns a Promise<void>.
Interestingly, TS allows a parameter to be omitted if it has type void. However, this does not work if the type is generic and has been expanded to void or a union containing void. See https://github.com/Microsoft/TypeScript/issues/29131
This PR adds additional overloads for ok, err, okAsync and errAsync that separate out the case where the argument type is void. This allows the following to work as expected:
return ok<void>();
return ok();

Would really appreciate this being implemented!

Would really appreciate this being implemented!

Please help by providing a code review and hopefully we can get attention from the maintainers @supermacro @m-shaka. I'm using this in production and have considered forking, but this is already a fairly niche library and I hope we could maintain some kind of central community.

Thank you @supermacro @m-shaka for merging.
Would you consider reviewing another PR of mine, #588? It is adding a commonly requested feature including test coverage. I will appreciate any comment on whether this feature could be accepted.


update names

TiKV PR: https://github.com/pingcap/tikv/pull/3351

This PR is ready to merge. @LinuxGit


Error running docker-compose -f control-plane-beta.yaml up -d

After successful login, I get the following error while running  docker-compose -f control-plane-beta.yaml up -d
Pulling ingress (ghcr.io/softwareag/webmethods-api-control-plane/ingress:latest)...
ERROR: denied

The issue was with the access permission for the PAT used to the github packages.
After providing the proper access, and updating the docker-compose setup in the VM, the application started properly.


Feature/lp 233 email

JIRA link
https://companieshouse.atlassian.net/browse/LP-233
Change description
email page
Work checklist

[x] Tests added where applicable
[ ] UI changes look good on mobile
[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.

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found


✨ feat: add webhook change description

add webhook change description to webhook callback, follow up #533
based on #559

This logic is missing when live debug a webhook


fix bug of providing downloadable PDF with slidev

page.goto: Protocol error (Page.navigate): Cannot navigate to invalid URL
=========================== logs ===========================
navigating to "http://localhost:12445https://sensuikan1973.github.io/flutter-expensive-native-embedding-journey/print?print", waiting until "networkidle"
============================================================
    at go (/home/runner/work/flutter-expensive-native-embedding-journey/flutter-expensive-native-embedding-journey/slide/node_modules/@slidev/cli/dist/export-WKFHZNBT.js:83:16)
    at genPagePdf (/home/runner/work/flutter-expensive-native-embedding-journey/flutter-expensive-native-embedding-journey/slide/node_modules/@slidev/cli/dist/export-WKFHZNBT.js:103:11)
    at exportSlides (/home/runner/work/flutter-expensive-native-embedding-journey/flutter-expensive-native-embedding-journey/slide/node_modules/@slidev/cli/dist/export-WKFHZNBT.js:155:11)
    at async build (/home/runner/work/flutter-expensive-native-embedding-journey/flutter-expensive-native-embedding-journey/slide/node_modules/@slidev/cli/dist/build-LORHK7IB.js:741:5)
    at async Object.handler (/home/runner/work/flutter-expensive-native-embedding-journey/flutter-expensive-native-embedding-journey/slide/node_modules/@slidev/cli/dist/cli.js:199:5) {
  name: 'Error'
}


Minor changes in prepro and train_model_autoencoder.py for LSTM

Hi Wriju,
I have finished the module for LSTM-AE now. It is simpler than the conv AEs taking only input_shape and num_nodes as args. The functions in train_model_autoencoder.py can be directly applied to or extended for this model. I would include a code block for model_name=='lstmAE' in load_new_model() and set the conv specific args to None by default.
Also I in the prepro functions I want to include a new arg as_image=True to control if the output shape gets a channel dimension or not.
No existing code will run differently with the changes I have in mind.
Do you have any objections or comment?
Otherwise I will go ahead either later today or tomorrow.

Hi Niklas,
Good to know that the LSTMs are almost done! Please go ahead with the changes if you ensure nothing will break when trying to re-run.

Implemented and talked through, I believe ;)


fix: create disk with project-src=local

这个 PR 实现什么功能/修复什么问题:
避免创建的磁盘同步后到其他项目
是否需要 backport 到之前的 release 分支:

release/2.8.0

/area region
/cc @swordqiu @yousong

Codecov Report

Merging #2316 into master will increase coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #2316      +/-   ##
=========================================
+ Coverage    7.08%   7.08%   +<.01%
=========================================
  Files         452     452
  Lines       71359   71360       +1
=========================================
+ Hits         5057    5059       +2
  Misses      65885   65885
+ Partials      417     416       -1

Flag
Coverage Δ

#aFlag
7.08% <0%> (ø)
:arrow_up:

Impacted Files
Coverage Δ

pkg/compute/models/storages.go
1.18% <0%> (-0.01%)
:arrow_down:

pkg/util/seclib2/seclib.go
95.74% <0%> (+4.25%)
:arrow_up:

Continue to review full report at Codecov.

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

/approve
/lgtm


Broken link in Readme

In the project README, under "Info and examples from various projects:", this link is broken:

https://spring.io/guides/gs/routing-and-filtering/

Perhaps this is the new location?

https://cloud.spring.io/spring-cloud-netflix/multi/multi__router_and_filter_zuul.html

I can work on this. Could you assign it to me please @imnotpete ?

Hi @nerdynikhil! I'm not actually a member of the project, don't think I have rights here to assign it to anyone.

Sorry about that, Sam. My bad.


Go Live [June 30]

Push to live

Docs Build status updates of commit 4e4fed2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/TOC.yml
:white_check_mark:Succeeded
View

msteams-platform/apps-in-teams-meetings/create-apps-for-teams-meetings.md
:white_check_mark:Succeeded
View

msteams-platform/assets/images/tabs/people-picker-control-capability.png
:white_check_mark:Succeeded
View

msteams-platform/concepts/device-capabilities/device-capabilities-overview.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/device-capabilities/location-capability.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/device-capabilities/mobile-camera-image-permissions.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/device-capabilities/native-device-permissions.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/device-capabilities/people-picker-capability.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/device-capabilities/qr-barcode-scanner-capability.md
:white_check_mark:Succeeded
View

msteams-platform/whats-new.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Support Requirement for Multiple Favicons

Given that there are different requirements for all environments (Apple mobile, Windows, windows mobile etc.) is it possible to either a) document the best way to handle this in Express/serve-favicon or b) update the module to handle this use case.
The best (most robust) mark-up seems to be:
<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png">
<link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png">
<link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png">
<link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png">
<link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png">
<link rel="icon" type="image/png" href="/favicon-192x192.png" sizes="192x192">
<link rel="icon" type="image/png" href="/favicon-160x160.png" sizes="160x160">
<link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
<meta name="msapplication-TileColor" content="#60000c">

It's currently unclear if all of these icons will resolve based on serve-favicon alone and I'm pretty sure that a solution could be arranged using static, it would be great if there's a way to configure serve-favicon so that it's readily apparent that paths to all of these files were made available via serve-favicon.
Ready to help in any way that I can.

So, this module only caters to the favicon case that does not require any HTML markup. The main reason is that all browsers will _unconditionally_make a request for /favicon.ico, unlike the other ones listed above and that /favicon.ico requires a different Content-Type than what a .ico file is served with, making serving favicon.ico unreliable when using a static file server.
For what you listed above, why not just places all those in a directory and use something like serve-static?

I agree that this is a sensible solution, but I think that at least speaking to it in docs may be worthwhile.  While the Express core team knows this very well I suspect that I'm not the only one who tripped // will trip over this.

It's no problem. If you have anything specific in mind, I'll always gladly take a PR, even doc changes :)

Submitted. :)


Infinite requests to the /connect/userinfo endpoint

Issue / Steps to reproduce the problem
We have identityserver4 in out authorization server and oidc-client.js on the web client. We use the implicit flow, we have enabled a silent refresh on the client. We have this configuration for quite some time.
For some time we have been observing a strange issue on production. For some users, we have about 70 requests to /connect/userinfo within a second in our access logs.
All requests return 200, with payload about 550B
most of the problematic clients are using Chrome
We checked the configuration for the tokens expiration time and when to renew. Everything seems to be as expected.
Here are our relevant configs:
the client configuration on the server:
IdentityTokenLifetime = 300,
AccessTokenLifetime = 3600,
UpdateAccessTokenClaimsOnRefresh = true,
the oidcManager configuration on the client:
automaticSilentRenew: true,
accessTokenExpiringNotificationTime: 60,
silentRequestTimeout: 50000,
We can't reproduce this on a local dev machine. What might be the reason for such behavior? Any help about where to look for clues will be highly appreciated.
Thanks

Check your logs to identify which client and look into why it's doing that. That is a legal type of request, so the fact that it's calling many many times seems like a client coding problem.

Thanks a lot for taking the time to respond. Just to let you know that I have found a possible cause and it doesn't seem to be directly related to the oidc-client library but I have to dig a little bit more.
I'll let you know if I come across something related to your lib. Thanks.

Any update on the issue? closing for now - feel free to re-open if it needs further discussion.


chore: fix social media links in relicansData

Description
Someone let me know that my social media information was incorrect on the Relicans page. Looks like my Twitter and Twitch usernames were swapped, so I've corrected them! No code changes, but you should now actually find me when you click on the Twitch and Twitter links from /relicans.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Should ListView/GridView return to first page when sort changes

I have noticed that I can be on page 3 of ListView but when I change the sort it remains on page 3. Logically you would expect it to return to page 1 since page 3 of a new sort is not very useful to the end user.
Should it be changed to go from page 1 when sort changes?

+1. This would come in handy.

@Sammaye you can extend the \yii\data\Sort class and edit this method. https://github.com/yiisoft/yii2/blob/master/framework/data/Sort.php#L335
what you want would be as simple as adding this line on line 340
unset($params['page']) assuming that your page attribute is 'page'

staying on the same page (depth) is not really logical, as this is related to another sort criterium. This is room for improvement. @Sammaye, @Faryshta , do you have ideas for a PR?

It's been so long I cannot even remember the file that deals with this, I think it is Pagination.php or something

Any news on this?

No.


Operator: client deploy, update and delete

Quobyte kubernetes operator for client setup:
Currently the operator works under "quobyte" namespace. So all the required definitions of resources should be deployed with "quobyte" namespace.
This version of operator can install the client with QuobyteClient resource. (see examples/)
To update the client setup, change the QuobyteClient definition and update QuobyteClient definition with kubectl -f apply <client.yaml>
To remove the client setup, delete the QuobyteClient definition with kubectl -f delete <client.yaml>

By default go build doesn't pull the required repositories. An additional glide package manager command can pull the required packages.
Shall these packages removed and required command added to README?

yes please. just upload the minimal set of files and the commands to set up your build environment.


Changelogs for releases

Are there any plans to publish changelogs for the releases?
I have a project depending on Promises, and it's second time I inspect changes commit-by-commit to understand what's changed between versions. Quick summary of important changes (such as operator renames for 1.1.0) would be much appreciated.

Didn't expect to have such a rapid response, wow. Many thanks!


tools: fixup the wireshark lua packet dissector heuristic filter

This fixes #4598  where the first SCION packet in a capture is never dissected as a SCION packet.
The filter function is (only) called on the first packet of the conversation (4-tuple) since we set the dissector for the conversation.
To also dissect the initial packet of a conversation for which a heuristic dissector function is registered, the dissector has to be called explicitly at the end of the filter function when a packet matches.
From the docs:
https://www.wireshark.org/docs/wsdg_html/#lua_fn_proto_register_heuristic_listname__func_

The function should perform as much verification as possible to ensure
the payload is for it, and dissect the packet (including setting TreeItem info and such) only if the payload is for it, before returning true or false.

Also look at the comments there:
https://github.com/wireshark/wireshark/blob/master/test/lua/dissector.lua#L523 https://github.com/wireshark/wireshark/blob/afff4e02/test/lua/dissector.lua#L523

This change is

Closed #4598


Set Variable Addition not working

Describe the bug
While trying to make a choice add a number to a variable using the 'Set Variable + to itself plus str true'
it does not work. I changed the value from string to bool to float to expression, yet none of them work, instead causing my timeline to crash when reaching beyond that point.
To Reproduce
Steps to reproduce the behavior:
Create a choice, add a set variable node within the choice, change '= to be' to '+ to itself plus', choose string, and 1 or true
Same error for float or bool
Expected behavior
I expected the base variable to be expanded by one integer.
System (please complete the following information):

OS: MacOS
Godot Version: 4.2
Dialogic Version: 2.0 Alpha

Solutions
Workaround
I have tried changing the float to string bool variable and expression, but it still didn't work
Possible fixes
According to the code its a problem in is subsystem_expression.gd:38 @executablestring(): Invalid operands to operator ==, float, and String

Could you be more specific in what dialogic version you are using? There are about 13 different dialogic 2 alpha versions.

Thank you for responding! Its Dialogic 2.0 Alpha-13

Hmm, I cannot recreate this. Here is my test setup:

Emilio: This is a cool timeline. {counter}, {Player.intelligence}
- yepe
	set {Player.intelligence} += "true"
	set {counter} += "hello"
- nope
	set {Player.intelligence} += "2"
	set {counter} += 4
jump

-> {counter} is setup either as INT or FLOAT and defaults to 10
-> {Player.intelligence} is setup as STRING, but defaults to "10"
The first choice doesn't change the value but also doesn't crash my game
The second one correctly changes both values.
Am I misunderstanding something?

Try adding an "if" command that only applies when the variable meets a certain point? I am not quite sure how my bug works, but it could be a problem with how the IF statement works after the variable change? Im sorry for my confusion and miscommunication but I am not an expert in this.

I


Sunmi kiosk k2 print not working

Dear team, I have problem printing with kiosk model k2 and i don't get the issue printing error too but it print not work

hi, can you give me more information about ? if the start to bind or if you can run the example inside de package. @Kimsoer

Hello brasizza. Thank your fast reply me, I download your example project then add the library to yaml file then run to test it

dependencies:
flutter:
sdk: flutter
The following adds the Cupertino Icons font to your application.
Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2
sunmi_printer_plus: ^2.1.1
esc_pos_utils: ^1.1.0

Can you send me any useful log from your vscode to check if the printer was bonded correctly?

If you clone the project and run the app inside the example folder
You don't need to add any other package, just run and click in each button to try it

If you clone the project and run the app inside the example folder You don't need to add any other package, just run and click in each button to try it

Yes i try to clone inside direct without add any package it still not work too.

Can you send me any useful log from your vscode to check if the printer was bonded correctly?

what the problem when i print it not return any issue but it not print working

can you copy the output from your console in some gist and then send me ?
i have a K2 and a K2 mini here using 100% with this package and its very very well

Start running log :
D/mali_winsys( 5643): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
I/Gralloc: Got handle 5 for fd 87
I/Gralloc: leave, w : 53, h : 426, format : 0x1,internal_format : 0x1, usage : 0xb00. size=109056,pixel_stride=64,byte_stride=256
I/Gralloc: leave: prime_fd=87,share_attr_fd=88
I/Gralloc: Got handle 6 for fd 93
I/Gralloc: leave, w : 53, h : 426, format : 0x1,internal_format : 0x1, usage : 0xb00. size=109056,pixel_stride=64,byte_stride=256
I/Gralloc: leave: prime_fd=93,share_attr_fd=94
I/Gralloc: Got handle 7 for fd 95
I/Gralloc: leave, w : 1862, h : 1080, format : 0x1,internal_format : 0x1, usage : 0xb00. size=8087040,pixel_stride=1872,byte_stride=7488
I/Gralloc: leave: prime_fd=95,share_attr_fd=96
I/Gralloc: Got handle 8 for fd 98
I/Gralloc: leave, w : 1862, h : 1080, format : 0x1,internal_format : 0x1, usage : 0xb00. size=8087040,pixel_stride=1872,byte_stride=7488
I/Gralloc: leave: prime_fd=98,share_attr_fd=99
I/art     ( 5643): Debugger is no longer active
I/art     ( 5643): Starting a blocking GC Instrumentation

Click print Large font
I/Gralloc: Got handle 6 for fd 88
I/Gralloc: leave, w : 1862, h : 1080, format : 0x1,internal_format : 0x1, usage : 0xb00. size=8087040,pixel_stride=1872,byte_stride=7488
I/Gralloc: leave: prime_fd=88,share_attr_fd=91

Hello @brasizza  , thank so much for  your support ! here is my flow test log
Testing print log for print Large font bellow :
ElevatedButton(
onPressed: () async {
try {
await SunmiPrinter.initPrinter().then((value) {
print("init=> $value");
});
await SunmiPrinter.printText('Large font', style: SunmiStyle(fontSize: SunmiFontSize.LG));
print("getPrinterStatusWithVerbose => ${await SunmiPrinter.getPrinterStatusWithVerbose()}");
print("getPrinterStatus=> ${await SunmiPrinter.getPrinterStatus()}");
print("getPrinterMode=> ${await SunmiPrinter.getPrinterMode()}");
await SunmiPrinter.lineWrap(2);
await SunmiPrinter.exitTransactionPrint(true);
} catch (error) {
print("object=> ${error.toString()}");
}
},
child: const Text('Large font')),
The result of login print
Syncing files to device K2...
Reloaded 1 of 1071 libraries in 1,115ms (compile: 22 ms, reload: 517 ms, reassemble: 513 ms).
I/flutter ( 5877): init=> true
I/flutter ( 5877): getPrinterStatusWithVerbose => No printer had been detected
I/flutter ( 5877): getPrinterStatus=> PrinterStatus.NO_PRINTER_DETECTED
I/flutter ( 5877): getPrinterMode=> PrinterMode.UNKNOWN
Result image :

This log from android logger
2023-09-13 13:36:57.539  2123-2174  Finsky                  com.android.vending                  I  [131] nht.run(168): Stats for Executor: LightweightExecutor nro@3a5d7f6[Running, pool size = 4, active threads = 0, queued tasks = 0, completed tasks = 311]
2023-09-13 13:36:57.852  2123-2174  Finsky                  com.android.vending                  I  [131] nht.run(168): Stats for Executor: bgExecutor nro@3ae17f7[Running, pool size = 4, active threads = 0, queued tasks = 0, completed tasks = 1210]
2023-09-13 13:37:06.267   942-6675  AlarmManager            com.google.android.gms.persistent    I  setExactAndAllowWhileIdle [name: GCM_HB_ALARM type: 2 triggerAtMillis: 6762132]
2023-09-13 13:37:06.281   942-6675  WakeLock                com.google.android.gms.persistent    E  GCM_HB_ALARM should be held!
2023-09-13 13:37:06.282   942-6675  WakeLock                com.google.android.gms.persistent    E  GCM_WORK should be held!
2023-09-13 13:37:06.343   942-1618  WakeLock                com.google.android.gms.persistent    E  GCM_READ should be held!
2023-09-13 13:37:06.349   942-5671  AlarmManager            com.google.android.gms.persistent    I  setExactAndAllowWhileIdle [name: GCM_HB_ALARM type: 2 triggerAtMillis: 7532214]
2023-09-13 13:37:06.354   942-5671  WakeLock                com.google.android.gms.persistent    E  GCM_WORK should be held!
2023-09-13 13:37:15.359  1050-1050  com.sunmi....MqttClient com.sunmi.baseservice                I  [ (MqttClient.java:774)#OnReceive ] alarm receive type: 2
2023-09-13 13:37:15.366  1050-3551  com.sunmi....MqttClient com.sunmi.baseservice                I  [ (MqttClient.java:883)#OperationComplete ] send ping req success
2023-09-13 13:37:15.368  1050-3551  com.sunmi....MqttClient com.sunmi.baseservice                I  [ (MqttClient.java:891)#OperationComplete ] add ping timeout future ScheduledFutureTask@85eb9ba(incomplete, task: Callable(task: com.sunmi.mqtt.MqttClient$PingTimeoutRunnable@cc7f06b, result: null), id: 124, deadline:<PHONE_NUMBER>488, period: 0)
2023-09-13 13:37:15.719  1050-3551  com.sunmi....nelHandler com.sunmi.baseservice                I  [ (MqttChannelHandler.java:93)#ChannelRead0 ] mqtt ping resp !
2023-09-13 13:37:15.723  1050-3551  com.sunmi....MqttClient com.sunmi.baseservice                I  [ (MqttClient.java:858)#CancelPingTimeoutFuture ] cancel ping timeout future, current future: ScheduledFutureTask@85eb9ba(incomplete, task: Callable(task: com.sunmi.mqtt.MqttClient$PingTimeoutRunnable@cc7f06b, result: null), id: 124, deadline:<PHONE_NUMBER>488, period: 0)
2023-09-13 13:37:15.727  1050-3551  com.sunmi....MqttClient com.sunmi.baseservice                I  [ (MqttClient.java:845)#SchedulePing ] schedule ping ,cancel last alarm :
2023-09-13 13:37:15.736  1050-3551  com.sunmi....MqttClient com.sunmi.baseservice                I  [ (MqttClient.java:854)#SchedulePing ] add ping alarm 60
2023-09-13 13:38:15.736  1050-1050  com.sunmi....MqttClient com.sunmi.baseservice                I  [ (MqttClient.java:774)#OnReceive ] alarm receive type: 2
2023-09-13 13:38:15.742  1050-3551  com.sunmi....MqttClient com.sunmi.baseservice                I  [ (MqttClient.java:883)#OperationComplete ] send ping req success
2023-09-13 13:38:15.744  1050-3551  com.sunmi....MqttClient com.sunmi.baseservice                I  [ (MqttClient.java:891)#OperationComplete ] add ping timeout future ScheduledFutureTask@2341061(incomplete, task: Callable(task: com.sunmi.mqtt.MqttClient$PingTimeoutRunnable@92eb786, result: null), id: 125, deadline:<PHONE_NUMBER>763, period: 0)
2023-09-13 13:38:16.095  1050-3551  com.sunmi....nelHandler com.sunmi.baseservice                I  [ (MqttChannelHandler.java:93)#ChannelRead0 ] mqtt ping resp !
2023-09-13 13:38:16.098  1050-3551  com.sunmi....MqttClient com.sunmi.baseservice                I  [ (MqttClient.java:858)#CancelPingTimeoutFuture ] cancel ping timeout future, current future: ScheduledFutureTask@2341061(incomplete, task: Callable(task: com.sunmi.mqtt.MqttClient$PingTimeoutRunnable@92eb786, result: null), id: 125, deadline:<PHONE_NUMBER>763, period: 0)
2023-09-13 13:38:16.101  1050-3551  com.sunmi....MqttClient com.sunmi.baseservice                I  [ (MqttClient.java:845)#SchedulePing ] schedule ping ,cancel last alarm :
2023-09-13 13:38:16.109  1050-3551  com.sunmi....MqttClient com.sunmi.baseservice                I  [ (MqttClient.java:854)#SchedulePing ] add ping alarm 60

I didn't see this in your code
await SunmiPrinter.initPrinter();
await SunmiPrinter.startTransactionPrint(true);
You have the exit but you need to start the transaction before @Kimsoer

but other print command like Very Large font, it also have :
await SunmiPrinter.initPrinter();
await SunmiPrinter.startTransactionPrint(true);
it not working too

Hello @brasizza , As I add it line of code, it still the same issue

Add me on discord , do you have it?
Its @brasizza

Hello @brasizza , I already add to you, thank you so much here is mine : @kimsoer#2111


Fixing fwdlink

@sachinma,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


api level 16 checkbox exception

I get "android.view.InflateException: Binary XML file line #99: Error inflating class com.gc.materialdesign.views.CheckBox" when I use a CheckBox in the emulator with API level 16. This error is caused by: "java.lang.NoSuchMethodError: android.view.View.generateViewId". Has anybody faced this issue as well? I tried it on api 19 and worked perfectly. I would appreciate some help to solve this issue.

There's one right here.
https://github.com/navasmdc/MaterialDesignLibrary/issues/299
The only solution that I can think of is using another library for the checkbox.

I have the same problem, the description of library say that is compatible since android 2.2(api 8)

I just delete “checkView.setId(View.generateViewId());” at line 77  com.gc.materialdesign.views.CheckBox#setAttributes. It works now.

I just delete "checkView.setId(View.generateViewId());"
at com.gc.materialdesign.views.CheckBox#setAttributes line 75
and it works for me.


Evaluating archive usage

We want to know if the following change has improved the user experience
New archive navigation facility (5476)
Definition of success is
People are actually using the navigation and viewing works.
We'll know if we're succeeding if we measure the following metric and this happens
Numbers of users viewing works pages by clicking through archive trees. (In Kibana: event = Search result selected; data.source = archive or data.worktype = archives and manuscripts)
Definition of failure is
No one is viewing works pages by clicking through archive trees.
Analysis will cover period from 1/8/20 to 23/11/20.

@alicerichmond here is the current archives ticket.
The deadline for this work being Friday 29/1, not 22/1...

@alicerichmond here is the current archives ticket.
The deadline for this work being Friday 29/1, not 22/1...

Although the archive tree search facility was built during November 2020, the field by which analysis could be conducted was not deployed until 21/1/21.
Even so, the dashboard below shows that during 21-28/1/21, the archive tree navigation is not only being used but there is a steady but small number of users who are clicking multiple times on the tree.

The report is in Sharepoint:
https://wellcomecloud.sharepoint.com/:w:/r/sites/wcdigitalexperience/_layouts/15/Doc.aspx?sourcedoc={EC576373-2FA4-47FF-9B6D-05458BB9FEFF}&file=5815 Evaluating archive usage.docx&action=default&mobileredirect=true

Here's a link to the Kibana dashboard:
https://reporting.wellcomecollection.org/s/search/app/dashboards#/view/89b95fe0-6174-11eb-81f0-cfa2d1964087?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:'2021-01-12T00:00:00.000Z',to:'2021-01-29T00:00:00.000Z'))&_a=(description:'',filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),query:(language:kuery,query:''),timeRestore:!f,title:'Conversion%20dashboard%20(archive%20focus)',viewMode:view)


#7921 Update some python packages to support python 3.12

This MR updates some python dependencies to allow build/run with python3.12, as shipped in Ubuntu LTS 24.04

running some more actions
should check that we're in the clear then merge

cc: @TT-billteng olof took the time to upgrade some stuff for us for python 3.12

thanks @olofj !


Function coverage

Checking a basic improving to test_imaging to see if coverage is increased

Nice additions to the test files!